Skip to main content

run_value

Function run_value 

Source
pub fn run_value(run: &EvalRun, field: &str) -> Option<f64>
Expand description

The value a metric field takes on one run. failed/passed/total are promoted so a metric can be written against any evalset without the host having to add fields; error_rate is derived (undefined, not zero, when no case ran); anything else is read from the summary the host did write. The proposal-time baseline and every later measurement go through this one reader, so a rule cannot be admitted on one reading of a run and judged on another.