Skip to content

test(songwriting): widen five eval graders that failed valid replies - #11941

Merged
kyle-sexton merged 4 commits into
mainfrom
test/8431-songwriting-graders
Nov 1, 2026
Merged

kyle-sexton merged 4 commits into
mainfrom
test/8431-songwriting-graders

Conversation

@kyle-sexton

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

Copy link
Copy Markdown
Member

Refs: #8431

Summary

The 2026-11-01 host run found five songwriting eval graders rejecting replies that meet their cases' expected outcomes. That noise has to come out before any re-measure. This PR widens each grader for the forms the runs used, with pass samples taken from those replies and new fail samples that guard each widening.

Fix

  • dg-variations-arrow-blocks / ran-syllable-count: also accepts a datamuse.sh path stored in a shell variable and run in command position as "$S" syllables or $S syllables. A different variable, another mode or an echo $S still fails.
  • mp-chorus-stress-count / raw-count-not-balance: also accepts "this method measures line length in stressed syllables ... isn't / wouldn't call it balanced", where the negation must sit right next to "balanced". Also accepts "syllable counts are the wrong measure", "the syllable count misleads" and "doesn't measure balance in syllables".
  • family-distance-label (in both metaphor cases): also accepts "close-", "medium-" or "far-distance".
  • mt-loneliness-labeled-menu / finder-question-lists: also accepts "What is / does this loneliness (feel) like?" as the first list.
  • mt-loneliness-labeled-menu / no-single-winner: a "How I'd choose:" heading over a guide keyed to feelings no longer counts as crowning a winner. It still fails when the same line names a pick ("How I'd choose: fix: correct plugin-system inaccuracies and harden references #2."), and so does "I'd go with ...".
  • mt-loneliness-one-labeled / one-labeled-candidate: counts the "medium-distance" form too, so two candidates labeled that way still fail (review round 1).
  • A songwriting patch changelog fragment.

Verification

  • validate-cases.py plugins/songwriting/evals with node on PATH, so the JavaScript RegExp check also ran: exit 0, no FAIL, and the one existing WARN (dg-variations-arrow-blocks lists Bash).
  • Swap check: a copy with each touched grader's pass and fail samples swapped gives FAIL lines for all six sample files (15, 74, 12, 14, 18 and 22), so the new samples are read.
  • Re-graded the kept with-arm runs (L1, L2, L3 and L4b, 12 per case) offline. The re-grader first reproduced every recorded verdict under main's patterns with 0 differences. Under this PR's patterns, 20 verdicts change, all fail to pass, and no pass turns into a fail:
    • ran-syllable-count: 3/12 to 12/12
    • raw-count-not-balance: 4/12 to 10/12
    • finder-question-lists: 9/12 to 12/12
    • no-single-winner: 11/12 to 12/12
    • family-distance-label in the one-metaphor case: 7/12 to 8/12. The other 4 misses contain no distance wording, so they are correct failures.
  • Left out: a paid re-run. It belongs to the test(songwriting): fix three eval-suite defects in the next measured pass #8431 item 2 host run, after this PR merges.

Related

N/A

Remaining

🤖 Generated with Claude Code

Refs: #8431

The 2026-11-01 host run's grader findings: ran-syllable-count,
raw-count-not-balance, family-distance-label, finder-question-lists and
no-single-winner rejected replies that meet their cases' expected
outcomes. Each pattern now accepts the observed forms, with pass samples
from the runs and new fail samples guarding each widening.

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

chatgpt-codex-connector Bot commented Nov 1, 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-01T14:24:03.003949Z aa4bfae 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 1, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review (incremental, 724498b → 9528442)

I found no security issues in this change.

I read all three changed files in full in .claude-lane/incremental.diff:

  • plugins/songwriting/evals/mt-loneliness-one-labeled/case.yaml: the one-labeled-candidate regex grader now also counts the space form close|medium|far distance when it ends a clause (a lookahead for punctuation, end of line or pairing). It is test data, and it runs only on the model's last_message inside the eval harness. There are no secrets, no token, and no workflow or trust control involved.
  • plugins/songwriting/evals/mt-loneliness-labeled-menu/samples/no-single-winner.json and plugins/songwriting/evals/mt-loneliness-one-labeled/samples/one-labeled-candidate.json: each adds one fail-sample entry. They are static JSON test fixtures.

