Files
worldmonitor/docs/api/ForecastService.openapi.json
Elie Habib dca83bb5e5 feat(forecast): simulation confidence sub-bar in ForecastPanel (#2526)
Add three fields to Forecast proto (simulation_adjustment,
sim_path_confidence, demoted_by_simulation) and implement a
thin colored underbar below each forecast title that encodes
simulation evidence without adding columns or text clutter.

Visual design (Option D):
- 2px colored bar, width = sim path confidence for positive adj,
  100% for negative/demoted (structural, not confidence-dependent)
- Green ≥0.70 conf, amber <0.70, orange negative, red demoted
- Opacity 0.45 at rest; 0.9 + text label on hover
- Plain language hover labels: "AI signal · +8%", "AI caution · −12%",
  "AI flag: dropped · −15%" — no "sim" jargon visible to users
- Demoted rows dim to opacity 0.5

Passes through simulation fields in buildPublishedForecastPayload.
No chip renders until the ExpandedPath → Forecast plumbing lands
(follow-up PR); all rendering code is ready and typecheck clean.

🤖 Generated with Claude Sonnet 4.6 via Claude Code + Compound Engineering v2.49.0

Co-authored-by: Claude Sonnet 4.6 (200K context) <noreply@anthropic.com>
2026-03-29 23:03:03 +04:00

11 KiB