Repository navigation
test(evals): restore sole-check reply cases with regex graders - #18580
Conversation
Restore ten eval cases the 2026-11-23 pruning sweep deleted, each the only check of a behavior visible in the reply text. Their uncalibrated judge graders are replaced with deterministic regex graders on the last message, each with pass and fail samples. Plugins: review (5 council cases), corrections, discipline, session-flow, fleet, architecture. Changelog fragments are bump: none. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7LPUb4rRDJ2JhJRGZf
Codex Review Summary: ✅ CompletedThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f9c297a2da
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
claude-security-review reviewed Security review: incremental,
|
|
claude-review reviewed Code review (incremental, blocking only)I reviewed the 2 files this push changed since The push applies the fix from the last review's one blocking finding (
I checked the new pattern by hand against every sample in the file. I ran nothing.
So the earlier regression is fixed, and the correct replies that reject the fold still pass. Nothing blocking is left in this push. Spend (prepaid, not a hold): this push adds no runs and leaves the case's turn and time limits unchanged. Loosened checks: this grader is still a new check against base, so nothing is loosened. Loosened checks would be marked: fail. That is the default, because the prompt had no verdict or patterns lines; patterns: 0. The prompt had no decision-record line, so I did not check the citation requirement. No closing issue: the PR context has no closing-issue sections. The pushed files contain no embedded directives. This push changes no plugin manifests. Verifier dropped 0 of 0 candidates. |
fix-consumes now needs the round file named as what fix reads in the same clause, so "fix skips council-r1" no longer passes on token presence. first-question-on-tax reads only the question sentence, so a tax mention in the plan above a mail-sender question fails. Each has new fail samples. The spell-check failures in a grader pattern and a sample are reworded. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7LPUb4rRDJ2JhJRGZf
…l replies Add negation and counterfactual guards to the not_contains graders (not-all-three-one-tree, defaults-not-inherited, pin-not-applied, run-file-not-findings, not-whole-branch) so correct replies that name and reject a wrong behavior pass. round-two-scope now requires where the marks land (run file, -council.md or a Marks section) instead of the bare word the prompt already holds. Each review example is added as a sample. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7LPUb4rRDJ2JhJRGZf
The fold and folding lookbehinds let the exact wrong reply this grader
targets pass ("I'll fold all three into one tree"). Only the negated forms
are guarded now, and both wrong replies are fail samples.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UJUn7LPUb4rRDJ2JhJRGZf
Refs: #18529
Summary
Restores ten eval cases that the 2026-11-23 pruning sweep deleted. Each one was an uncalibrated LLM-judged case and the only check of a behavior that shows up only in the model's reply text. As the owner decided in melodic-software/architecture#211 (row "Eval policy follow-ups after the case pruning"), each judge is replaced with deterministic regex graders on
last_message. The graders tolerate rewording: they use alternations, theiflag and negation-aware lookbehinds. No skill text changes.Fix
regex,last_message)council-claude-effort-passedeffort-passed(sonnet + effort max + brief-reviewer + passed at dispatch);pin-not-applied(not_contains: runs on opus/high, effort ignored)council-default-paneldefault-panel(three members correctness/design/adversarial, opus, brief-reviewer, one round, scores off);no-other-model(not_contains: runs on fable/sonnet/haiku, nothing runs)council-fable-frontierfable-frontier(top on fable, frontier, correctness/design on opus);defaults-not-inherited(not_contains: all three on fable, inherits the session model)council-fix-consumes-round-filefix-consumes(council-r1 + review-findings + council-run);run-file-not-findings(not_contains: both read as findings, needs conversion)council-two-rounds-scoresround-two-scope(fix before/after diff, Not applied rows, run file / Marks, unbuilt or untested, /verification:confirm);not-whole-branch(not_contains: re-reviews whole branch, marks gate/rank/stop)codify-escaped-defect-names-missing-contextnames-missing-pricing-rules;missing-context-beside-rung(missing-context phrasing within 600 characters of "rung");fixes-unloaded-rule-where-it-livespfp-coupling-pricedcoupling-costs-named(abandonment, pricing, license, security, exit cost);research-not-recall(routes to research and withholds the verdict)or-catch-up-over-cap-keeps-every-itemopens-with-seven-needs-you,every-action-item-listed,no-item-folded-into-count(not_contains),items-carry-recommendation(7 or more),items-carry-if-unanswered(7 or more),what-happened-stays-short(first action item within 2,000 characters of "What happened"),no-video-offer(not_contains)reach-same-repo-session-picks-lanenames-both-lane-routes(peer tools + R1/Windows lane + lane);no-ssh-on-this-machine(not_contains: ssh to lap-01/desk-01)deepening-dependent-candidates-one-treepair-is-one-tree,tax-module-first,mail-sender-own-fork,not-all-three-one-tree(not_contains),first-question-on-taxEvery grader has a
samples/<grader>.jsonfile with pass and fail answers: paraphrases, near misses, an empty reply and an answer to a different question. No case was left deleted: a regex could check each of the ten behaviors. Three graders only approximate what the judge checked, and a reviewer may want to weigh them:missing-context-beside-runguses a distance of 600 characters to stand in for "next to",what-happened-stays-shortuses a character distance to stand in for the 250-word cap, andfirst-question-on-taxreads only the last question in the reply.Other changes: the discipline case's
descriptionnow names regex graders. The fleetscaffold.shloses its comment line, because the pre-commit comment lint requires it. Each of the six plugins gets abump: nonechangelog fragment, as #18513 did.These cases run in one suite run on main after merge, scoped to the cases below; another session dispatches it. Case list:
council-claude-effort-passed,council-default-panel,council-fable-frontier,council-fix-consumes-round-file,council-two-rounds-scores,codify-escaped-defect-names-missing-context,pfp-coupling-priced,or-catch-up-over-cap-keeps-every-item,reach-same-repo-session-picks-lane,deepening-dependent-candidates-one-tree. Agent runs: 10 cases x 1 run x 2 arms = 20 at one run per case. The five review cases declareruns: 2in theirprompt.md, so the run costs 30 agent runs (review 5 x 2 x 2 = 20, plus 5 x 1 x 2 = 10) unless the dispatch overrides it.Verification
python3 plugins/evals/skills/validate/scripts/validate-cases.py plugins/<plugin>/evals, withnodeandbunon PATH so each sample is also graded under V8 and JavaScriptCore:The remaining WARNs come from the restored
prompt.mdallowed_toolsand are not new. No eval was run.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01UJUn7LPUb4rRDJ2JhJRGZf