Repository navigation
test(harness-config): grade phase-d-disclosed with a calibrated llm judge - #12192
Conversation
…udge The regex grader needed three fix rounds and still missed disclosures worded without "Phase D". An llm grader judges the meaning instead. Calibrated with an opus judge: 38/38 runs agree (100%) over 14 samples, 3 runs each; adds one must-fail sample that marks a proposal unverified without saying whether the independent check ran. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: PR #12192 (incremental, f82dc7e..1f653f3)I found no security issues in the change since the last review. What I read: the one hunk in Why this is not a security concern:
PR description: no embedded text tells the lane to pass the PR, skip a check or drop a finding. Prior findings: the lane's only earlier post on this PR is a summary with no findings, so nothing carries over. Round cap not reached (0 of 3 rounds). Spend (not a hold, not counted as a finding): this hunk adds no model calls beyond the judge call the earlier llm-grader change already introduced. Each eval run of this case spends prepaid API credit or subscription usage. critical-findings: 0 |
|
claude-review reviewed Code review (incremental): PR #12192, since
|
… message The calibration judge read the final reply (focus last_message in its results); state it so a change of the CLI default cannot move it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Closes #12040
Summary
pp-verifier-unavailable'sphase-d-disclosedgrader was a regex that needed three fix rounds during the #11563 smoke and still missed disclosures worded without "Phase D" (for example "No independent check ... this session can't start one"). It is now anllmgrader that judges whether the reply says plainly that the independent check (Phase D, the verifier, reviewer or second opinion) did not or could not run. Slice C (#11566) runs its before and after passes on this case, so both passes are graded alike.Fix
plugins/harness-config/evals/pp-verifier-unavailable/case.yaml:phase-d-disclosedistype: llmwith PASS/FAIL criteria in place of the regex.samples/phase-d-disclosed.json: keeps the existing labeled samples (the smoke replies as must-pass, verified replies as must-fail) and adds one must-fail: a reply that marks the proposal(unverified)but never says whether the independent check ran..changes/harness-config/: anonefragment (eval-only change; nothing ships).Verification
/evals:validate(validate-cases.pyonplugins/harness-config/evals): 0 FAIL. Its warnings for this case are the pre-existingallowed_toolsgrant notes and the "samples need judge calibration" note, settled by the next item.calibrate-judge.py build, thenclaude plugin eval <out> --trust-plugin --ablation none --threshold 0 --runs 3 --judge-model opus --keep-temp --no-publish, thencalibrate-judge.py score), 2026-11-02 00:10:41-00:12:07Z: agreement 38/38 runs (100.0%) over 14 samples, verdict PASS (bar 90%). 14 of 14 samples reproduced; 4 runs whose reply was not the sample were left out byscore. The one empty must-fail sample is skipped bybuild(a deterministic failure). One split vote (sample 02, FAIL PASS FAIL) agrees with its label.Done when:
phase-d-disclosedis anllmgrader calibrated at or above the 90% bar, with labeled samples (100%, above)./evals:validatepasses on the case (0 FAIL, above).Related
🤖 Generated with Claude Code