gendesign/tradein-mvp/backend/app
lekss361 d97fbcd55b chore(tradein): remove dead mock-fallback code from trade_in.py
After Wave 1-4 (PRs #502/#504/#505/#508/#513/#507/#517), the real estimator
in services/estimator.py is the only path used by /estimate. The legacy
_mock_estimate / _PRICE_BANDS / _gen_analogs helpers + _estimate_legacy_mock
function were kept as a fallback during early development and are now
unreachable.

Removes:
- _EKB_STREETS, _PRICE_BANDS constants
- _floor_factor, _repair_factor, _confidence, _gen_analogs, _mock_estimate
- _estimate_legacy_mock
- unused imports (random, json, timedelta)

Verified: no external references via grep.

PR 8 of 8 — closes Decision_TradeIn_DataQuality_8PR_Roadmap.
2026-05-24 16:04:39 +03:00
..
api chore(tradein): remove dead mock-fallback code from trade_in.py 2026-05-24 16:04:39 +03:00
core feat(tradein): postgres_fdw live read of gendesign.cad_buildings (replaces snapshot) (#493) 2026-05-24 08:57:30 +00:00
schemas feat(tradein): in-app scheduler — UI-managed schedule (replaces SSH crontab) (#482) 2026-05-23 14:54:25 +00:00
services feat(tradein-estimator): tiered house-match S→H→W (#507) 2026-05-24 12:41:12 +00:00
tasks fix(tradein): geocode backfill + remove Avito exclusion from estimator (#490) 2026-05-23 20:03:48 +00:00
__init__.py feat: add tradein-mvp subproject (Trade-In Estimator под /trade-in) 2026-05-21 00:25:39 +03:00
main.py feat(tradein): postgres_fdw live read of gendesign.cad_buildings (replaces snapshot) (#493) 2026-05-24 08:57:30 +00:00