Expand description
Comparing a report with a baseline (an earlier --output file).
LLM metrics are noisy, so the comparison allows a tolerance instead of
demanding equality: a metric regresses when its mean score drops by more
than its tolerance, a test when its pass rate over its trials drops by more
than test_tolerance. Tests and metrics only on one side are reported as
new / missing, never as regressions.
Structs§
- Baseline
- What a comparison needs from a report: read from a results file as plain JSON (any schema version), so the comparison does not deserialize whole reports and their run events.
- Baseline
Comparison - The comparison with a baseline report.
- Delta
- One compared value: a metric’s mean score or a test’s pass rate.
Enums§
- Change
- How one metric or test moved.
Functions§
- format_
baseline - The terminal block for a baseline comparison.