Skip to content

test(songwriting): drop the rhyme bare-pick alternative before the #8431 legs - #12209

Merged
kyle-sexton merged 2 commits into
mainfrom
test/8431-rhyme-drop-bare-pick
Nov 2, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
test/8431-rhyme-drop-bare-pick

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #8431

Summary

The bare-pick alternative #12153 added to the two rhyme cases' no-single-winner grader fails choosing guides that pick no winner: a guide that opens with a filler word (How I'd choose: honestly, it depends ...), one that opens with an ordinal (first, ...), and one that keys one-word moods to option numbers, plain or bold (bitterness, #5; tenderness, #3.). #12194's review found these shapes and removed the same alternative from the metaphor case. This PR removes it from both rhyme cases before #8431 item 2's measured legs run, so that verdict is not computed on a grader known to fail good answers. Nothing was run against a model.

Fix

  • rh-window-menu-no-winner/case.yaml and rh-release-identity-menu/case.yaml, no-single-winner: the |\bhow I(...)...:...[A-Za-z]+...[.,;] alternative is removed. The marker branch, with by exempt, stays as test(songwriting): ready the eval suite for the next #8431 pass #12153 left it.
  • Each case's samples/no-single-winner.json: the four guide shapes above are pass samples; the two bare-pick fail samples (How I'd choose: grease. and its bold-colon form) are removed, since the grader no longer catches them.
  • A songwriting patch changelog fragment.

Verification

  • Python re, flags im, origin/main pattern against this branch, every sample in both cases: 0 wrong verdicts (rh-window 15 pass / 10 fail; rh-release 17 pass / 13 fail). The only verdicts that change are the four new pass samples, which fail on main and pass now.
  • python3 -I plugins/evals/skills/validate/scripts/validate-cases.py plugins/songwriting/evals with node on PATH: 0 FAIL.
  • test(songwriting): fix three eval-suite defects in the next measured pass #8431's three llm graders were calibrated on the frozen suite (138/138, 12/12, 12/12); this PR changes no llm grader, so that calibration stands.
  • The diff was checked for machine paths, emails and secrets; none.

Related

Remaining

  • The bare single pick on the choosing-guide line is uncaught in all three menu cases; #12195 moves no-single-winner to an llm grader.

🤖 Generated with Claude Code

kyle-sexton and others added 2 commits November 1, 2026 20:13
 legs

The bare-pick alternative #12153 added to both rhyme cases fails choosing
guides that open with a filler word ("honestly, it depends") or key
one-word moods to option numbers, as #12194's review showed. Removed
before #8431's measured legs run, so the verdict is not computed on a
grader known to fail good answers; the four guide shapes are pass
samples. The bare single pick is uncaught again until #12195 moves the
grader to an llm judge.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 2, 2026 01:44
@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-02T01:46:28.107971Z f0dcb72 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 f0dcb724720f296c7ed9addc7b9ba385857993db: read 5 of 5 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #12209

I found no security issues in this pull request.

I read every hunk of all 5 changed files in .claude-lane/pr.diff:

  • Changelog fragment. .changes/songwriting/test-8431-rhyme-drop-bare-pick-3e8a4ced.md is a new patch-bump fragment with one line of prose.
  • Grader pattern. In plugins/songwriting/evals/rh-release-identity-menu/case.yaml and plugins/songwriting/evals/rh-window-menu-no-winner/case.yaml, one alternative is removed from the no-single-winner regex pattern. The grader's flags, match: not_contains and target: last_message are unchanged.
  • Grader samples. The two samples/no-single-winner.json files gain four pass samples and lose two fail samples, all test data.

The scope is offline eval grader regexes and their sample data. The diff adds no code that runs in a trusted context and touches no workflow, token, secret, trust-control, merge-hold, plugin manifest or standing-instruction file. None of the changed files matches a TRUSTED PATHS: glob. Removing an alternative only shrinks the regex, so it adds no new catastrophic-backtracking risk.

Making an eval grader more lenient is a test-quality question, not a security one. The PR text says the bare-pick shape is now uncaught and that #12195 tracks it.

The PR context file contains no embedded directives aimed at this lane. The prior-findings file lists no earlier posts (0 rounds, cap 3, not past the cap).

critical-findings: 0

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

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

Code review: no findings

I read every hunk of all 5 changed files. None of them is on a trusted path.

What changed. The |\bhow I(...)(?:\*\*)?[ \t]*:(?:\*\*)?[ \t]*(?!(?:by|if|for|when|depends)\b)[A-Za-z]+(?:\*\*)?[ \t]*[.,;] alternative is removed from the no-single-winner regex grader in two cases, rh-window-menu-no-winner/case.yaml and rh-release-identity-menu/case.yaml. The four new pass samples are added, the two bare-pick fail samples are removed, and there is a songwriting patch fragment.

Checks I did by reading (I ran nothing):

  • Clean removal. In both patterns, only the targeted alternative is gone. The #\d|\d[.)]|option… marker branch next to it, the winner: branch, and the (?:neither|none) lookaheads in the rh-release pattern are unchanged. YAML single-quote escaping ('') is unchanged.
  • New pass samples. I traced each one against the remaining alternatives:
    • How I'd choose: bitterness, #5; … and the **#5** form: the marker branch needs #\d right after the colon, and here a word comes first.
    • honestly, it depends … and first, say the line …: nothing else matches.
    • (?<!\bhow )\bI'd…choose cannot fire, because of its lookbehind.
    • None of them contains the answer is or go with ".
  • Removed fail samples. The two removed samples are exactly the shapes that only the deleted alternative caught. Each case still has 10 and 13 fail samples. Nothing else under plugins/songwriting refers to the removed alternative or samples.
  • PR summary. The PR's own counts (rh-window 15 pass / 10 fail; rh-release 17 pass / 13 fail, with 0 wrong verdicts) are the author's claim. I did not check them.
  • Coverage gap. Bare single picks such as How I'd choose: grease. are no longer caught. The PR says so under Remaining and hands it to test(songwriting): grade no-single-winner with an llm judge in the menu cases #12195 (an llm grader), so I don't count it as a finding.

Criteria

  • Closing issue. The PR only says Refs: #8431 and closes no issue, so there are no acceptance criteria to check.
  • Path rule. .claude/rules/eval-case-transcripts.md covers these files. The new samples are short synthetic answers with no paths or identifying details, so they comply.
  • Changelog. A patch bump fits a change to an eval grader and its samples.
  • Manifests. No plugin manifest changed.
  • Prior findings and threads. There are no prior findings. There was no settled-threads file.

Spend: none.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit edef3f6 Nov 2, 2026
68 checks passed
@kyle-sexton
kyle-sexton deleted the test/8431-rhyme-drop-bare-pick branch November 2, 2026 02:18
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