No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#1048
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/backtest-oos-almon-seasonal"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Extends the read-only §9.6 rate-sensitivity OOS backtest harness with two opt-in candidate-method variants so #978/#979 wiring is evidence-based, not blind.
--almon(#978): newevaluate_oos_almon— Almon polynomial distributed-lag (regression.fit_almon_dl), fit on TRAIN only, point-in-timesum_j beta_j*drate[t-j]test prediction.--deseasonalize(#979): train-only month-of-year factors (normalize.seasonal_factors) divided out beforelog_diff, then the existingbest_lagevaluator.Both pin the fit to
_time_ordered_split(n_train)— no look-ahead leakage (adversarial unit tests assert the train fit is byte-identical when only the test window is corrupted). Default path (best_lag/raw) is byte-identical to before. Harness stays SELECT-only and is not in the prod image.88 tests pass, ruff clean. Deep-code-review: APPROVE (leakage/point-in-time/backward-compat independently verified).
Prod OOS findings (directional hit-rate; coin-flip 0.50; bar 0.55 + lag-stable)
best_lagon every tier, fixes lag-instability; on survivorship-free Source A clears the promotion bar (0.60). Source B (more data) 0.407 — better but sub-bar. Source A thin (~13mo) caveat applies.Wiring of #978 into the §9.6 consumer is a separate follow-up decision (this PR only adds the validation instrument).