Commit graph

2 commits

Author SHA1 Message Date
lekss361
b0d48164b6 fix(sf-b4): price_per_m2 → price_per_m2_rub (actual column name in objective_lots)
Worker used wrong column name in KPI 3 query — would always raise
UndefinedColumn at runtime and fall back to hardcoded defaults instead
of returning real data. Verified column name via vault
Objective_Data_Source_May17.md + earlier postgres MCP query.

Also resolves merge with hotfix #337 (pilot.py EmailStr drop) — no
actual conflict, just sync with new main.
2026-05-18 00:37:03 +03:00
lekss361
6d66c8b27f feat(sf-b4): GET /landing/stats — 5 KPI + paradox for landing page hero
New router backend/app/api/v1/landing.py with GET /api/v1/landing/stats.
Queries domrf_kn_objects, rosreestr_deals_* (pg_class), objective_lots,
objective_complex_mapping; falls back to hardcoded defaults on empty DB.
2026-05-18 00:02:02 +03:00