Found by read-only services audit. - recommendation._usp_from_deficits: skip di<=0 so «стройте его» is never emitted for OVERSUPPLIED formats; all-surplus top-K → [] (no white-space niches). Aligns with product_scoring._count_positive_usp (di>0). Was: «Дефицит формата X — стройте его» for a surplus format, reaching PDF/Excel USP-ниши. - report_assembler._domrf_coverage: drop ambiguous >1.0 percent-guess; normalize per-branch (analyze pct /100, supply_layers fraction as-is). Sub-1% coverage (0.8%) no longer read as 80% → no inflated confidence in the near-zero-coverage case §15 flags. tests for both + end-to-end no-inflation. 241+148 pass. |
||
|---|---|---|
| .. | ||
| cadastre | ||
| exporters | ||
| forecasting | ||
| scrapers | ||
| site_finder | ||
| __init__.py | ||
| test_cadastre_bulk.py | ||
| test_ekburg_permits.py | ||
| test_nspd_denorm.py | ||
| test_objective_backfill.py | ||
| test_quarter_dump_lookup.py | ||
| test_recommend_mix_velocity.py | ||