Additively extend #982 build_forecast_overlay: class recommendation (§10.2, strongest aggregate deficit per class), USP-from-deficits (§10.5, top-3), degraded-honest commercial signal (§10.4, premise_kind=нежилое → available:False +caveat when thin, never fabricates), and a §16 structural reason (why/drivers/rejected/what_would_change/confidence/advisory) on every ranked segment. §16 rejected-alternatives derived from the what_to_build ranking runner-ups. Deterministic, no LLM, advisory, no new SQL. All #982 keys/behavior preserved; schema extended additively (RecommendReason + optional fields). 31 new tests (86 total recommendation+velocity green). |
||
|---|---|---|
| .. | ||
| api | ||
| integration | ||
| scrapers | ||
| services | ||
| smoke | ||
| sql | ||
| workers | ||
| __init__.py | ||
| test_admin_weight_profiles.py | ||
| test_concepts_stub.py | ||
| test_gate_verdict.py | ||
| test_health.py | ||
| test_layout_signature.py | ||
| test_layout_tz_pdf.py | ||
| test_nspd_client.py | ||
| test_nspd_sync.py | ||
| test_ping.py | ||
| test_poi_score.py | ||
| test_quarter_dump_lookup.py | ||
| test_rbac.py | ||
| test_sentry_init.py | ||
| test_velocity.py | ||
| test_weight_profiles.py | ||