Repository navigation
test(code-tidying): give the tidy-diff comment-triage eval case the comment tooling - #13001
Conversation
…t tooling The case's scaffold now runs comment-tooling-seed.sh, so change-shape.sh can certify the narrating-comment deletion inside the eval sandbox, and a new narration-deleted grader checks that the deletion landed. Refs #12924 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015te8CoibZv2y2Zsidz4jvz
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: PR #13001, no security issues foundI read every hunk of all 4 changed files:
What I checked:
Spend. Eval runs draw only on prepaid API usage; the PR reports 1.31 USD across 9 runs. That is not a hold. critical-findings: 0 |
|
claude-review reviewed Code review: PR #13001 (head d3d3a09)Result: no findings. I read every hunk of all 4 changed files, so this is a complete review. What changed
Closing issue #12924, "Done when"
Non-blocking note (not counted)After this change, Other checks
|
Closes #12924
Summary
The tidy-diff comment-triage eval case could not exercise an applied, proven comment deletion. Without tree-sitter in the sandbox,
change-shape.shexits 3, so every arm could only propose the deletion. The case now installs the comment tooling and checks that the deletion lands.Fix
tidy-diff-triage-exempt-and-class-b-kept/scaffold.shcallsevals/fixtures/comment-tooling-seed.sh(from code-tidying: make the remove-comments body rules measurable #12703) before seeding.narration-deleted(with samples), requires// loop over the recordsto be gone. The expected outcome now says it is deleted behind a COMMENT-ONLY verdict.td-*cases are/code-tidying:tidy's, whose comment tidying needs no parser proof. The other fourtidy-diff-*cases list no code comment for the comment pass (two), list markdown only (one), or stop before any pass (one). The body correction on test(code-tidying): give the tidy-diff comment-triage eval case the comment tooling #12924 records this.Verification
Claude Code 2.1.318, Sonnet under test, Opus judge,
--runs 3,--ablation none. All 9 runs are VALID perrun-validity.py --scaffolded; the plan was preregistered before the first run, with the result here.narration-deletedproof-ranCOMMENT-ONLY (typescript via tree_sitter_typescript) ... exit=0fromchange-shape.sh.validate-cases.py plugins/code-tidying/evals: 0 FAIL.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_015te8CoibZv2y2Zsidz4jvz