Repository navigation
docs(#689): backtest infeasible (both approaches fail) — recommend descope to Layer-3 - #692
Merged
Merged
Conversation
Operationalizing scripts/analytics/ready-backtest.ts --run surfaced that the documented "checkout pre-fix-sha, run ready" harness is invalid: 1. Full-weight QA's stale-branch gate (#683 AC-2) blocks every replay — corpus pre-fix commits are far behind main (#467 = 171, threshold 5) → STALE_BRANCH exit before review. 2. A detached pre-fix checkout has no candidate diff (git diff origin/main...<pre-fix> = 0 files) — the change under review isn't present. 3. The clean control (#677) needs the post-fix state, not pre-fix. Documents two candidate redesigns — (A) `ready --base <sha>` replaying fix on the era base; (B) revert-the-fix on current main (no new feature) — with trade-offs, and flips Execution status to "blocked on redesign." Adds a --run warning in the driver so nobody burns a known-broken run. Entire-Checkpoint: b027dd27f8bb
3 tasks
…yer-3 Tested the revert-on-main approach (B) on #573 — git revert conflicts immediately on skills/qa/SKILL.md (high-churn). Survey: 7/10 derivable corpus fixes touch high-churn files (qa/run/skills/batch-executor/phase-executor) so their reverts conflict; the other 3 are the low-confidence docs commits with no code defect to revert. So BOTH replay approaches are non-viable for an automated run (A: stale-gate/empty-diff; B: revert conflicts on drift). Conclusion: automated historical backtest isn't cost-effective. The guarantees AC-7 cares about are already pinned by ready-gate.test.ts in CI; the realistic validation is Layer-3 forward shadow dogfood (candidate diff exists by construction). Recommend descoping AC-7 to the forward cohort. Also dedupes a repeated Scoring-rubric block. Entire-Checkpoint: 38c4e0cf8db2
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.
Captures the outcome of trying to operationalize the Layer-2 backtest (#689 / #683 AC-7): the automated historical backtest is infeasible, with evidence for both candidate approaches.
Approach A (checkout pre-fix, run
ready) — blocked: full-weight QA's stale-branch gate fires on every old commit (#467 is 171 behind, threshold 5), andgit diff origin/main...<pre-fix>is empty (no candidate diff).Approach B (revert-the-fix on current main) — also blocked:
git revertconflicts on high-churn files. 7/10 derivable corpus fixes touchqa/SKILL.md/run.ts/skills/; the other 3 are docs commits with no defect to revert.Recommendation: descope AC-7's "measured historical recall" to Layer-3 forward shadow dogfood (the candidate diff exists by construction there). The guarantees AC-7 cares about are already CI-pinned by
ready-gate.test.ts. This doc is retained as the record of why backtest-against-history was abandoned.Doc-only; does NOT close #689 (Layer-3 dogfood + promotion call remain).
🤖 Generated with Claude Code