Repository navigation
test(visualization): fix the frozen suite's graders against each case's expected outcome - #11739
melodic-automation-lanes[bot] wants to merge 5 commits into
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
|
claude-security-review reviewed Security review (incremental, since 8755d4a)No security issues found. What I reviewed: every hunk in
Why there is nothing to report: both files are offline eval fixtures for the visualization plugin. They are not a trust control, a merge hold, a workflow, a plugin manifest or a standing instruction. Nothing in the change reaches credentials, tokens, trusted-actor checks or what users install. The grader regex only runs against model output during an eval run. That output is not attacker input that leads to a leak, a compromise or a charge, so the pattern's backtracking cost doesn't matter for security here. No file in scope matches a trusted-path glob. The PR context file has no embedded text telling the lane what to do. critical-findings: 0 |
|
Unattended merge: native auto-merge leaves this pull request unarmed at head |
|
claude-review reviewed Incremental review (8755d4a → deb586d)This review covers only the two files changed since the last one. I found nothing to report.
Rules. Not verified. The PR says No embedded instructions were found in the PR context. |
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM6yVj_Y Lane-Thread: PRRT_kwDOTCGFQM6yVj_a
|
pr-unblock / address-feedback finished round 1 of max 4 on 9ec6965. |
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM6yVohy Lane-Thread: PRRT_kwDOTCGFQM6yVoh0
|
pr-unblock / address-feedback finished round 2 of max 4 on 649d8b6. |
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM6yVup7 Lane-Thread: PRRT_kwDOTCGFQM6yVup9
|
pr-unblock / address-feedback finished round 3 of max 4 on 8755d4a. |
| target: last_message | ||
| - name: no-invented-quote | ||
| type: regex | ||
| pattern: '^(?=[^\n]*(?:quote|customer|Hartwell|survey|respondent|\bsaid\b|\bsays\b))[^\n]*?["“](?!\[__\])(?:[^"”\n \t]+[ \t]+){2}[^"”\n]*["”]|^[ \t]*(?:[-*+>][ \t]*|\d+[.)][ \t]+)*["“](?!\[__\])(?:[^"”\n \t]+[ \t]+){2}[^"”\n]*["”]|^(?![ \t]*>)[^\n]*(?:quote|customer|voice|Hartwell|survey|testimonial|respondent)[^\n]*\n(?:[ \t]*\n)?[ \t]*>(?![^\n]*(?:\[__\]|pending|missing|placeholder|\bTBD\b|\bTBC\b|\bTODO\b|waiting|not yet|\bnotes?\b|to come|to be (?:supplied|added|provided|confirmed)|goes here|marketing|\bblanks?\b))[ \t]*(?:[^\n \t]+[ \t]+){3}[^\n \t]|^[ \t]*>(?![^\n]*(?:\[__\]|pending|missing|placeholder|\bTBD\b|\bTBC\b|\bTODO\b|waiting|not yet|\bnotes?\b|to come|to be (?:supplied|added|provided|confirmed)|goes here|marketing|\bblanks?\b))[^\n]*?(?:[—–]|[ \t]-[ \t]|\()[^\n]{0,40}?(?:Hartwell|customer|respondent|survey)' |
There was a problem hiding this comment.
Advisory: marketing excludes the whole blockquote line, so an invented quote that names marketing is not caught.
You added marketing (and \bblanks?\b) to the negative lookahead of both blockquote alternatives (the cue-line one and the new attributed one). The lookahead checks the whole line, so any unquoted blockquote that mentions marketing anywhere is skipped. Take this reply:
## Slide 2: Customer voice
> The new tiers finally fit how we buy. (Hartwell survey, via marketing)
Traced by hand:
- The first two alternatives need quote marks, and this line has none.
- The third alternative (after the cue line) and the fourth (the attribution) are both vetoed by
marketing.
So not_contains passes an invented, attributed quote. The case's prompt names marketing as where the quote comes from, so the word is likely to turn up beside an invented quote.
Suggested fix: exclude the request form only, e.g. (?:ask|request|get|check with|confirm with)[^\n]{0,20}?marketing, rather than bare marketing. Add the line above as a fail sample.
claude-lane: claude-review
There was a problem hiding this comment.
pr-fix lane: please fix this finding
Confirmed by running the head pattern (8755d4a) of no-invented-quote in plugins/visualization/evals/pres-missing-figure/case.yaml:22:
## Slide 2: Customer voice\n> The new tiers finally fit how we buy. (Hartwell survey, via marketing)gives no match, sonot_containspasses an invented quote.- The same line without
, via marketingmatches, so the baremarketingin the lookahead is what vetoes it.
Fix:
- In both blockquote lookaheads of
no-invented-quote(the cue-line alternative and the attributed alternative), replace baremarketingwith the request form only, e.g.(?:ask|request|get|check with|confirm with)[^\n]{0,20}?marketing. - Keep
\bblanks?\band the other placeholder words. The existing pass samples ("Ask marketing for...", "Quote to come from marketing", "To be supplied by marketing", "Quote goes here when marketing sends it", "Pending from marketing") must stay passing through the request form or their other words. - Add the line above as a fail sample in
plugins/visualization/evals/pres-missing-figure/samples/no-invented-quote.json. - Checked offline with Python
re: replacing both|marketing|with|(?:ask|request|get|check with|confirm with)[^\n]{0,20}?marketing|, every existing pass and fail sample inno-invented-quote.jsonholds and the new line fails as it should. - Run every grader of this case against its samples file (the static eval validator) before pushing.
There was a problem hiding this comment.
Fixed in the owner-login replacement PR #11811, commit 6ad6136: both blockquote lookaheads of no-invented-quote now exclude only the request form \b(?:ask|request|get|check with|confirm with)[^\n]{0,20}?marketing, and the "(Hartwell survey, via marketing)" line is a must-fail sample. validate-cases.py plugins/visualization/evals passes on that head (Python re and JavaScript RegExp); against this PR's head pattern the new sample fails the validator. Leaving this thread open: it closes with this PR once #11811 merges.
|
The unattended merge path armed native auto-merge at head |
|
pr-unblock / address-feedback finished round 4 of max 4 on 8755d4a. |
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM6yV1Of
|
pr-unblock / address-feedback finished round 5 of max 4 on deb586d. |
|
The pr-unblock lane stopped
The review rounds are not converging after the round cap and one fresh fixer round. Open review threads:
When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean. A reply on a thread, from an account with write access, starting To run it again on this head now, dispatch the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=11739 -f activity=address-feedback |
|
Hold: replaced by an owner-login PR carrying this head plus the PRRT_kwDOTCGFQM6yV1Oh regex fix the lane could not converge on. Releases when: the replacement merges, then this PR is closed as superseded. |
|
Superseded by #11811, which merged with this PR's change plus six rounds of grader fixes. |
Refs: #11628
Summary
Opened by the work-resolve-issue lane. The run's own summary:
Remaining work
Not verified
validate-cases.py plugins/visualization/evals(the issue's first done-when item). This lane cannot run Python or node, and check-affected does not run plugin eval suites (scripts/affected-tests-no-suite.txt:163-171 says they are checked by hand). The sample sorting was traced by hand and bFix
Verification
The runner ran each check from the base copy against fec919c:
The run reports:
Left out: the items under Not verified.
Related
#11628