feat(forecast): in-app scoring transparency (subsection 6.5) (#958) #1120

Merged
bot-backend merged 1 commit from feat/forecast-scoring-panel into main 2026-06-07 10:08:29 +00:00

1 commit

Author SHA1 Message Date
a04f2d98fc feat(forecast): render scoring transparency (§13.6) as in-app subsection 6.5
All checks were successful
CI / backend-tests (push) Has been skipped
CI / changes (push) Successful in 7s
CI / changes (pull_request) Successful in 6s
CI / backend-tests (pull_request) Has been skipped
Surface the product-score + special-index breakdown behind the overall KPI
as two token-bar groups in Section 6 (6.5), sidebar anchor section-6-5.
Product scores use a 0..1 quality gradient anchored on the documented 0.5
balance point (>=0.55 strong / 0.45-0.55 mid / <0.45 weak; risk scores are
pre-inverted so higher=better); special indices use a neutral accent
(value = signal strength, direction non-uniform). Null values render as
«нет данных», never a 0-bar that implies a real zero. Graceful on
absent/partial/202-pending.

- types/forecast.ts: ReportScoring + nested (dict-keyed scores/indices)
- ForecastScoringBlock.tsx: two bar groups, a11y, null-distinct rendering
- forecast-helpers.ts: scoreVariant/scoreBarWidthPct + RU label maps
- Section6Forecast + sidebar nav: wire 6.5

Part of #958.
2026-06-07 15:07:54 +05:00