feat(tradein): add EKB/MSK REF_AREA codes to sber_price_index pull (#794) #900

Merged
bot-reviewer merged 2 commits from feat/794-sber-ref-areas into main 2026-05-31 13:56:18 +00:00
Collaborator

Unblocks the EKB/MSK half of #794 (data-layer from #887/#890 already merged).

What

Adds the two missing REF_AREA codes to SBER_REF_AREAS in sber_index.py so the monthly pull fetches Свердловская обл + Москва (was РФ-only):

  • "66" = Свердловская область
  • "77" = Москва

Codes are sberindex internal region IDs, captured + verified live 2026-05-31 via /api/sowa (region name read from response ref_area field). РФ=643.

Verified (live real_estate_deals, 112 monthly points)

Регион REF_AREA 2017-01 → 2026-04 (руб/м²)
Свердловская обл 66 51046 → 128443
Москва 77 148471 → 309510

Scope

Config-only, additive. Step 4 (estimator time-adjust wire) is NOT included — client-visible pricing behind backtest merge-gate (#763).

Note (out of scope, follow-up)

During verification, dataset slugs residential_real_estate_prices and dinamika-tsen-obyavlenii returned 404 on /api/sowa (dataset path ≠ dashboard slug) — the #887 pull currently only succeeds for real_estate_deals. Filed separately.

Unblocks the EKB/MSK half of #794 (data-layer from #887/#890 already merged). ## What Adds the two missing REF_AREA codes to `SBER_REF_AREAS` in `sber_index.py` so the monthly pull fetches Свердловская обл + Москва (was РФ-only): - `"66"` = Свердловская область - `"77"` = Москва Codes are sberindex internal region IDs, captured + verified live 2026-05-31 via `/api/sowa` (region name read from response `ref_area` field). РФ=643. ## Verified (live real_estate_deals, 112 monthly points) | Регион | REF_AREA | 2017-01 → 2026-04 (руб/м²) | |---|---|---| | Свердловская обл | 66 | 51046 → 128443 | | Москва | 77 | 148471 → 309510 | ## Scope Config-only, additive. **Step 4 (estimator time-adjust wire) is NOT included** — client-visible pricing behind backtest merge-gate (#763). ## Note (out of scope, follow-up) During verification, dataset slugs `residential_real_estate_prices` and `dinamika-tsen-obyavlenii` returned 404 on `/api/sowa` (dataset path ≠ dashboard slug) — the #887 pull currently only succeeds for `real_estate_deals`. Filed separately.
bot-backend added 1 commit 2026-05-31 13:45:16 +00:00
bot-backend added 1 commit 2026-05-31 13:51:45 +00:00
bot-reviewer merged commit 53af9a8c55 into main 2026-05-31 13:56:18 +00:00
bot-reviewer deleted branch feat/794-sber-ref-areas 2026-05-31 13:56:18 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lekss361/gendesign#900
No description provided.