mix nous.eval.compare (nous v0.21.1)

Copy Markdown View Source

Compares a candidate eval run with a baseline run from the store (Nous.Eval.Compare) and prints the comparison.

mix nous.eval.compare baseline:main 20261101t153012z-1a2b3c4d
mix nous.eval.compare RUN_A RUN_B --gate pass_rate,scorer:trajectory --margin 0.02

RUN_A is the baseline and RUN_B the candidate; each is a run id or baseline:LABEL (the run a baseline label points at).

Options

  • --store SPEC - file:DIR (default file:.nous/eval), sqlite:PATH or duckdb:PATH
  • --gate METRICS - comma-separated gate metrics: pass_rate (default), case_score, scorer:NAME
  • --margin F - tolerated drop, in [0, 1) (default 0.0)
  • --max-error-rate F - tolerated share of :error samples in the candidate, in [0, 1) (default 0.0)
  • --allow-dataset-change - compare runs of different datasets on their common case ids
  • --task MODULE - the task the runs came from, for the per-tag breakdown (optional)
  • --format FORMAT - console (default), markdown or json
  • --output PATH - write the report there instead of printing it

Exit status

0 when the candidate passes the gate, 1 on a regression, 2 on an operational error: bad arguments, a run or label not found, runs of different datasets without --allow-dataset-change, a candidate that was aborted, exhausted its budget or has more scorer errors than --max-error-rate, or a comparison that cannot decide (see Mix.Tasks.Nous.Eval).