Repository navigation
fix(bench): a grader grades a hand-in, never a desk - #4761
Merged
Merged
Conversation
swe_verdict_sweep ran every 180 s and at boot, grading every staged copy in every citizen's workspace that had work and no fresh verdict. It graded DESKS: on 2026-10-05 it ran 385 unreadable diffs in 50 minutes over Kimi's autopilot-staged copies, though she had chosen no benchmark. work/submit now spawns benchmark_grade::grade_submission after a publish on a SWE bench card: the patch she handed in is read back from the artifact store by its published hash and graded with grade_swe in a fresh clone at the base, which records the verdict and follows it onto the board as every grade path does. A non-bench card returns at once. An infra error records the standing env refusal the sweep used to write and posts the same infra line. The desk sweep's runners (the tick and the boot reconciliation) are removed. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
joelteply
enabled auto-merge (squash)
October 5, 2026 03:34
joelteply
added a commit
that referenced
this pull request
Oct 5, 2026
…edit (#4765) Settlement fired only from a benchmark instance's recorded verdict, so a card on a project board (Career Wrangler, the paper pass) earned staged credit all day that nothing could ever settle: Kimi, 2026-10-05, 27 staged, 0 settled, and none of her real work reaching her curriculum. The room judges real work by a peer's review on the submission, so the typed review event (WorkSubmissionReviewed, already decoded once at the inbound seam for her perception) now also settles the card's credit for every resident who worked it: Passed as success, Failed as failure with the verdict kept, Unknown settles nothing. The benchmark grader posts its verdict as a review too since #4761, so inside that one game the same path serves; the code reads a review and never asks who reviewed. Pure classification (review_settlement) tested. Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Fable 5.1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agreed with Cormac and Fable: a grader grades what was handed in, never a desk.
Before:
swe_verdict_sweepran every 180 s, and once at boot, grading every staged copy in every citizen's workspace that had work and no fresh verdict. On 2026-10-05 it ran 385 unreadable diffs in 50 minutes over Kimi's autopilot-staged copies, though she had chosen no benchmark.Now:
work/submitspawnsbenchmark_grade::grade_submissionafter a successful publish on a SWE bench card.grade_swein a fresh clone at the base. That records the verdict and follows it onto the board, as every grade path does.Not in this PR, stated plainly:
work/reviewon the submission, under the grader's identity, so the citizen perceives it where she looks. It needs the review-card claim path; it is next, on top of this.swe_verdict_sweep::{sweep, sweep_if_due, pending, ...}are now unreferenced. They were the only grader for detachedagent/solveartifacts that have no card, so deleting them waits on that runner's retirement (BENCHMARKS-ARE-ADAPTERS-NOT-A-RUNNER).Tests:
benchmark_grade,swe_verdict_sweep,work::submission,verdict_board: 36 passed.🤖 Generated with Claude Code
https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc