Replace dev-jargon with plain RU across the §22 forecast report (6.2/6.3/6.5 + deficit/затоварка legend). Source of truth = backend reason strings + the frontend RU maps; text/render-only, no scoring/forecast math touched. Backend (source of truth): - scenarios.py _COLLAPSE_REASON_LOW_BETA: «β rate-sensitivity не прошёл gate …» → «чувствительность к ставке не оценена на коротком ряде ЕКБ → один базовый сценарий вместо трёх». - confidence_engine.py _coverage_factor: drop «domrf↔objective» jargon, say it affects будущее предложение/конкуренцию. New _history_factor: «глубина истории N мес» + на что влияет + связь с 6.2 (короткий ряд → один сценарий). Frontend (both Section-6 families — live analysis page + ptica cockpit): - Deficit legend: −1 затоварка / 0 баланс / +1 острый дефицит + actionable трактовка; MOI tied to «сколько месяцев район распродаёт предложение». - 6.2 heading «Почему один сценарий, а не три» over the collapse reason. - 6.3 render confidence.rationale + weakest-link rule («скорее завысим недоверие, чем недооценим риск»); FACTOR_RU gains confounded_window/ advisory_cap; factor notes shown. - 6.5 «Вес»→«Оценка»; overall verdict vs 0.5; «Риск избытка предложения»→ «Запас по предложению»; §-refs moved from reason into tooltip; 6 special- index 1-line «что это + куда лучше» descriptions; 0.00-score reasons shown. Tests: confidence_engine (history/coverage notes), stripSectionRefs vitest. Refs #1963 |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .dockerignore | ||
| .env.example | ||
| .eslintrc.json | ||
| Dockerfile | ||
| next-env.d.ts | ||
| next.config.ts | ||
| package-lock.json | ||
| package.json | ||
| sentry.client.config.ts | ||
| sentry.edge.config.ts | ||
| sentry.server.config.ts | ||
| tsconfig.json | ||
| vitest-env.d.ts | ||
| vitest.config.ts | ||
| vitest.setup.ts | ||