|
All checks were successful
CI / changes (push) Successful in 6s
CI / frontend-tests (push) Has been skipped
CI / changes (pull_request) Successful in 6s
CI / backend-tests (push) Successful in 6m26s
CI / backend-tests (pull_request) Successful in 6m21s
Deploy / changes (push) Successful in 6s
Deploy / build-worker (push) Successful in 3m10s
Deploy / deploy (push) Successful in 1m41s
CI / frontend-tests (pull_request) Has been skipped
Deploy / build-frontend (push) Has been skipped
Deploy / build-backend (push) Successful in 1m47s
Upgrade the §25.3 cannibalization index from a same-class-competitor proxy to true own-portfolio overlap: score the recommended candidate segment against the developer's own portfolio (get_own_portfolio, #1169 PR1) across axes — audience/class (ordinal distance), price ₽/м² (interval overlap), unit-mix (L1 similarity), timing (half-life decay) — geo-weighted by haversine proximity to the parcel, aggregated by geo-weighted soft-max (the strongest nearby cannibalizer dominates, not a diluting mean). Empty portfolio -> labelled proxy fallback, confidence forced low, never presented as the true index. Pure scoring fns unit-tested without DB; None-not-0 on missing axes; thin/ only-current portfolio -> low confidence + §26 note; deterministic (sorted tie-breaks, no RNG). class+price+geo active now; unit-mix+timing plumbed via optional params for a follow-up that wires them from the orchestrator horizon. ruff + mypy clean; 151 special-index tests pass (964 forecasting dir, no regr). Refs #1169 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_affordability.py | ||
| test_confidence_engine.py | ||
| test_demand_normalization.py | ||
| test_demand_supply_forecast.py | ||
| test_macro_coefficient.py | ||
| test_macro_series.py | ||
| test_normalize.py | ||
| test_orchestrator.py | ||
| test_product_scoring.py | ||
| test_rate_sensitivity.py | ||
| test_recommendation.py | ||
| test_regression.py | ||
| test_report.py | ||
| test_report_assembler.py | ||
| test_sales_series.py | ||
| test_scenarios.py | ||
| test_special_indices.py | ||
| test_what_to_build.py | ||