Repository navigation
test(developer-experience): grade more S1 and S4 build-turn items - #12443
Conversation
Add free graders for S1 item 8's no-token-option half and item 12b,
and S4 item 7's standard-library-import half, each with pass and fail
samples, plus judge graders for S1 item 11b and S4 item 9b. Replace
both build cases' turn-1.jsonl with the final message of a recorded
plugin-arm plan turn.
Write the literal --- in four grader patterns as -{3}: Claude Code
2.1.316 ends the frontmatter at the first ---, so those cases failed
to load and the binary refused the whole suite.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… 9b judges The build-turn messages of the committed S1 11b and S4 9b samples, each relabeled on that message alone by an isolated Opus call, and the S1 12b messages as further regex samples. 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4b206b7d78
ℹ️ 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-security-review reviewed Security review of PR #12443: changes since
|
|
claude-review reviewed Code review: PR #12443 (incremental since
|
- no-token-option: a flag's value read on a later line (an Allman if block, a guarded case label) now fails the grader. - names-pagecount-failure: paging must name the class (Paging.) or a paging check, test or bug; the plan's fix-paging branch example no longer passes. - no-third-party-import: every module in a comma-separated import is checked, not only the first. Each fix adds the sample that showed the gap. Co-Authored-By: Claude Opus 5.5 <[email protected]>
no-token-option now crosses guard statements between the flag literal and the read, stopping at the next flag literal, a break or a case label, and also fails any assignment from args into a variable whose name contains token. Adds the two guarded shapes as fail samples and a guarded non-token option as a pass sample. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…k end no-token-option's flag-to-read scan now also stops at return, throw and a line that closes a block, so a rejection that returns before a later positional read (args[0]) no longer fails a correct answer. Guarded token reads stay caught by the token-named assignment alternative. Adds the block and one-line rejection-then-positional-read shapes as pass samples for both the Write and Edit graders. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Refs: #9953
Summary
Grades more of the S1 and S4 build-turn items in
s1-branch-start-buildands4-migrator-build, replaces bothturn-1.jsonlfiles with the final message of a recorded plugin-arm plan turn, and fixes four developer-experience graders that Claude Code 2.1.316 cannot load.Fix
no-token-option-writeandno-token-option-edit(tool_used,max: 0) fail a Write or Edit that reads a--tokenor--forge-tokenvalue fromargsor declares it as anOption<T>. Code that rejects those flags still passes.names-pagecount-failure, a regex on the last message forPageCountorpaging. On the build-turn messages of the 12 committed S1/12b samples it agrees with all 12 Opus labels.no-third-party-import-writeand-editfail a.pyWrite or Edit that imports a module outsidesys.stdlib_module_names,bfkortests.smoke-result-reportedllmgraders on the last message, using the source rubric's instructions. Each has 6 PASS and 6 FAIL samples plus an empty answer. The samples are the build-turn messages of the committed labeled samples, relabeled on that message alone by an isolated Opus call (model-produced, not reviewed by a person). Calibration stays on test(developer-experience): port eval cases S3 and S6 #9966.turn-1.jsonl, both cases: the prompt plus the final message of a plan turn recorded on 2026-11-02 (Claude Code 2.1.316, plugin arm,claude plugin eval --keep-temp). The file stays text-only, so the Skill and Read calls are not in it. The final message is model output on the synthetic case prompt and holds no paths, so.claude/rules/eval-case-transcripts.md's second paragraph covers it.nm-script-build-exit,q-build-page-count,t1-setup-init,t2-setup-rerun), the literal---is now-{3}.---and reportsinvalid YAML frontmatter: YAML Parse error: Unexpected EOF.claude plugin evalrefused the whole developer-experience suite, including the S1 and S4 cases.Verification
validate-cases.py plugins/developer-experience/evals: exit 0, 0 FAIL, with node on PATH. Every new free grader sorts its pass and fail samples.scripts/check-changelog-fragments.sh --check-required origin/main: exit 0.scripts/check-affected.sh --testson the first commit: 13 passed, 3 skipped.-j 2.dotnet buildand every temp-file step failed.smoke-runandproject-check-runfails in that run measure the sandbox, not the plugin.Remaining on #9953
regex,tool_order,tool_used,file_exists,llm,baseline) runs the artifact, so these cannot be met as written.dotnet buildin the S1 build case. A real measurement of the build cases waits on that.Related
🤖 Generated with Claude Code