Repository navigation
v1.91.156.0 fix(evals): office-hours marathon fixture loads the formatter's imports; validator checks the observed cap fixes (#3246) - #3309
Conversation
… closure; validator gets the observed cap fixes (#3246) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
|
flaky: office-hours-section-loading, failed in local focused run capy-census-red-office-hours-section-loading-1792435886 (round-2 reviewer subagent used Edit on round-2.json after a seal error, despite the prompt's "Do not use Edit"; validator: "round 2 artifact differs from its observed Write"), passed on rerun capy-census-red-ohsl-repair2-1792437571, logged for the daily flaky-fix pass |
…e-oct19 Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
E2E Evals: ✅ PASS (reused: main moved, R2)No paid case ran on Verdict reuse (R2a restamp-only, R2 main moved): a changed own diff, a non-stamp byte, a changed selection, a newer red or unbound gate, or a missing binding or receipt runs the full gate; the evals-fresh label opts out. Free Tests and every other check still ran on this head. |
…e-oct19 Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
…e-oct19 Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
…-fix validation) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Closes #3246.
The weekly marathon's
office-hours-section-loadingcase has been red since #3164 (Oct 13), because of two test defects. Neither is a product defect.1. The fixture didn't copy every module the formatter imports. The test copied
bin/gstack-office-hours-reviewfrom a hand-kept list (lib/office-hours-review.ts,lib/fs-atomic.ts). #3164 addedlib/spec-review-cap.tsto the formatter's imports, so in marathon run 39032308051 everyprepare/finalizefailed withCannot find module '../lib/spec-review-cap.ts'. The agent correctly declared the review UNREVIEWED and saved the failure to a file, and the validator then failed with "unreviewed report lacks a saved failure reason".test/helpers/office-hours-formatter-fixture.tsnow copies the formatter together with its relative-import closure. A free test intest/office-hours-review.test.tsruns the copied CLI and fails on any missing module; the old three-file list reproduces the exact marathon error. The case's touchfiles gainlib/spec-review-cap.tsand the helper.2. The validator never received the
--fixeslist. Once the module was restored, a focused paid run reached the cap path. The agent applied the two remaining blocking fixes and ranfinalize --fixes, and the formatter recorded "issues verified: 2 of 2". But the marathon test never passedfixestovalidateOfficeHoursReviewArtifacts(the field #3164 added), so the validator recomputed "2 fixes unconfirmed" and failed with "Spec Review does not match the complete saved evidence and computed metrics".observedSpecFixes()returns the last valid fixes list the agent saved with Write, and the marathon test passes it in. A free test intest/office-hours-completion.test.tsdrives the realfinalize --fixesat the cap and checks three cases: the observed list validates, no list reproduces the marathon mismatch, and a list naming a different finding still fails.Gate integrity. Gate edits: the marathon test's fixture copy and the evidence it hands the existing validator. No assertion, threshold, trial count, case kind, judge or budget changed. Negative controls are in both free tests: the missing-module error, the missing-fixes mismatch, and the wrong-finding mismatch.
Validation.
office-hours-section-loading(marathon, Opus 5.5), one trial each:--fixescap path ($1.90).typecheckandtypecheck:testclean; remote pregate on Ubicloud: 268 files, 9040 tests, 0 failed.