Repository navigation
fix(fusion): reject incomplete pair analysis grades - #1034
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesRequire an explicitly valid acceptance verdict before analyzing completed or graded Fusion pair rows. Example: A completed candidate row has score 1, passed true, valid false, and costs 40 micros versus the strong control's 100 micros.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR fixes a current analyzer validation gap, and the focused diff introduces no actionable correctness findings. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe offline Fusion analyzer reads benchmark JSON reports, validates outcomes and settled costs, and emits single-run comparisons or repeated pilot summaries. flowchart LR
A[Benchmark reports] --> B[Analyzer CLI]
B --> C[Shared row validation]
C --> D[Single run comparisons]
C --> E[Repeated pilot summary]
C --> F[Reject incomplete grades]
Technical reviewBest possible solution: Keep the validity check in the existing shared analyzer while preserving settled execution failures that never reached grading. Do we have a high-confidence way to reproduce the issue? Current-main source accepts an otherwise consistent passing row with verdict.valid false; zero-score rows also bypass grade-completeness checks, and repeated analysis reuses that path. Is this the best way to solve the issue? The guard is the smallest complete fix: it enforces the existing completeness contract before aggregation and leaves ungraded execution failures intact. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against cd22662c64a9. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
Likely related people:
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 13, 2026, 10:00 AM ET / 15:00 UTC. |
Summary
Pair analysis could report quality gains or cost savings from a row whose acceptance tests never completed, including a forged passing verdict. Require
valid: truefor every completed or graded row before single-run or repeated analysis. Preserve known-cost execution failures that never reached grading.Verification
Deployment and risk
No release, deployment, provider call, or production routing change. Analysis now rejects legacy or hand-authored completed rows without an explicit complete acceptance verdict; such data must be requalified rather than silently counted.