Skip to content

fix(verification): widen the lists-both-in-order grader's window - #17268

Merged
kyle-sexton merged 1 commit into
mainfrom
fix/verification-lists-both-in-order-window
Nov 18, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
fix/verification-lists-both-in-order-window

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Closes #17271

Summary

The confirm-lists-every-verifier-verdict case's lists-both-in-order grader failed a correct report. The report listed NEEDS WORK, then CONFIRMED, in a table headed | # | Verifier | Verdict | Detail |. The grader's pattern allowed at most 120 characters between "Verifier" and "NEEDS WORK", and that header put them 123 characters apart.

session: AI Hero

Fix

  • plugins/verification/evals/confirm-lists-every-verifier-verdict/case.yaml: the window from [Vv]erifier to NEEDS WORK widens from {0,120} to {0,400}, the window already allowed between NEEDS WORK and CONFIRMED.
  • samples/lists-both-in-order.json gains:
    • a table-form pass answer whose header puts "Verifier" more than 120 characters before NEEDS WORK;
    • a table-form fail answer that lists CONFIRMED before NEEDS WORK, so the grader still rejects the wrong order.
  • .changes/verification/: a patch fragment.

No skill text changes.

Verification

The rule was written before any run (RULE-GRADER-WINDOW.md): the offline sample check passes, and the case at this head is VALID with lists-both-in-order 3 of 3.

  • validate-cases.py on plugins/verification/evals: no FAIL, and no WARN on this grader.
  • Offline check of both patterns against every sample:
    • the new table pass sample fails the old pattern and passes the new one;
    • all four pass samples pass the new pattern;
    • all three fail samples fail it, the new wrong-order table included.
  • claude plugin eval on Claude Code 2.1.327: Sonnet (claude-sonnet-5-5) tested, Opus judge, --ablation none, 3 runs, against a git archive of cf33554.
    • Verdict VALID. The one warning is that this case has no skill-fired grader, because its prompt is the slash command.
    • lists-both-in-order 3/3, final-confirmed 3/3, records-confirmed-once 3/3.
    • One kept trace read: the final message lists the verdicts in a table, NEEDS WORK in row 1 before CONFIRMED in row 2, the shape that failed at 120.
  • Cost 0.36 USD (list-price estimate).
  • The failing run that showed the defect was on feat(verification): carry one row per criterion into the PR evidence table #17183's head cc41401. It was a correct report that scored 0 on this grader.

Related

  • #17183: the held feature PR. Its measurement failed only on this grader. It reruns this case on both arms once this merges.

🤖 Generated with Claude Code

A correct report that lists both verdicts in a table failed the grader:
the header puts "Verifier" 123 characters before NEEDS WORK, past the
120-character window. The window now matches the 400 characters already
allowed between NEEDS WORK and CONFIRMED. A table-form pass sample and a
table-form wrong-order fail sample pin it.

Co-authored-by: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 18, 2026 21:00
@chatgpt-codex-connector

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T21:01:41.929203Z cf33554 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

Copy link
Copy Markdown
Contributor

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

Security review: no security issues found

This pull request changes test material for one eval and adds a changelog fragment:

  • plugins/verification/evals/confirm-lists-every-verifier-verdict/case.yaml: in the lists-both-in-order regex grader, the window from [Vv]erifier to NEEDS WORK grows from {0,120} to {0,400}. That is the same size as the window already used between NEEDS WORK and CONFIRMED. Both quantifiers stay bounded and lazy, so there is no catastrophic-backtracking risk on model output.
  • samples/lists-both-in-order.json: adds one passing and one failing sample answer in table form. These are static strings.
  • .changes/verification/...md: a patch changelog fragment.

None of the three changed files matches a trusted-path glob. The pull request touches no trust control, merge hold, kill switch, token request, workflow, plugin manifest or standing instruction. No untrusted input reaches a credentialed context through this change. The eval grader scores model output for measurement only and grants no access.

The pull request context file contains no embedded instructions aimed at this lane.

Spend: running the eval to verify the change uses prepaid API credit (the author reports about 0.36 USD at list price). That is not a hold.

critical-findings: 0

@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 cf3355404a0a226c46ebabef16abbdc9a3aa3747; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

Copy link
Copy Markdown
Contributor

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

Code review: PR #17268, widening the lists-both-in-order grader's window

This PR raises one eval grader's window from "Verifier" to NEEDS WORK from 120 to 400 characters. It also adds one pass sample and one fail sample (both tables) and a patch changelog fragment.

Correctness. I checked the new pattern [Vv]erifier[\s\S]{0,400}?NEEDS WORK[\s\S]{0,400}?CONFIRMED by hand against every sample in samples/lists-both-in-order.json:

  • All 4 pass answers match.
  • All 3 fail answers do not match. The new wrong-order table fails because no CONFIRMED follows its NEEDS WORK row.
  • Lazy quantifiers and case sensitivity cause no surprises: Verdict does not match [Vv]erifier.

I did not run validate-cases.py or claude plugin eval. The VALID verdict and the 3/3 scores in the PR body are claims from the author that I have not checked.

Path-scoped rule. .claude/rules/eval-case-transcripts.md applies to plugins/*/evals/**. The new samples are synthetic and hold no machine paths or identifying details, so the rule passes.

Closing issue. None. The PR body says it has no related issue, so there are no acceptance criteria to check.

Blocking finding: loosened check. Widening the grader means it accepts more answers than it did. Under the loosened-check criterion that is a loosening (kind 9), and only trusted spec text can allow it. The PR body's reason does not count. See the inline comment on case.yaml line 6.

Loosened-check verdict: fail (default, no loosened_check_verdict: / loosened_check_patterns: lines from the wrapper); patterns: 0. The wrapper wrote no loosened_check_decision_record: line, so the citation requirement was not checked.

The change itself spends nothing. The author reports about 0.36 USD of prepaid eval credit for their own measurement run.

Verifier dropped 0 of 1 candidates.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit b684114 Nov 18, 2026
94 checks passed
@kyle-sexton
kyle-sexton deleted the fix/verification-lists-both-in-order-window branch November 18, 2026 22:01
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(verification): lists-both-in-order grader misses a verdicts table past 120 characters

1 participant