Repository navigation
Conversation
…kly walls arrive systematically early) Generated by the Stage-3 re-weighting proposal generator (S6, #12700; design D5). Proposal key: caution-margin:NEAR_PCT:85->90. The full evidence pack is the PR body.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 20 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
Closed at review — wrong direction. Do not merge. Review finding (felix): the proposal's change contradicts its own evidence and its own expected-effect statement.
The generator conflated "widen the margin of safety" with "raise the number". The machinery (evidence gates, refusal path, PR-only allowlist) is unaffected; the defect is local to the caution-margin class's step direction. A fix is being dispatched against #12700: the step direction must derive from the sign of the grounding pools' median signed wall error (early walls ⇒ threshold down; late walls ⇒ threshold up), pinned by tests, and the generator re-run — if the evidence still grounds a margin step, the corrected proposal (85 → 80) will be filed as a new PR for disposition. |
… wall error (#12700) The generator proposed NEAR_PCT 85 -> 90 on evidence that weekly walls arrive systematically EARLY (positive median signed wall error). But a pool reads near at windowPercent >= NEAR_PCT (derive.ts), so raising the threshold enters caution LATER and narrows the band — the opposite of the proposal's rationale (Felix's review of the closed proposal PR #12761). The caution-margin class now derives the step direction from the sign of the grounding pools' median signed wall error: early walls (positive) step the threshold DOWN (85 -> 80, caution entered at a lower measured percent, earlier in the window); late walls (negative) step it UP. Both sides are gated identically (breadth >= 2, >= 1 precision anchor, volume gates); counter-evidence on the opposite side at any volume — materially disagreeing signs — is the named counter-evidence-present gap, never a proposal. A symmetric floor (MARGIN_MIN_PCT = 50, gap margin-at-floor) joins the existing ceiling. Step language states the mechanism (enters caution at a lower/higher measured percent); the word widen is gone. Tests pin all three outcomes: positive -> down, negative -> up, mixed -> gap, plus both bounds.
proposal(quota-plane): widen the caution margin NEAR_PCT 85 → 90 (weekly walls arrive systematically early)
Proposal key:
caution-margin:NEAR_PCT:85->90Class: caution-margin
Target: the caution margin NEAR_PCT (derive.ts), the threshold at which a pool enters the caution/near tier —
pm-stack/aggregator/src/derive.ts:85→90Rationale
Weekly walls arrive systematically earlier than the linear pace projects: meta (median signed wall error +4741.1 min over 269 scored forecasts, precision 0.529, recall 0.647); anthropic:claude-pro (median signed wall error +794.6 min over 273 scored forecasts, precision 1, recall 0.582). The caution tier is entered on measured percent at NEAR_PCT; widening it by one step (85 → 90) puts pools under caution discipline earlier in exactly the windows whose walls the forecast under-calls. D4 reserves margin changes to this proposal mechanism; the #1342 controlled A/B gate applies before the margin class becomes routine.
Evidence — accuracy record (S2)
Accuracy ledger generated 2026-11-23T00:00:54.628Z; model: quota-analytics.projectWindow pace v1 (design D2, via S1 #12695).
Store span: 20663 records (19735 percent readings), 2026-10-20T12:00:00.000Z → 2026-11-23T00:00:54.628Z.
Evidence — forecast (S1)
no forecast file supplied to this run (the accuracy ledger alone grounds the proposal; the live forecast's current projections join the pack when the generator runs against the aggregator state dir)
Evidence — shadow diff (S3)
no shadow record supplied to this run (the caution-margin class is the one S3 shadows; its diff summary joins the pack when the generator runs against the aggregator state dir, and the post-change shadow record is what S7 scores the expected effect against)
Expected effect (scored by the weekly review)
In the four weeks after this lands, the fraction of realized weekly walls in the grounding pools (meta, anthropic:claude-pro) that were preceded by at least one gatherer tick with the pool in the caution/near state rises versus the pre-change baseline computed the same way, and no scoreable weekly baseline's wall-before-reset precision falls below 0.5.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.