Skip to content

test(debugging): settle three eval graders and replay them against the stored replies - #12874

Merged
kyle-sexton merged 3 commits into
mainfrom
test/12196-debugging-graders
Nov 3, 2026
Merged

kyle-sexton merged 3 commits into
mainfrom
test/12196-debugging-graders

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #12196

Summary

Settles three debugging eval graders that failed replies the cases were meant to credit, and reshapes one calibration sample. Closes nothing on merge: #12196's last acceptance items are host runs, so the issue is closed by hand with the record after this merges.

Fix

  • ranked-falsifiable-grounded grader: credits a ranked hypothesis table with predictions and source grounding, including one row marked confirmed from source, as the case's expected outcome decided. The case prompt and sample match the decision.
  • offers-view grader: credits a view offer stated as a statement, not only as a question.
  • says-no-loop grader: credits passive wording of the no-loop statement.
  • Samples added or updated for each grader, plus a changelog fragment.

Verification

  • Judge-only replay of the 30 stored replies under the old (origin/main) and new grader text, Opus judge, one pass each: 29 paired. Old text passes 8, new text 19; 11 flips, all fail to pass, none the other way. The one unpaired reply did not reproduce under the new text (judge echo differed from the stored reply), so it carries no verdict.
  • The 10 replies that still fail under the new text: 9 give no ranked predictions; 1 is a split 1-2 call on a table with a "Refuted if" column.
  • Regex graders replayed on all 30 replies: offers-view 2 to 5 passes, says-no-loop 20 to 27.
  • Calibration ran to a verdict: Sonnet, 3/3.
  • gitleaks: no leaks on origin/main..HEAD.

Related

🤖 Generated with Claude Code

kyle-sexton and others added 3 commits November 3, 2026 11:51
…sample

ranked-falsifiable-grounded passes a full ranked set when one row is
marked confirmed from source and keeps its prediction, and a promise to
check the repository must name the source. The expected outcome says so.

offers-view credits a statement-form offer of the view, and no longer
matches "view" inside "/review".

says-no-loop credits passive wording such as "no reproduction loop can
be built".

The must-pass ranked samples are reply-shaped: the earlier one ended in
an API safeguard error on every calibration attempt.

Refs: #12196

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VQb9Q296cDKeBR2kaZuHaV
The 30 stored round-2 replies of multiple-falsifiable-hypotheses were
replayed under the old and the new ranked-falsifiable-grounded text,
Opus judge, one run each. Every old-text case has a verdict. One reply,
p2-after-sonnet r0, did not reproduce under the new text (its echo
differed from the stored reply), so 29 of 30 are paired:

| run                   | paired | old pass | new pass | flips |
|-----------------------|--------|----------|----------|-------|
| nc1-before-ctl-sonnet | 5      | 0        | 3        | 3     |
| nc1-control-sonnet    | 5      | 0        | 0        | 0     |
| p1-after-opus         | 5      | 2        | 4        | 2     |
| p1-before-opus        | 5      | 2        | 4        | 2     |
| p2-after-sonnet       | 4      | 3        | 4        | 1     |
| p2-before-sonnet      | 5      | 1        | 4        | 3     |
| total                 | 29     | 8        | 19       | 11    |

All 11 flips are fail to pass, and none is pass to fail. Each flipped
reply is a ranked table whose rows are grounded in the source, and the
old text failed each one 0-3. Nine of the 11 now pass 3-0. Two pass by
a 2-1 split: nc1-before-ctl r3 (a bare-verdict table) and p2-after r2.
The old-text replay matches the round-2 recorded verdict on 27 of 29.
The two that differ are p1-after-opus r1 and p1-before-opus r3, both
recorded FAIL and replayed PASS. Under the new text, 10 replies fail.
Nine of them give no ranked predictions. The tenth, p2-before r4, has
a "Refuted if" column and was judged FAIL 1-2. No grader change follows.

Refs: #12196

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 3, 2026 16:55
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 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-03T16:57:42.812665Z b7966ef 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 commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

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

Security review: no security issues found

I read every hunk of all 8 changed files. The pull request changes only eval data for the debugging plugin:

  • three graders: one LLM grader's PASS/FAIL text and two regex patterns
  • one case prompt's expected_outcome
  • three calibration sample files
  • one changelog fragment with bump: none

What I checked:

  • Trusted paths: none of the changed files match the TRUSTED PATHS globs.
  • Trust controls: the diff touches no trust control, workflow, action, token request, merge hold or kill switch.
  • Plugin manifests: neither plugin.json nor marketplace.json changes, so no manifest lines apply.
  • Instruction-surface lens: the diff loosens what the graders credit. Graders and expected_outcome judge what the debug skill replies in eval runs; they are not instructions the model follows, and the skill body is unchanged. No protected-class rule is removed, so the protected-class register was not needed here.
  • Regex safety: the new patterns in says-no-loop.md and offers-view.md use bounded quantifiers ([^\n]{0,160}) or short fixed alternations. I found no catastrophic-backtracking construct, and eval output is the only input they run against.
  • PR context: it contains no embedded instructions aimed at this lane.

Spend: the PR mentions judge replays and calibration runs. Those use prepaid model credits and are not a cost hold.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

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

Code review: PR #12874, no findings

I read every hunk of all 8 changed files: three debugging eval graders, their calibration samples, one case prompt and a changelog fragment.

Regex graders. I checked each new pattern by hand against every pass and fail sample in its file. I didn't run any code; this lane has no shell.

  • says-no-loop: the two new branches accept passive wording ("no loop can/could be built", "no loop is possible", "loop cannot/can't be built"). The new pass samples match. The new fail samples don't match: the un-negated passive, the passive question, "No Docker image", and "No loop was needed". Every earlier sample keeps its verdict because the first branch is unchanged. The YAML is double-quoted, so the \\b escapes correctly become regex \b and not a backspace character.
  • offers-view: adding \b around view|page stops "review" from counting as a view offer, and the /review:quality-gate fail sample covers that. The statement-form branch (i (can|could) … (view|page)) needs can/could to be followed directly by a space and a listed verb. So "I can't build", "I cannot", "I can not" and "The skill can build" all still fail, and so does "I can also build a regression test". The earlier pass samples still match.

LLM grader (ranked-falsifiable-grounded). The PASS and FAIL text agrees with the new samples:

  • the confirmed-from-source row that keeps its prediction passes;
  • bare verdicts fail;
  • a promise to check the repository that names no source fails;
  • a reply that tested and fixed one cause before listing the rest fails.

The updated expected_outcome in prompt.md reflects the same decision. That field is metadata only and no judge reads it.

Other checks.

  • The changelog fragment's bump: none is right, because nothing the plugin ships changes.
  • The new samples are synthetic, with no identifying details, so they meet .claude/rules/eval-case-transcripts.md.
  • No plugin manifest changed.
  • The PR refs test(debugging): fix three eval-suite grader defects found in the #6603 round-2 pass #12196 but closes no issue, so there were no acceptance criteria to check.
  • The PR context file had no embedded instructions.
  • There were no earlier findings from this lane (0 rounds, cap 3).

The replay and calibration results in the PR description (29 paired replies, Sonnet calibration 3/3, gitleaks) are the author's claims; I didn't confirm them.

Spend: none. Only eval grader text and samples change, with no change to run counts, models or schedules.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 3, 2026
Merged via the queue into main with commit 770464d Nov 3, 2026
66 of 80 checks passed
@kyle-sexton
kyle-sexton deleted the test/12196-debugging-graders branch November 3, 2026 17:27
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.

1 participant