None of the changed files matches a trusted path. No plugin manifest, workflow, instruction surface or trust control changed. The PR context file holds no instructions aimed at the review lane.

critical-findings: 0

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: aa4bfae7fd

ℹ️ 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".

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review: incremental (724498b → 9528442)

Scope: the three files changed since the last review (.claude-lane/incremental.diff). I read every hunk of all three. I used the full diff and the PR context only for background.

What changed

  • mt-loneliness-labeled-menu/samples/no-single-winner.json: adds a fail sample, **How I'd choose:** *the porch light still waits up*., an italic single pick.
  • mt-loneliness-one-labeled/case.yaml: one-labeled-candidate now also counts the space form close|medium|far distance, but only when the next thing is .,;:), a newline, end of text, or pairing. This keeps prose like "a far distance away" from counting.
  • mt-loneliness-one-labeled/samples/one-labeled-candidate.json: adds a fail sample with two candidates labeled medium distance. / far distance..

Checks
I traced these by hand against the patterns. I did not run them.

  • The new italic fail sample matches the existing no-single-winner branch \bhow I'd choose\b(?:\*\*)?[ \t]*:?(?:\*\*)?[ \t]*[*_]+(?!for|if|when|depends…)[A-Za-z] (:, then **, a space, *, then t). Under not_contains it fails as intended. The existing pass sample *for quiet ache* is still excluded by the negative lookahead. Backtracking through ** also fails, because the character after the * run is a space or *, not a letter.
  • In the new one-labeled-candidate fail sample, both medium distance. and far distance. match the new space branch, so the two-match pattern fires and the sample fails. The lookahead's $ works without the m flag because the \n option already covers line ends. The existing pass and fail samples don't depend on the new branch in a way that flips them.
  • The new JSON entries are well-formed: commas and closing brackets are correct.

Not flagged (noted only): the space-form lookahead does not accept **, an em dash or a space-separated word after distance. So a reply that labels two candidates as **far distance** or medium distance — … still passes one-labeled-candidate. That is a known limit of the guard against prose like "far distance away". It isn't clear any recorded run used those forms, so I'm not counting it as a finding.

Closing issue: the PR uses "Refs: #8431" and closes no issue, so there are no closing-issue criteria to check.

Embedded text: none found in the PR context.

Verification: the PR's verification (validate-cases.py, the swap check and the offline re-grade) is the author's claim. I did not run it: this lane has no shell.

No findings in the incremental change.

one-labeled-candidate now counts the "medium-distance" label form that
family-distance-label accepts, so two candidates labeled that way fail.
no-single-winner rejects a "How I'd choose" line that names a single
pick on the same line, while a choosing guide keyed to feelings still
passes.

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

@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: 2 inline finding(s) on 55fc23e74097fe04fee742ecbe8d13cf1eb8660d; the summary is in this lane's pull request comment.

claude-lane: claude-review

…sing

no-single-winner's pick branch skips italic guide lead-ins (for, if,
when, depends), so an inline guide keyed to feelings passes.
one-labeled-candidate counts only the hyphenated "medium-distance" form,
so prose such as "a far distance" is not a second label.

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

@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: 2 inline finding(s) on 724498bfd41e6f1bce65bcdf1558dd94a12cf0c2; the summary is in this lane's pull request comment.

claude-lane: claude-review

…ndidates

one-labeled-candidate counts the space form when it ends a label clause,
so a menu of two candidates labeled "medium distance." fails while prose
such as "a far distance would" does not. no-single-winner gains an
italic-pick fail sample guarding its narrowed branch.

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

Copy link
Copy Markdown
Member Author

HUB arm request (R10), host-run lane 4 (melo-lap-001), 14:5xZ: this is lane 4's PR. Head 9528442 is CLEAN, and ci-status is green from a non-draft run. claude-review and claude-security-review both report 0 findings on this head. The six review threads from three rounds (2 Codex, 4 claude-review) are fixed with SHAs and resolved, and none is open. There is no do-not-merge, needs-human or pr-verify-failed label, and the kill switch is off. Lane 4 cannot message the hub (its sockets are gone before a reply), so the request is here.

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