gendesign/backend/app/services/site_finder
lekss361 f3d85f4d7a
All checks were successful
CI / backend (pull_request) Successful in 1m12s
CI / frontend (pull_request) Successful in 2m14s
feat(parcels): POST /{cad_num}/competitors — active competitors in radius (Forgejo #112)
Active competitor analysis для site-finder. Радиус 0.1-1.5km, time_window
month/quarter/year, фильтр obj_class, exclude_obj_ids.

Schema correctness (review fixed 4 critical):
- snapshot_date (not snapshot_at)
- flat_count (not flats_total/flats_sold) — flats_sold/sold_pct null
- Velocity migrated domrf_kn_sale_graph -> objective_corpus_room_month
- domrf_kn_flats.status (not deal_status)

9 mock tests pass. Closes part of #112 backend.
2026-05-16 01:16:12 +03:00
..
__init__.py init 2026-04-25 13:45:19 +03:00
cadastre_fetch.py feat(site-finder): auto-fetch cadastre geometry on-demand (#93) (#95) 2026-05-12 09:02:17 +03:00
competitors.py feat(parcels): POST /{cad_num}/competitors — active competitors in radius (Forgejo #112) 2026-05-16 01:16:12 +03:00
filters.py init 2026-04-25 13:45:19 +03:00
gate_verdict.py feat(site-finder): gate verdict aggregator — can-build-MKD signal (#32 G5 sub-PR 1/2) (#142) 2026-05-15 00:59:53 +03:00
noise_loader.py feat(site-finder): isochrones UI + networks VKH + OSM substations 2026-05-11 21:48:21 +03:00
parser.py init 2026-04-25 13:45:19 +03:00
poi_loader.py feat(site-finder): v3.1 — cad_parcels_geom, analyze fallback, POI lat/lon, OSM expand 2026-05-11 19:52:19 +03:00
pzz_loader.py fix(pzz_loader): replace bare db.rollback() with SAVEPOINT per-row (#124) 2026-05-14 23:29:23 +03:00
quarter_dump_lookup.py feat(site-finder): integrate nspd_quarter_dumps cache в analyze_parcel (#94 Sprint 1.1 FINAL) (#116) 2026-05-13 09:14:19 +03:00
scorer.py init 2026-04-25 13:45:19 +03:00
velocity.py feat(velocity): per-room-bucket breakdown in VelocityResult (#163) 2026-05-15 10:09:03 +03:00
weight_profiles.py fix(site-finder): SQLAlchemy syntax error :weights::jsonb → CAST(:weights AS jsonb) (#152) 2026-05-15 08:12:18 +03:00