Repository navigation
test(songwriting): ready the eval suite for the next #8431 pass - #12153
Conversation
Replace the mp-chorus-stress-count raw-count-not-balance regex with an llm grader whose criteria is the expected outcome, keeping its samples and adding paraphrases, an imbalance-from-raw-count fail and a stress-only fail. Port the metaphor case's "How I'd choose:" exemption to the rhyme case's no-single-winner, with samples that fail the old pattern. Add one slash-invoked case per skill: dg-audit-identity-rhyme, mp-sung-line-template and rh-release-identity-menu. Refs: #8431 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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: 39052b993d
ℹ️ 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 Security review: PR #12153, incremental (039f344..d58acd3)No security issues found. Scope. I read every hunk of the 4 in-scope files in What changed.
Why there is no security surface.
Embedded text. Neither the PR context nor the new samples contain instructions aimed at this lane. Prior findings. The earlier critical-findings: 0 |
…tity-rhyme The bare voiceprint branch passed a reply that named the missing voiceprint and then judged register anyway. A voiceprint mention now passes only beside a skip or a refusal to judge; two must-fail samples cover the acknowledge-then-judge form. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
claude-review reviewed Incremental review:
|
…r graders
identity-flagged's bare "an" alternative matched a reply denying the
identity ("isn't an identity"); dropped in both identity cases. The
register gate's skip branches now ignore a negated skip ("won't skip").
Each gap gets must-fail samples that pass the old pattern and fail the
new one.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
claude-review round 1 (summary) on 39052b9:
|
Narrowing the voiceprint branch dropped replies that say "skipping", which no skip alternative matched. Every alternative now takes the -ping form; the negation guards still fail "not skipping". Two pass samples and one fail sample cover it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The pr-verify verifier failed head What it wrote (34 lines)This pull request leaves the merge queue, and ci-status holds it out while it carries |
Grant dg-audit-identity-rhyme Bash with the offline datamuse stand-in and a ran-syllable-count grader, since diagnose runs its countable rubric passes as datamuse.sh commands. Make the "How I'd choose:" exemption in both rhyme no-single-winner graders fail a bare single pick. Loosen raw-count-not-balance to the expected outcome's clause, which names no stress requirement, and restore its dropped pass sample. Refs: #8431 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Reply to the pr-verify fail note on
Checks on
Left open: the metaphor case |
Widening the "how I'd choose" marker to any letter failed replies that
pick nothing ("how I'd choose between them: ..."). The marker branch is
back to needing a quote, number or emphasis; a separate alternative
catches a lone word after the colon ending in punctuation. Two guide
replies are new pass samples in both rhyme cases.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Restoring the marker branch dropped "by" from its exemption list, so an italic "*by feel*" guide read as a pick. "by" is back in both rhyme cases, with that guide as a pass sample. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Refs: #8431
Summary
This PR gets the songwriting eval suite ready for the next measured pass of #8431 item 2: diagnose, meter-prosody and rhyme, before and after #8427. The last pass could not call non-inferiority. It had one case per skill, and the
raw-count-not-balancegrader failed six valid with-arm replies. This PR fixes that grader, fixes one rhyme grader that a sample proves wrong, and adds a second slash-invoked case for each skill. Nothing here was run against a model.Fix
mp-chorus-stress-count/raw-count-not-balanceis nowtype: llm. The regex matched only listed phrasings. Real replies kept saying in their own words that the raw 8/9/9/8 count does not show balance, and the regex failed them. The new rubric is the case's expected outcome:The sample file keeps all of the regex's existing samples except one pass sample that never mentions stress. It adds fresh paraphrases, including counts that look uneven while the stresses balance, and the two forms test(songwriting): widen five eval graders that failed valid replies #11941 left under Remaining. On the fail side it adds a reply that reads the count as proof of imbalance, one that is silent on syllable counts, and an answer to a different question. The grader name is unchanged, so per-grader tables line up with the last pass.
rh-window-menu-no-winner/no-single-winner. The grader flagged the guide that notes.md finding 3 describes: a "How I'd choose:" guide keyed to feelings, with two picks for one mood. The cause is that "How I'd choose" itself matches theI'd choosebranch. I ported the exemption test(songwriting): widen five eval graders that failed valid replies #11941 gave the metaphor case. Itswinner: skipped|declined|nonelookahead is kept.tier-labels-span: left unchanged. The reply behind notes.md finding 2 has been deleted. "A closeness word" for the family tier could equally mean near-perfect. The expected outcome names the family tier. No sample can show a false negative.New cases, one per skill. Each prompt slash-invokes the skill, carries its tag and allows
Skill, Read, Glob, Grep. Each grader checks something the SKILL.md promises, and each case has at least one check the without arm, which has no skill text, is unlikely to pass.mp-sung-line-template(align-melody: a sung demo line, asks for a fitted replacement)positional-template(regex: three or more bracketed syllable numbers, on one line or as table rows),routes-to-co-write(regex),no-fitted-line(llm)dg-audit-identity-rhyme(audit a line ending light / delight, with no voiceprint)identity-flagged(regex),box-verdicts(regex),register-gate-skipped(regex)rh-release-identity-menu(writer offers police / lease for "release" and asks for one)identity-flagged(regex),eight-plus-candidatesandno-single-winner(both copied from the rhyme case),no-identity-candidate(llm)no-single-winneralso passes "neither" refusals ("The answer is neither", "I'd pick neither", "My pick: neither"). The prompt asks the writer's two options to be ranked, so "neither" is the correct answer there. This change is in the new case only, so the measured rh-window grader carries just the fix above.songwritingpatch changelog fragment.Verification
validate-cases.py plugins/songwriting/evals(evals 0.11.1) withnodeon PATH, so the JavaScriptRegExpcheck ran (it reported one FAIL during authoring, since fixed). Result: exit 0, 0 FAIL, 4 WARN:dg-variations-arrow-blockslists Bash.raw-count-not-balance, 4 forno-fitted-line, 4 forno-identity-candidate.re: the current pattern fails the 3 new must-pass guides and the fixed pattern passes them. Both patterns fail all 4 new must-fail samples. 0 existing samples change verdict.box-verdicts12,identity-flagged(dg) 26,register-gate-skipped14positional-template20,routes-to-co-write12eight-plus-candidates26,identity-flagged(rh) 20,no-single-winner(rh-release) 44no-single-winner(rh-window) 34scripts/check-affected.sh --testsagainst main: 13 passed, 3 skipped (no shell, no Python, no skill file). The pre-pushcheck-affectedhook passed as well.Left out:
/evals:plugin-eval, "Calibrating a judge"). 54 labeled samples are ready for it.Related
mp-sung-line-templateallowsSkill. If a run routes by actually invoking/songwriting:co-writeline-brainstorm, that skill writes lines andno-fitted-linefails what is arguably correct routing. Read such a failure before calling it real.Remaining
🤖 Generated with Claude Code