gendesign/tradein-mvp/backend
Light1YT 2b10da6e06 feat(backtest): read-only estimator-vs-ДКП accuracy harness (#648)
Add scripts/backtest_estimator.py — measures the asking-median+IQR estimator
core against rosreestr ДКП sold prices. Reuses estimator._filter_outliers /
_percentile for fidelity; SELECT-only, no writes. Reports overall + per-rooms
bias / MAPE / p25-p75 and a city-wide ask-vs-deal spread; --json + argparse.

Prod run (sample 60): estimator over-predicts sold prices by median +29.6%
(MAPE 30.5%) — a confirmed systematic asking→sold bias (#648). Pure metric
helpers factored out and unit-tested (19 tests, no live DB).
2026-05-29 17:53:40 +05:00
..
app feat(tradein): per-source listing price history — schema + daily snapshot (#570) (#646) 2026-05-29 12:18:04 +00:00
data/sql feat(tradein): per-source listing price history — schema + daily snapshot (#570) (#646) 2026-05-29 12:18:04 +00:00
scripts feat(backtest): read-only estimator-vs-ДКП accuracy harness (#648) 2026-05-29 17:53:40 +05:00
tests feat(backtest): read-only estimator-vs-ДКП accuracy harness (#648) 2026-05-29 17:53:40 +05:00
.dockerignore feat: add tradein-mvp subproject (Trade-In Estimator под /trade-in) 2026-05-21 00:25:39 +03:00
Dockerfile feat(tradein): persistent infra для backfill scripts (PR F) (#592) 2026-05-27 06:59:54 +00:00
pyproject.toml feat(rbac): role-based access control via X-Authenticated-User middleware (#585) 2026-05-26 06:18:40 +00:00