gendesign/tradein-mvp/backend
lekss361 c4f1978ed0 feat(tradein-estimator): tiered house-match S→H→W (same-house, class, wide)
Currently year/house_type only influence relevance sort. For a 17-эт. 1975
building we returned 5-9 эт. брежневки as analogs.

Three tiers:
- S (same building): address ILIKE prefix, ≥3 → return only these
- H (same class): year ±15, total_floors ±30%, ≥5 → return
- W (wide): current logic without year/floors WHERE filter

Tier propagated to confidence_explanation so user sees why analogs may differ.

Source: estimate a0a0b820-e8a8-4eee-aa73-0ab3b98ac233.
2026-05-24 14:59:45 +03:00
..
app feat(tradein-estimator): tiered house-match S→H→W (same-house, class, wide) 2026-05-24 14:59:45 +03:00
data/sql fix(tradein-avito): strip Emotion CSS from listings.address (#502) 2026-05-24 10:52:50 +00:00
tests fix(tradein-estimator): atomic IMV link, batched yandex history, drop redundant CAST (#509) 2026-05-24 11:18: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