Skip to content

test(planning): let the changes-only judge own omission of unchanged answers - #12546

Merged
kyle-sexton merged 3 commits into
mainfrom
host-run/11591-omits-unchanged-grader
Nov 2, 2026
Merged

kyle-sexton merged 3 commits into
mainfrom
host-run/11591-omits-unchanged-grader

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Closes #11591

Summary

The interview-final-brief-changes-only case's omits-unchanged-items regex grader failed replies that cite an unchanged answer's value while discussing the changed Q5 or a new question, which the changes-only-restatement judge already judges correctly. This PR drops the regex grader and lets the judge own "does not re-list the unchanged answers".

Fix

  • Removed graders/omits-unchanged-items.md and samples/omits-unchanged-items.json.
  • The judge rubric now says that citing an unchanged answer's value as context for the Q5 change, a new question or an assumption is not a re-listing. A pass sample covers it.
  • A tightened regex (fail only on two unchanged values in one blank-line block) was tried first and dropped: in a host run it failed all 3 replies, 2 of which the judge passed 3-0, because the model names two values in one sentence as context for a new question, or in a numbered list of new assumptions.

Verification

  • interview-final-brief-changes-only, 3 with-plugin runs, opus judge: score 0.89 (runs 1.0, 1.0, 0.67); run-validity.py: VALID. The one judge FAIL is a real re-listing: the reply said it would not list the unchanged answers, then listed all seven values.
  • interview-ears-convention-tags (carried over from fix(planning): make the interview run the convention-home resolver before tagging EARS criteria #11597), 3 runs, opus judge, --scaffold --allow-tools Bash: score 1.0, resolver-ran passed in 3 of 3; run-validity.py: VALID.
  • validate-cases.py plugins/planning/evals: 0 FAIL. scripts/check-affected.sh --tests: 13 passed, 3 skipped.
  • Left out: the without-plugin arm (--ablation none), because the issue's bar is a with-plugin score.

Related

🤖 Generated with Claude Code

https://claude.ai/code/session_01VcuponMacsFYBfNzLKb3ws

kyle-sexton and others added 2 commits November 2, 2026 17:35
…answers

The omits-unchanged-items regex failed any reply that held two unchanged
answers' values in one block. In a host run of 3 with-plugin replies it
failed all 3, and 2 of them were replies the changes-only-restatement
judge passed unanimously: each cited the 50,000-row cap with gzip off, or
the cap and UTC, as context for a new question or assumption, while the
restatement itself only counted the unchanged answers.

Drop the regex grader and its samples. The judge rubric now says that
citing an unchanged answer's value as context for the Q5 change, a new
question or an assumption is not a re-listing, with a pass sample for it.

Closes #11591

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VcuponMacsFYBfNzLKb3ws
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 2, 2026 22:55
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-02T22:56:54.566676Z 59fb12d Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 59fb12d0ddeff77db4823fa789a719fa6376cdc2; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed b26e7b8264e9550793dc071a0e5aced0a97ebaf2: read 1 of 1 changed file(s); 1 finding(s), 0 as inline comments.

Code review: #12546 (incremental, 59fb12d0 → b26e7b82)

The only new commit adds two pass samples to samples/changes-only-restatement.json. They follow up on this lane's earlier advisory, which the owner resolved and answered. One sample cites UTC for the changed Q5. The other cites the 50,000-row cap for a new question. Both use the shapes from the issue and include no transcript text. The JSON is well-formed.

I read the whole incremental hunk, the sample file at head, the judge rubric (graders/changes-only-restatement.md) and the case's prompt.md.

What I checked:

  • UTC for Q5 sample (lines 12-13): passes all four rubric items. It states the intent, shows the Q5 change, names both sweep assumptions, and cites UTC only for Q5.
  • Cap for a new question sample (lines 16-17): has one advisory finding (inline). The sample is meant to test item 4, but it also changes how item 3 reads. Its new question Q9 is the sweep's "synchronous" assumption turned into a question, and it labels only one "New assumption". Item 3 requires both assumptions. If a judge marks it FAIL in a calibration run, the cause would be item 3, not the item-4 sentence this sample is meant to check.

Closing issue #11591: the first done-when item ("passes a reply that names one unchanged value while discussing a changed or new item … shown by samples") now has samples for all three shapes the rubric sentence allows (assumption, changed Q5, new question). Apart from the item-3 problem above, that item is met. The owner has settled the point that no CI check can fail on llm-grader samples: these samples need a paid calibration run, and that is accepted. I am not raising it again. The with-arm score (0.89, VALID) and the resolver-ran 3/3 result were not run by me; both are author-claimed and unverified.

Prior finding: the earlier inline advisory (r4448839588) is fixed by this push, apart from the new item-3 problem in the cap sample. No paved-path, manifest or path-scoped rule items apply. I found no embedded instructions in the PR context, settled threads or prior-findings data.

critical-findings: 1

Findings not posted inline (their path, line or side is malformed):

  • plugins/planning/evals/interview-final-brief-changes-only/samples/changes-only-restatement.json:16: Advisory: this pass sample can fail rubric item 3, so it doesn't cleanly test the item-4 sentence it was added for.

Rubric item 3 (graders/changes-only-restatement.md:11-12) requires the reply to show both sweep assumptions: synchronous export and row-level permissions. This sample turns the synchronous assumption into the open question Q9 ("Should exports run synchronously in the request?") and lists only one item, as the singular New assumption: the export respects row-level permissions.

A judge that reads item 3 literally will mark this reply FAIL because the synchronous assumption is missing, even though its handling of the 50,000-row cap is correct under item 4. A calibration run would then show a disagreement on this sample, and it would look like the new item-4 sentence had failed.

The suggested reply below keeps the shape under test (the cap cited for a new question) and keeps both assumptions stated:

      "answer": "Intent: CSV export of the admin orders page.\nChanged since read-back: Q5, orders-export-<timestamp>.csv.\nThe other seven answers are unchanged.\nNew assumptions: exports run synchronously in the request; the export respects row-level permissions.\nQ9: When the filtered rows exceed the 50,000-row cap, should the export truncate or refuse?\n\nAnswer Q9, then confirm.",

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed b26e7b8264e9550793dc071a0e5aced0a97ebaf2: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #12546 (incremental since 59fb12d)

I found no security issues.

What changed. One file changed since the last review: plugins/planning/evals/interview-final-brief-changes-only/samples/changes-only-restatement.json. It adds two pass samples to the judge's sample set. Each sample is static JSON with an answer string and a why string. One sample cites an unchanged value (UTC) as context for the changed Q5. The other cites the 50,000-row cap as context for a new Q9.

Checks.

  • Trusted paths: the changed file matches none of the TRUSTED PATHS: globs.
  • Trust controls: the change touches none of them.
  • Plugin manifests: neither plugin.json nor marketplace.json changed.
  • Instruction surface: no standing instruction, hook, skill body or agent body changed. The new samples are eval fixture data. They only affect how one eval case's judge is calibrated, and the model does not use them as a guardrail at runtime.
  • Code paths: this change adds no executable code.
  • PR context: neither the description nor the issue comments contain text directed at this lane.
  • Prior findings: the previous round reported 0 findings, so nothing carries over.

Spend: nothing in this diff runs or bills.

critical-findings: 0

… samples

The rubric allows citing an unchanged answer's value as context for the
changed Q5, a new question or an assumption. Add pass samples for the
first two shapes: UTC cited for the Q5 timestamp, and the 50,000-row cap
cited for a new question.

Refs: #11591

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VcuponMacsFYBfNzLKb3ws
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit b2852f3 Nov 2, 2026
68 of 69 checks passed
@kyle-sexton
kyle-sexton deleted the host-run/11591-omits-unchanged-grader branch November 2, 2026 23:36
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.

test(planning): stop omits-unchanged-items failing replies that mention an unchanged value for another reason

1 participant