Repository navigation
test(planning): close four precision gaps across the stress-test graders - #12947
Conversation
All 48 st-* graders fix (A) bare draft-word exclusions, (B) a quoted claim followed by but/however, (C) negation windows that bridge verbs or miss none/nothing, and (D) exclusion phrases that open a real attack. 117 new samples pin them; the old patterns sorted 88 of them wrong. Refs: #12925 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015te8CoibZv2y2Zsidz4jvz
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2437030e9f
ℹ️ 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 Chunk 1 of 2 (40 files)Security review: chunk 1 of 2 (changes since
|
…clusions A "plan says ..." attribution disabled the endorsement exclusions even when the answer agreed with the plan, so an endorsing quote earned defect credit. The exemption now applies only when a rebuttal word follows the attribution, and the two endorsing quotes from review are pinned as fail samples. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015te8CoibZv2y2Zsidz4jvz
|
claude-review reviewed Chunk 1 of 2 (40 files)Code review: chunk 1 of 2 (incremental since
|
- A trailing "though" clause no longer lifts a dismissal exclusion: only a line-opening although/though does, and the but/however re-check also accepts although/though (44 graders). - st-plan-4 defect-b: the not-local exclusion gets the attribution guard and re-check, so a quoted not-local claim that is rebutted counts. - st-incumbent-3 defect-c: "is not lost" dismissals are excluded again; only "is not clear" skips the negation. - st-incumbent-2 defect-a: the subject-anchored exclusion accepts a backticked subject. - st-proposal-4 sound-part: the exclusion covers the defect-specific phrases defect-a, defect-b and defect-c credit, so a defect finding no longer counts as an attack on the format. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015te8CoibZv2y2Zsidz4jvz
…als out A quoted claim followed by "it isn't", "that's not", "not true", "actually" or "contradicts" now counts as a rebuttal, so the attribution exemption lifts for pronoun negation. "wrong" and "fails" no longer count as a rebuttal after "nothing", "not", "never" or "n't", so "nothing wrong there" and "it never fails" stay dismissals. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015te8CoibZv2y2Zsidz4jvz
|
Replies to the claude-review summary findings with no line anchor (review of 2437030 and of b87f2e9):
|
…graders Every lexical rebuttal list also matched dismissals, so crediting a quoted claim inflated scores. A dismissal is now lifted only by a contrast word followed by the defect's target term; other rebuttal phrasings go uncredited, pinned as known-limit samples. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015te8CoibZv2y2Zsidz4jvz
|
The pr-verify verifier failed head What it wrote (31 lines)This pull request leaves the merge queue, and ci-status holds it out while it carries |
Dropping the exemption outright stopped crediting "the plan says X, but <evidence>", the most common real finding. The exemption now needs a quoted claim followed by but/however/yet; other rebuttal words matched dismissals too. A claim rebutted without a contrast word stays uncredited (known limit). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015te8CoibZv2y2Zsidz4jvz
The sweep now has its own spec, #12957; #12925 keeps the grading-method decision. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015te8CoibZv2y2Zsidz4jvz
Closes #12957
Summary
Carries the finished grader sweep from #12835's branch onto main and finishes it through review. #12835 merged before its last local commit landed. #12957 specifies this sweep; #12925 keeps the separate grading-method decision (whether
sound-partmoves to an LLM judge), which this PR does not make.Fix
All 48 regex graders in the 12
st-*cases close four precision gaps:Known limits, pinned as samples whose
whystarts "known limit:": a claim rebutted without a contrast word ("it isn't, because …") is not credited, and an unrelated contrast clause after a quoted claim can still lift the dismissal. Three review rounds showed that every rebuttal word list also matches dismissals ("that's not a problem", "it never fails"), so the rule stays on contrast words.131 new sample answers pin the patterns; the origin/main patterns sort 80 of them wrong. A planning patch changelog fragment records the fix.
Verification
validate-cases.py plugins/planning/evals: 0 FAIL at each fix commit (the WARNs predate this change).plugins/planning/tests/plan-stress-test.test.sh: 71 pass, 6 fail locally, all six setup-apply schema checks that fail only under the test's fake HOME (mise refuses the untrusted config there); none touches a changed file. CI's test-bash runs the suite.Left out: a paid rerun of the eval suite (#12957 out of scope).
Related
🤖 Generated with Claude Code
https://claude.ai/code/session_015te8CoibZv2y2Zsidz4jvz