Skip to content

feat(rig-evals): show the LlmJudge pass cutoff in reports - #83

Merged
pingedbrain merged 3 commits into
mainfrom
feat-evals-judge-cutoff
Nov 29, 2026
Merged

pingedbrain merged 3 commits into
mainfrom
feat-evals-judge-cutoff

Conversation

@pingedbrain

@pingedbrain pingedbrain commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

What

Reports show the pass cutoff of an `LlmJudge`: the threshold a score must reach to pass. Markdown gets a "Pass cutoff" column, and the JSON summary of each evaluator gets `pass_cutoff`. Only evaluators with a cutoff show one.

Why

A reader saw judge scores but not what counted as a pass. The "Min pass rate" column is the experiment's threshold on pass rates, not a score cutoff.

How

  • `Evaluator::pass_cutoff` is a provided method returning `None`. `LlmJudge` returns its threshold. `Named` forwards it.
  • `EvaluatorSummary` (non-exhaustive) gets `pass_cutoff: Option`, with serde default and skip when none. Old reports still load.
  • The Markdown column appears only when some evaluator has a cutoff. Other rows show "-".
  • No breaking change: a provided trait method and a field on a non-exhaustive struct. `Report::new` is crate-private.

Verified

  • `cargo fmt --all`, `cargo clippy -p rig-evals --all-targets --all-features -- -D warnings`, `cargo test -p rig-evals --all-features`, `RUSTDOCFLAGS=-Dwarnings cargo doc -p rig-evals --no-deps --all-features`: all pass.
  • New test `judge::the_report_shows_the_pass_cutoff_of_judges_only` covers the trait method, `named`, the Markdown column and the JSON field, and the no-judge case.
  • Not covered: the AgentCore evaluator also has a threshold; it is not shown here.

@pingedbrain
pingedbrain enabled auto-merge (squash) November 29, 2026 02:16
@pingedbrain
pingedbrain merged commit 1f8459d into main Nov 29, 2026
9 checks passed
@pingedbrain
pingedbrain deleted the feat-evals-judge-cutoff branch November 29, 2026 02:27
@pingedbrain pingedbrain mentioned this pull request Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant