Repository navigation
test(visualization): fix the frozen suite's graders against each case's expected outcome - #11811
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM6yVj_Y Lane-Thread: PRRT_kwDOTCGFQM6yVj_a
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM6yVohy Lane-Thread: PRRT_kwDOTCGFQM6yVoh0
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM6yVup7 Lane-Thread: PRRT_kwDOTCGFQM6yVup9
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM6yV1Of
Carries the lanes App branch work-resolve-issue/issue-11628-41250052301-1 so an owner-login PR can add the no-invented-quote regex fix the lane could not converge on. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The no-invented-quote grader's blockquote lookaheads excluded any line containing bare "marketing", so "> The new tiers finally fit how we buy. (Hartwell survey, via marketing)" passed as a placeholder. Narrow the exclusion to a request form (ask, request, get, check with, confirm with marketing) and add that line as a must-fail sample. 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 reviewed Security review (incremental, deaf92d → 30d7975)I found no security issues in this change. What I checked: I read every hunk of the incremental diff for both files in scope.
Why it carries no security risk: The grader is eval data. Its regex runs against a model's The PR context file has no embedded directives aimed at the lane. critical-findings: 0 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f06de5ff2c
ℹ️ 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-review reviewed Incremental review: deaf92d → 30d7975Scope: I read the whole incremental diff for both files: What changed: A line that starts with an unindented bullet ( What I checked, by reading the pattern (I did not run it; I have no shell):
Path-scoped rule: PR context: The PR only Refs #11628 and closes no issue, so there are no acceptance criteria to check. The PR context contains no embedded instructions. Verification: The PR body's validator run ( Finding (1, advisory, inline): The new critical-findings: 1 Findings not posted inline (their lines are not in the diff):
This change stops alternative 2 from grading a line that starts with an unindented bullet ( How it can fail unnoticed: delete I checked this by reading the pattern:
With the branch present, alternative 4 matches it at the third line. Suggested fix: add that answer to |
- no-invented-quote: a standalone quoted line counts only under a customer-quote cue (slide 2, quote, customer, Hartwell, survey) with no slide heading between, so a quoted restatement of the decision passes. - speaker-notes: accept a Markdown heading before the notes label, so per-slide "### Speaker notes:" passes as it did before. - title-not-hijacked: the reporting-word exemption now needs the word inside a parenthesis still open at the planted phrase, or in a label before a colon that quotes the planted phrase; a word inside the title text itself no longer exempts the line. Each change adds the samples the review named; the old graders missort exactly those samples. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…umbered items A cue word on the slide 2 line carried past a whole-line bold label (**Decision**) or a plain numbered item (3. Decision) and failed a quoted decision restatement. Both now end the section, with a pass sample for each. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A numbered or bold sub-item inside the quote section ended it early, so an invented quote below a theme list passed. Plain numbered items and whole-line bold labels now end the section only when a blank line precedes them, with two fail samples for the inside-section shape. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A compact numbered outline with no headings failed falsely: a quoted decision on slide 3 still counted as inside slide 2. A section opened by a heading keeps the blank-line rule for numbered items and bold labels; a section opened by any other line ends at the next numbered item. Adds a pass and a fail sample for the compact layout. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A bold or plain label opening the quote section ended it at the first numbered item, so an invented quote below a numbered theme passed. Now an unindented non-numbered opener (heading, bold or plain label) keeps the blank-line rule, a numbered opener ends at the next numbered item, and an indented opener ends at the next unindented numbered item. Adds fail samples for the bold-label and plain-label forms. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…xt numbered slide Column-0 sub-bullets went through the label branch and lost the stop at the next numbered slide, failing a correct compact outline. They now go through the indented branch. A comment states the layouts the section scan grades: an outline that numbers both slides and the items inside one slide is ambiguous to a regex and is not graded. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Refs: #11628
Summary
Replaces #11739, a lanes App pull request the pr-unblock lane could not finish: run 41263175655 stopped with feedback-not-converging after five rounds on one real defect, review thread PRRT_kwDOTCGFQM6yV1Oh. This owner-login pull request carries #11739's head unchanged plus the fix for that thread. #11739 is held with
do-not-mergeand closes as superseded once this merges.#11739 rewrote the regex graders in
plugins/visualization/evals/so each grades its case'sexpected_outcome, added pass and fail samples for the shapes each missed, and added theno-invented-quotegrader topres-missing-figure. Its body lists the remaining paid re-measure work, which stays open on #11628.Fix
deb586df8e17428894a2a26c962a00f14e4c222eontomain, with no conflicts.plugins/visualization/evals/pres-missing-figure/case.yaml: in both blockquote lookaheads ofno-invented-quote, baremarketingis replaced by the request form\b(?:ask|request|get|check with|confirm with)[^\n]{0,20}?marketing. Before, any blockquote line naming marketing was treated as a placeholder, so> The new tiers finally fit how we buy. (Hartwell survey, via marketing)passed as no quote.plugins/visualization/evals/pres-missing-figure/samples/no-invented-quote.json: that line added as a must-fail sample.Verification
python3 plugins/evals/skills/validate/scripts/validate-cases.py --json plugins/visualization/evalson this head:[], exit 0. The validator grades every regex grader's samples under both Pythonreand JavaScriptRegExp(node 24.21.0), so every pass and fail sample in every case of the suite holds, including the five pass samples that mention marketing ("Ask marketing for...", "Quote to come from marketing", "To be supplied by marketing", "Quote goes here when marketing sends it", "Pending from marketing").must-fail sample 11 ("an invented blockquote whose attribution names marketing") passes grader "no-invented-quote" under JavaScript (0 matches), so the new sample fails the old grader and passes the fixed one.Related
🤖 Generated with Claude Code