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); the cost fields (COST_FIELDS) read the integer cost keys
fail-closed, with cost_per_pass undefined — not zero, not a division —
when nothing passed; 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.