Skip to content

test(songwriting): grade the menu, tier, mosaic, identity and register claims with llm judges - #12376

Merged
kyle-sexton merged 8 commits into
mainfrom
test/12195-no-single-winner-llm
Nov 2, 2026
Merged

kyle-sexton merged 8 commits into
mainfrom
test/12195-no-single-winner-llm

Conversation

@kyle-sexton

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

Copy link
Copy Markdown
Member

Closes #12195
Closes #12299
Refs: #8431

Summary

The songwriting suite's semantic graders move from regexes to calibrated llm judges, so a pick, a candidate count, a tier, a multi-word candidate, an identity verdict or a skipped register gate is judged by meaning, not by phrase shape. The regex rounds on #12153, #12194 and #12209 kept opening new edges; the #8431 measured pass named regex false negatives (tier-labels-span, mosaic-entry, identity-flagged) as the reason Opus could not be called.

Fix

Verification

  • Judge calibration, calibrate-judge.py build and score, Sonnet reproducer, Opus judge, 3 runs per sample:
    • Fold run (all 10 graders, 283 cases, 30.37 USD): PASS. 9 graders at 100%; rh-release eight-plus-candidates 96.8% (61/63). 3 must-pass samples untested (the reproducer's safeguard returned an API error on them).
    • Re-run of the two eight-plus-candidates graders on the final sample set after the test(songwriting): grade eight-plus-candidates with an llm judge in the rhyme menu cases #12325 merge (52 cases, 4.32 USD): PASS, rh-release 81/81, rh-window 75/75 (100%), every run reproduced against traces.
    • After the review fix to release pass samples 1-5 (27 cases, 2.15 USD): PASS, rh-release 80/80 (100%), all 27 samples reproduced.
  • validate-cases.py plugins/songwriting/evals: 0 FAIL. WARNs accepted: calibration notices, allowed_tools Bash notes, and judge-only graders in the two rhyme cases (the validator marks that a heuristic).
  • scripts/check-changelog-fragments.sh --check: all fragments valid.
  • Side effect: rh-window, rh-release, mt-loneliness and dg-audit now carry llm graders, so the free deterministic CI suite (deterministic-suite.mjs drops any case with an llm grader) no longer runs them; paid runs and the calibration above are their evidence.

Related

🤖 Generated with Claude Code

kyle-sexton and others added 7 commits November 2, 2026 08:53
…ims with llm judges

Refs: #8431

Co-Authored-By: Claude Opus 5.5 <[email protected]>
#12325 converted the same grader on main without calibration; this
branch keeps its calibrated criteria and adds #12325's new pass and fail
samples (three of each per rhyme menu case).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The real-reply samples write the "nd" sound as a bare word and use two
British spellings; typos flags both. Spell the sound n-d and use the
American forms; no sample's meaning or label changes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 2, 2026 14:12
@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-02T14:15:20.992635Z a9bcf04 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 2, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review (incremental since a9bcf04f): no security issues found

I read the whole incremental change in .claude-lane/incremental.diff. It touches one file, plugins/songwriting/evals/rh-release-identity-menu/samples/eight-plus-candidates.json, and changes 5 pass samples.

What changes: the 5 pass samples for the eight-plus-candidates grader swap their candidate words. The old words were "in though … in the snow". The new ones are ee-s rhymes, from "peace" to "the streets". The layouts don't change: a numbered list, a table, bold numbers, bullets and one inline line. The why strings don't change either. This matches the PR description: "Release pass samples 1-5 … offer release candidates (peace ... the streets)".

Security surface checked:

  • Trusted paths and trust controls: the file matches no trusted-path glob. It touches no trust control, merge hold, kill switch, token broker or trusted-actor list.
  • Plugin manifests: no plugin.json or marketplace.json changes, so I have no manifest lines to report.
  • Standing instructions: nothing deletes, narrows or softens an instruction.
  • Executable content: the change adds no commands, tools, URLs, permissions or grader config. It only changes judge calibration fixture strings.
  • Prompt injection: the new strings are rhyme words and short phrases. None of them is aimed at the judge, a lane or an operator, and none contains a secret, token or endpoint.
  • PR context: the description and the issue comments contain no text telling this lane to pass the PR, skip a check or drop a finding.

Spend (not a finding): re-calibrating with these samples spends prepaid API credit on judge-model calls. The PR reports 2.15 USD for this re-run. It changes no billing.

Prior findings: the lane's one earlier post was a no-findings summary, so nothing needs posting again. Rounds with findings so far: 0, the cap is 3, and the review is not past the cap.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review (incremental, a9bcf04 → bb6270f)

No new findings. I read the whole incremental hunk in plugins/songwriting/evals/rh-release-identity-menu/samples/eight-plus-candidates.json. I read rh-release-identity-menu/case.yaml's eight-plus-candidates criterion in the full diff for context.

Prior finding resolved. Last round's advisory said pass samples 1–5 listed rhymes for window (in though, thin glow, … in the snow), not for release. That is now fixed. All five samples (numbered list, tier table, bold numbers, bold-label bullets, inline) now offer the same eight release candidates: peace, cease, fleece, grease, increase, decrease, on my knees, the streets.

  • Each sample has exactly eight distinct candidates, matching its why.
  • None of the eight is police or lease, so nothing a judge should exclude as a rejected identity is being counted.
  • This matches the PR body's statement that release pass samples 1–5 "offer release candidates (peace ... the streets)".

Tier labels. Some of the tier labels on these samples are not accurate, e.g. Family | peace and Consonance | decrease. That is harmless here: the criterion counts candidates only and says "tiers, labels, the identity verdict and whether one candidate is crowned are graded elsewhere". The samples test layout, not tier accuracy.

Path-scoped rules. .claude/rules/eval-case-transcripts.md still matches. The changed samples are synthetic candidate lists with no machine paths or identifying details.

Not verified. The PR body reports a re-run after this fix: 27 cases, 2.15 USD, rh-release 80/80. That figure is the author's claim; this lane has no shell and ran nothing.

Spend (not a hold): the judge calibration re-run spent prepaid API credits (author-reported 2.15 USD).

I found no embedded instructions in the PR context or the prior-findings file. This is round 2 of 3; the cap did not apply.

@kyle-sexton

Copy link
Copy Markdown
Member Author

claude-review finding on a9bcf04 (rh-release-identity-menu/samples/eight-plus-candidates.json pass samples 1-5):

Finding Classification Basis
Release-case pass samples offer window candidates VALID (fix now) verified: pass samples 1-5 in that file list in though ... in the snow, the rh-window candidates

Fix: keep the calibrated criterion and swap those five samples to eight release candidates (peace, cease, fleece, grease, increase, decrease, on my knees, the streets) in the same list, table, bold, bullet and inline layouts, then re-calibrate that grader. The PR body's line about the regex-era samples is corrected too. Fix commit and calibration result follow.

…idates

Pass samples 1-5 of rh-release-identity-menu's eight-plus-candidates
offered window rhymes. They now offer eight release candidates in the
same list, table, bold, bullet and inline layouts. Re-calibrated: 80/80
(100%), every sample reproduced.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton

Copy link
Copy Markdown
Member Author

Fixed in bb6270f: rh-release-identity-menu eight-plus-candidates pass samples 1-5 now offer eight release candidates in the same layouts; criterion unchanged. Re-calibration on the final sample set: PASS, 80/80 judged runs (100%), all 27 samples reproduced. PR body corrected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant