Calibrates a Nous.Eval.Scorers.Judge configuration against human labels
(see Nous.Eval.JudgeCalibration).
mix nous.eval.judge.calibrate --judge openai:gpt-4o-2024-08-06 \
--dataset priv/eval/judge_cases.jsonl --rubric-file priv/eval/rubric.mdReplays the dataset's stored outputs through the judge (no agent runs),
prints agreement, Cohen's κ (quadratic-weighted for Likert scales), the
confusion matrix, the false-pass rate and the judge error rate on the
holdout split, and stores the result in an eval store under the judge's
fingerprint id. A judge configured with require_calibration: looks it up
there.
The judge options here must match the judge's options in your eval (rubric, scale, threshold, include, seed): any difference is another fingerprint, and the stored calibration does not apply to it.
Options
--judge MODEL- the judge model,provider:model(required)--dataset PATH- anous.judge_case/1JSONL file (required)--scale SCALE-binary(default),ternary,ternary:PARTIAL,likert:MIN:MAX,choices:A=1.0,B=0.4,C=0, or the dataset-file JSON form ({"likert": {"min": 1, "max": 5, "labels": {...}}})--threshold X- the pass threshold (required for non-binary scales)--rubric-file PATH- the rubric text (default: the judge's default rubric)--include ITEMS- comma-separated:input,output,reference,expected(defaultinput,output)--seed N- the judge's seed--concurrency N- judge calls in flight (default 4)--store SPEC-file:DIR(defaultfile:.nous/eval, the store the othermix nous.eval*tasks use),sqlite:PATHorduckdb:PATH--format FORMAT-console(default) orjson(the stored record)
Exits with status 2 on an operational error (bad arguments, unreadable dataset, invalid judge options, store failure).