gendesign/tradein-mvp/backend
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
..
app chore(tradein): remove dead mock-fallback code from trade_in.py 2026-05-24 16:04:39 +03:00
data/sql fix(tradein-sql): remove duplicate CREATE INDEX from 050 (regression from PR #500) (#515) 2026-05-24 12:16:27 +00:00
tests feat(tradein-estimator): tiered house-match S→H→W (#507) 2026-05-24 12:41:12 +00:00
.dockerignore feat: add tradein-mvp subproject (Trade-In Estimator под /trade-in) 2026-05-21 00:25:39 +03:00
Dockerfile feat: add tradein-mvp subproject (Trade-In Estimator под /trade-in) 2026-05-21 00:25:39 +03:00
pyproject.toml fix(tradein-photos): sanitize uploaded images via Pillow re-encode (#511) 2026-05-24 11:32:04 +00:00