feat(forecasting): monthly macro series + regime classifier (#951b) #1007
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#1007
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/951b-forecasting-macro-series"
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?
Site Finder v2 / EPIC 7 — #951 sub-PR 2 (foundation). Детерминированный, без LLM, data-независимый. Часть #944.
Новый пакет
backend/app/services/forecasting/сmacro_series.py:MonthlyMacrodataclass +get_monthly_macro— key_rate (daily) → monthly last-known-value через SQLDISTINCT ON, reusemacro.get_macro_seriesдля месячных sverdl-ипотечных рядов, carry-forward key_rate по непрерывной сетке, graceful на пустой/сбое БД.classify_regime(down/up/stable, eps 0.25пп),macro_at_lag(0/1/2/3/6),is_confounded_window(COVID 2020-03, геополитика 2022-02, льготка-cutback 2024-07 — для downgrade confidence в §9.6).51 unit-тест, без live-DB. psycopg v3
CAST(:x AS type). code-reviewer opus OK (resample SQL верен, LOCF-семантика, regime-границы, lag/month-математика). Фундамент для §9.6 (rate sensitivity) + §9.5 (macro coef). Refs #951