gendesign/backend
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
..
alembic ops: alembic baseline, pre-commit, TIGER cleanup, pg_dump scripts 2026-04-26 13:08:51 +03:00
app feat(obj-3): migrate Site Finder competitors to objective_lots ground truth 2026-05-17 23:02:18 +03:00
db/init ops: alembic baseline, pre-commit, TIGER cleanup, pg_dump scripts 2026-04-26 13:08:51 +03:00
output feat(geo): NSPD bulk-fetcher без Playwright + resume-friendly UI 2026-05-11 08:53:28 +03:00
tests feat(obj-3): migrate Site Finder competitors to objective_lots ground truth 2026-05-17 23:02:18 +03:00
.dockerignore fix(scraper): диагностируем «кнопка не работает» — Redis lock + task_received log 2026-04-28 23:17:42 +03:00
.env.example feat(backend): sentry-sdk init для FastAPI + Celery (#204 backend) (#207) 2026-05-16 15:09:16 +00:00
.env.runtime.example sprint1: nspd scraper industrialization, per-bucket elasticity, cadastre cross-check, sentry releases 2026-04-30 21:51:19 +03:00
alembic.ini ops: alembic baseline, pre-commit, TIGER cleanup, pg_dump scripts 2026-04-26 13:08:51 +03:00
debug.log feat(geo): NSPD bulk-fetcher без Playwright + resume-friendly UI 2026-05-11 08:53:28 +03:00
Dockerfile fix(scraper): диагностируем «кнопка не работает» — Redis lock + task_received log 2026-04-28 23:17:42 +03:00
pyproject.toml fix(scrape-objective): stream-parse lots_pf via ijson to avoid OOM (#315) 2026-05-17 16:37:30 +00:00
uv.lock fix(scrape-objective): stream-parse lots_pf via ijson to avoid OOM (#315) 2026-05-17 16:37:30 +00:00