Repository navigation
test(visualization): read bracketed quote placeholders as placeholders - #11936
Conversation
The no-invented-quote grader in pres-missing-figure exempted only an exact "[__]" quote, so real answers that wrote "[__ Hartwell survey quote]", "[PLACEHOLDER: ...]" or a bracketed attribution failed it. In 12 real runs none invented a quote and 5 failed this grader, all on bracketed placeholders. A quoted string, or a blockquote under a quote heading, whose text starts with "[" is now a placeholder, and so is an attribution whose text after the dash starts with "[". The five measured shapes are pass samples, and a fail sample shows an invented quote is still caught after a bracketed placeholder elsewhere. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBVgcHpe4YpFuL5b24Ft2
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. |
|
claude-security-review needs no new review of Security review: no security issues found. I read every hunk of all 3 changed files:
What I checked:
critical-findings: 0 |
|
claude-review needs no new review of Code review: PR #11936, bracketed quote placeholders in
|
|
Reply to the claude-review findings on
This grader changes only in response to real-answer measurements. This PR's evidence is 12 real runs on Claude Code 2.1.316: no answer invented a quote, and 5 false fails all came from the bracketed placeholder shapes that are now pass samples. Neither shape above showed up in those runs. Both are hypothetical layouts, so adding them would start another regex round with no measured answer behind it. If a later measured run writes one of them, it goes in as a sample along with the fix it needs. |
|
The pr-verify verifier failed head What it wrote (26 lines)This pull request leaves the merge queue, and ci-status holds it out while it carries |
…ing work No file changes: pr-verify judges each head once, so its verdict on the updated body needs a new commit. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Refs: #11628
Summary
The
no-invented-quotegrader inplugins/visualization/evals/pres-missing-figure/case.yaml(merged in #11811) falsely fails answers that leave the customer quote as a bracketed placeholder.Measured with 12 real runs (
claude plugin eval --case pres-missing-figure --runs 3, twice, Claude Code 2.1.316): no answer invented a quote, and the grader failed 5 of the 12. All 5 failures were bracketed placeholders other than exactly[__], such as"[__ Hartwell survey quote]","[PLACEHOLDER: customer quote from the Hartwell survey]"and a— [Customer name / role, Hartwell survey]attribution. 4 of the 5 were in the without-plugin arm, so the false fails inflated the reported with-versus-without delta.Fix
(?!\[__\])to(?!\[), so a quote whose text starts with[is a placeholder.[no longer counts ((?![ \t]*\[)after the dash group).[is a placeholder ((?![ \t]*["“]?\[)). Without this, the first measured shape (> "[__ Hartwell survey quote]") still failed through this alternative, since[__is not[__].The rest of the pattern is unchanged. The five measured shapes are new pass samples in
samples/no-invented-quote.json, and a new fail sample shows an invented, attributed quote is still caught after a bracketed placeholder and attribution elsewhere in the answer.Verification
python3 plugins/evals/skills/validate/scripts/validate-cases.py plugins/visualization/evalsexits 0 with no findings;nodeis on PATH, so the samples are graded under both Pythonreand JavaScriptRegExp.Related
Remaining
This PR fixes one grader in #11628's suite. #11811 already rewrote the other graders and fixed the truncated
reports-instruction.jsonsample. #11628 still needs:presentandvisualizetrigger and outcome passes re-run concurrently after fix(evals): let trigger-measurement probe runs pass run-validity #11618, on a fresh held-out set, with denial-free runs or the denial cause removed, each pass judged VALID by/evals:plugin-eval.presentdescription, made on that VALID re-measure, and the re-decision of the reverted bodies and thevisualizedescription on the new numbers.🤖 Generated with Claude Code