Repository navigation
Description
Task
T-111b· Milestone M8 — Dashboard · Size M · Priority P0 · Epic #8Implements FR-DSH-004 · FR-RSK-004 · PR-07
Branch
feat/t-111b-risk-atlas-screen-pair-matrix— one task = one branch = one PR (doc 32 §6)
Summary
Implement features/atlas/ per doc 13 §3.6: upper-triangle small multiples, enlarge on click, anchor (nominal / case medoid) + sliders re-querying /risk/slice, stacked volume bar with Wilson CIs and robustness score, 'Probe here' → manual run (UC-05).
Context / motivation
US-006: operating-envelope map.
Scope
In scope
- Debounced slider queries; cached per (pair, anchor, values).
Implementation guidance
features/atlas/AtlasPage.tsx(tabatlas):PairMatrix(upper triangle ofd×dRiskHeatmap thumbnails at low resolution),SliceView(enlarged atrisk.slice_resolutionexposed via/meta),AnchorControls(nominal | case medoid; sliders for non-axis params →anchorvalues, debounced viaatlasConfig.ts),VolumeGauge(stacked SAFE/UNCERTAIN/FAILURE with Wilson CI whiskers and the robustness score),ProbeHereDialog(click → confirm physical values →POST /campaigns/{id}/runsmanual run, repeats default 1).- Query keys include anchor + resolution for caching; prefetch neighbouring pairs on hover.
- URL state: selected pair and anchor in search params (shareable link).
- Standards: respect the layering contracts (doc 16 §2) and conventions in doc 34; no hard-coded tunables — thresholds/defaults come from typed settings (doc 27); no magic numbers (ruff
PLR2004); public APIs typed (mypy strict) and documented.
Acceptance criteria
- Probe-here creates a manual run with the clicked values (MSW).
- Anchor change re-queries.
- A shared URL restores the same view.
- The probe-here run appears in the console stream via SSE.
- Tests listed below added and green in CI; coverage of new code meets the gate in doc 18 §3.
- Docs, config reference and CHANGELOG
Unreleasedupdated where behaviour, keys or interfaces changed. - Definition of Done (doc 32 §3) satisfied.
Tests required
features/atlas/*.test.tsx.
Dependencies
Blocked by: #178 (T-111a), #167 (T-086b)
Blocks: #187 (T-118)
Parallelization notes
Files / paths owned by this task — avoid editing other paths; shared files (pyproject.toml entry points, cli/main.py, api/routers/__init__.py, router.tsx, docker/compose.yaml, ci.yml) are append-only:
web/src/features/atlas/**
Independent folder.
Definition of Done
Per doc 32 §3 and AGENTS.md §5: lint, format, mypy strict and import-linter green; tests added and passing; docs updated; PR template completed with Closes #<this issue>; Conventional Commit messages referencing T-111b (doc 16 §6); commits authored only by the repository owner identity (AGENTS.md §4); CI green; reviewer checklist (doc 32 §5.1) satisfied.
References
Design docs: doc 13 §3.6 · doc 12 §3.4 · doc 03 §UC-05 · doc 09 §5.4
Requirements: FR-DSH-004 · FR-RSK-004 · PR-07 (traceability: doc 28)
Metadata
Metadata
Assignees
Labels
Projects
- StatusShow more project fieldsBacklog
Activity
Build Risk Atlas and Trials dashboard (#305)
test(web): verify Atlas probes reach the live Console (T-111b) (#314)
fix(web): debounce Risk Atlas anchor edits (T-111b) (#317)
CodewithJha commentedon Nov 22, 2026
Shipped on main (merged PR).
feat(api): complete risk, replay and durable reports (T-082/T-084) (#318
fix(runner): execute Casebook and Atlas follow-up runs (T-110a) (#323)