Skip to content

Commit fc25702

Browse files
authored
Add target DB diagnostics dashboard (#8)
1 parent 2337fdf commit fc25702

11 files changed

Lines changed: 2190 additions & 32 deletions

File tree

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,25 @@ built on top of the generic `microplex` engine.
1515
- [PE construction parity](./docs/pe-construction-parity.md)
1616
- [Superseding `policyengine-us-data`](./docs/superseding-policyengine-us-data.md)
1717

18+
## Diagnostics dashboard
19+
20+
The static dashboard in `dashboard/` loads the full PE-native per-target
21+
diagnostic JSON written by:
22+
23+
```bash
24+
microplex-us-pe-native-target-diagnostics \
25+
--from-dataset /path/to/enhanced_cps_2024.h5 \
26+
--to-dataset /path/to/policyengine_us.h5 \
27+
--policyengine-targets-db /path/to/policy_data.db \
28+
--output-path artifacts/pe_native_target_diagnostics_current.json
29+
```
30+
31+
The dashboard uses the exported Cosilico design tokens from
32+
`@cosilico/config/theme.css`; run `python scripts/sync_cosilico_theme.py --check`
33+
to verify the local browser-readable token copy is still synced.
34+
When a PolicyEngine target DB is available, the JSON annotates PE-native legacy
35+
labels with structured target IDs and flags legacy-only gaps.
36+
1837
## Current focus
1938

2039
`microplex-us` is being built as a library-first US runtime with

0 commit comments

Comments
 (0)