gendesign/backend/app
lekss361 50c7668046 feat(obj-3): migrate Site Finder competitors to objective_lots ground truth
Enrich competitor_rows query with pricing from objective_lots via
objective_complex_mapping JOIN backbone (domrf_obj_id → project_name).

New fields in competitors[]: avg_price_per_m2_rub (81% coverage vs 0.3%
from domrf_kn_flats), avg_area_pd, units_sold, units_available,
lots_with_price. LEFT JOIN preserves competitors without mapping (fields
= NULL), no regression on existing competitor count/order.

Also fix test_velocity.py: update _sales_row mock with has_mapping field
and VelocityResult constructor with velocity_data_available/velocity_source
fields introduced in OBJ-2 (velocity.py had diverged from test mocks).
All 33 velocity + gate_verdict tests pass.

Closes #307 (OBJ-3 sub-task)
2026-05-17 23:02:18 +03:00
..
api feat(obj-3): migrate Site Finder competitors to objective_lots ground truth 2026-05-17 23:02:18 +03:00
core fix(infra): wire GlitchTip DSNs (build-arg + env_file) + reject sentry.io promote 2026-05-16 21:48:28 +03:00
models feat(jobs): centralized job_settings API + DB-driven beat schedule 2026-05-11 15:38:13 +03:00
observability feat(backend): sentry-sdk init для FastAPI + Celery (#204 backend) (#207) 2026-05-16 15:09:16 +00:00
schemas feat(trade-in): TI-1 mock /trade-in/estimate endpoint + Pydantic + SQL migration (#316) 2026-05-17 16:45:06 +00:00
scrapers Merge pull request 'feat(#263 sub-A): cad_* overlay schemas + cadastre territorial_zones (ПЗЗ)' (#265) from feat/263-sub-a-cad-nspd-overlay-schemas-and-pzz into main 2026-05-17 07:50:08 +00:00
services feat(scrape-kn): parallel Phase B/C + wire obj_checks + documents + is_ekb auto-derive (#322) 2026-05-17 19:40:16 +00:00
workers fix(scrape-objective): stream-parse lots_pf via ijson to avoid OOM (#315) 2026-05-17 16:37:30 +00:00
__init__.py init 2026-04-25 13:45:19 +03:00
main.py feat(trade-in): TI-1 mock /trade-in/estimate endpoint + Pydantic + SQL migration (#316) 2026-05-17 16:45:06 +00:00