pub struct RunnerMetricSample {
pub evaluator_name: String,
pub scores: Vec<f64>,
pub mean: f64,
pub std_dev: f64,
}Expand description
Aggregated per-(case, evaluator) sample surfaced by
EvalRunner::with_num_runs. std_dev over the samples quantifies judge
non-determinism (research §R-013).
Fields§
§evaluator_name: StringName of the evaluator.
scores: Vec<f64>Per-run raw scores in run-order.
mean: f64Mean of scores.
std_dev: f64Population standard deviation of scores. 0.0 for a single sample.
Trait Implementations§
Source§impl Clone for RunnerMetricSample
impl Clone for RunnerMetricSample
Source§fn clone(&self) -> RunnerMetricSample
fn clone(&self) -> RunnerMetricSample
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RunnerMetricSample
impl Debug for RunnerMetricSample
Source§impl<'de> Deserialize<'de> for RunnerMetricSample
impl<'de> Deserialize<'de> for RunnerMetricSample
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RunnerMetricSample
impl RefUnwindSafe for RunnerMetricSample
impl Send for RunnerMetricSample
impl Sync for RunnerMetricSample
impl Unpin for RunnerMetricSample
impl UnsafeUnpin for RunnerMetricSample
impl UnwindSafe for RunnerMetricSample
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more