compute_verdict

Function compute_verdict 

Source
pub fn compute_verdict(
    experiment: &str,
    results: &[EvalRunResult],
) -> ExperimentVerdict
Expand description

Compute the verdict from a set of eval run results (DW-086). Each result is one variant’s eval run. The variant with the highest pass rate wins; on a tie, the lowest average latency wins; on a full tie (same pass rate AND same latency), the verdict is a tie (winner = None).