Skip to content

Commit 5574bc6

Browse files
committed
Add v0.2 planning toolkit
1 parent 407cc61 commit 5574bc6

45 files changed

Lines changed: 4481 additions & 41 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
jq empty reports/future-work/hrm-neural-mapping/calibration-plan.json
4343
jq empty reports/future-work/hrm-neural-mapping/complex-unitary-mesh-support.json
4444
jq empty reports/future-work/hrm-neural-mapping/error-budget-report.json
45+
jq empty reports/future-work/hrm-neural-mapping/hardware-design-space-analysis.json
46+
jq empty reports/future-work/hrm-neural-mapping/hardware-design-space-sweep.json
4547
jq empty reports/future-work/hrm-neural-mapping/hardware-requirements-analysis.json
4648
jq empty reports/future-work/hrm-neural-mapping/hardware-requirements-envelope.json
4749
jq empty reports/future-work/hrm-neural-mapping/hardware-scenario-analysis.json
@@ -50,6 +52,10 @@ jobs:
5052
jq empty reports/future-work/hrm-neural-mapping/layer-stack-error-analysis.json
5153
jq empty reports/future-work/hrm-neural-mapping/matrix-family-benchmark.json
5254
jq empty reports/future-work/hrm-neural-mapping/matrix-family-analysis.json
55+
jq empty reports/future-work/hrm-neural-mapping/model-export-adapter-demo.json
56+
jq empty reports/future-work/hrm-neural-mapping/model-export-adapter-validation.json
57+
jq empty reports/future-work/hrm-neural-mapping/model-portfolio-benchmark.json
58+
jq empty reports/future-work/hrm-neural-mapping/model-portfolio-ranking.json
5359
jq empty reports/future-work/hrm-neural-mapping/model-to-hrm-decision-report.json
5460
jq empty reports/future-work/hrm-neural-mapping/model-weight-import-demo.json
5561
jq empty reports/future-work/hrm-neural-mapping/model-weight-eligibility-analysis.json
@@ -70,6 +76,7 @@ jobs:
7076
jq empty reports/future-work/hrm-neural-mapping/stage-6-measured-transfer-matrix-gate.json
7177
jq empty reports/future-work/hrm-neural-mapping/stage-7-hardware-benchmark-gate.json
7278
jq empty reports/future-work/hrm-neural-mapping/transfer-matrix-assimilation-plan.json
79+
jq empty reports/future-work/hrm-neural-mapping/transfer-matrix-ingestion-sandbox.json
7380
jq empty reports/future-work/hrm-neural-mapping/v0.1.0-rc1-readiness.json
7481
jq empty reports/future-work/hrm-neural-mapping/validation-ladder-summary.json
7582

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ json:
1717
jq empty reports/future-work/hrm-neural-mapping/calibration-plan.json
1818
jq empty reports/future-work/hrm-neural-mapping/complex-unitary-mesh-support.json
1919
jq empty reports/future-work/hrm-neural-mapping/error-budget-report.json
20+
jq empty reports/future-work/hrm-neural-mapping/hardware-design-space-analysis.json
21+
jq empty reports/future-work/hrm-neural-mapping/hardware-design-space-sweep.json
2022
jq empty reports/future-work/hrm-neural-mapping/hardware-requirements-analysis.json
2123
jq empty reports/future-work/hrm-neural-mapping/hardware-requirements-envelope.json
2224
jq empty reports/future-work/hrm-neural-mapping/hardware-scenario-analysis.json
@@ -25,6 +27,10 @@ json:
2527
jq empty reports/future-work/hrm-neural-mapping/layer-stack-error-analysis.json
2628
jq empty reports/future-work/hrm-neural-mapping/matrix-family-benchmark.json
2729
jq empty reports/future-work/hrm-neural-mapping/matrix-family-analysis.json
30+
jq empty reports/future-work/hrm-neural-mapping/model-export-adapter-demo.json
31+
jq empty reports/future-work/hrm-neural-mapping/model-export-adapter-validation.json
32+
jq empty reports/future-work/hrm-neural-mapping/model-portfolio-benchmark.json
33+
jq empty reports/future-work/hrm-neural-mapping/model-portfolio-ranking.json
2834
jq empty reports/future-work/hrm-neural-mapping/model-to-hrm-decision-report.json
2935
jq empty reports/future-work/hrm-neural-mapping/model-weight-import-demo.json
3036
jq empty reports/future-work/hrm-neural-mapping/model-weight-eligibility-analysis.json
@@ -45,6 +51,7 @@ json:
4551
jq empty reports/future-work/hrm-neural-mapping/stage-6-measured-transfer-matrix-gate.json
4652
jq empty reports/future-work/hrm-neural-mapping/stage-7-hardware-benchmark-gate.json
4753
jq empty reports/future-work/hrm-neural-mapping/transfer-matrix-assimilation-plan.json
54+
jq empty reports/future-work/hrm-neural-mapping/transfer-matrix-ingestion-sandbox.json
4855
jq empty reports/future-work/hrm-neural-mapping/v0.1.0-rc1-readiness.json
4956
jq empty reports/future-work/hrm-neural-mapping/validation-ladder-summary.json
5057

README.md

Lines changed: 78 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ Key files:
143143
- `complex-unitary-mesh-support.json`
144144
- `error-budget-report.json`
145145
- `error-budget-analysis.md`
146+
- `hardware-design-space-sweep.json`
147+
- `hardware-design-space-analysis.json`
148+
- `hardware-design-space-pareto.md`
146149
- `hardware-requirements-envelope.json`
147150
- `hardware-requirements-analysis.json`
148151
- `hardware-scenario-estimates.json`
@@ -151,6 +154,11 @@ Key files:
151154
- `layer-stack-error-analysis.json`
152155
- `matrix-family-benchmark.json`
153156
- `matrix-family-analysis.json`
157+
- `model-export-adapter-demo.json`
158+
- `model-export-adapter-validation.json`
159+
- `model-portfolio-benchmark.json`
160+
- `model-portfolio-ranking.json`
161+
- `model-portfolio-decision-summary.md`
154162
- `model-to-hrm-decision-report.json`
155163
- `model-to-hrm-decision-report.md`
156164
- `model-weight-import-demo.json`
@@ -177,6 +185,7 @@ Key files:
177185
- `stage-6-measured-transfer-matrix-gate.json`
178186
- `stage-7-hardware-benchmark-gate.json`
179187
- `transfer-matrix-assimilation-plan.json`
188+
- `transfer-matrix-ingestion-sandbox.json`
180189
- `v0.1.0-rc1-readiness.json`
181190
- `v0.1.0-rc1-readiness.md`
182191
- `validation-ladder-summary.json`
@@ -194,9 +203,14 @@ Schema documentation for future hardware evidence gates:
194203
- `docs/future-work/measured-transfer-matrix-fixture-schema.md`
195204
- `docs/future-work/hardware-benchmark-acceptance-schema.md`
196205
- `docs/future-work/model-weight-manifest-schema.md`
206+
- `docs/future-work/model-export-adapter-protocol.md`
197207
- `docs/future-work/transfer-matrix-assimilation-protocol.md`
198208
- `docs/ROADMAP-v0.2.md`
199209

210+
The static dashboard is written to:
211+
212+
- `dashboard/index.html`
213+
200214
## Stage 2 Interpretation
201215

202216
Stage 2 is complete only as an abstract mesh simulation.
@@ -392,6 +406,59 @@ The scaling reports do not claim hardware latency, hardware throughput, hardware
392406
energy efficiency, accelerator performance, foundry calibration, measured
393407
transfer matrices, or production inference readiness.
394408

409+
## v0.2 Planning Toolkit
410+
411+
Post-v0.1.0 work extends the simulation-only framework into a more usable
412+
planning toolkit without changing hardware evidence status.
413+
414+
The model-portfolio artifacts are:
415+
416+
- `model-portfolio-benchmark.json`
417+
- `model-portfolio-ranking.json`
418+
- `model-portfolio-decision-summary.md`
419+
420+
They compare `tiny_mlp`, `projection_chain`, `low_rank_adapter_demo`,
421+
`sparse_linear_demo`, and `transformer_block_manifest_only` fixtures. The
422+
ranking is a simulation-only planning label, not hardware evidence.
423+
424+
The optional export-adapter artifacts are:
425+
426+
- `model-export-adapter-demo.json`
427+
- `model-export-adapter-validation.json`
428+
- `docs/future-work/model-export-adapter-protocol.md`
429+
430+
They define how an external framework exporter can write the existing manifest
431+
format. PyTorch remains optional and is not a required dependency.
432+
433+
The design-space explorer artifacts are:
434+
435+
- `hardware-design-space-sweep.json`
436+
- `hardware-design-space-analysis.json`
437+
- `hardware-design-space-pareto.md`
438+
439+
They sweep phase bits, insertion loss, phase noise, and calibration interval
440+
proxies. Latency and energy fields are deterministic planning proxies only.
441+
442+
The transfer-matrix ingestion sandbox artifact is:
443+
444+
- `transfer-matrix-ingestion-sandbox.json`
445+
446+
It uses a synthetic test-only fixture to exercise ingestion, normalization, and
447+
target-vs-observed comparison logic. It is not measured transfer-matrix
448+
evidence and it keeps Stage 6 blocked.
449+
450+
The CLI and dashboard artifacts are:
451+
452+
- `hrmwtp check`
453+
- `hrmwtp regenerate`
454+
- `hrmwtp summary`
455+
- `hrmwtp decision`
456+
- `hrmwtp list-reports`
457+
- `dashboard/index.html`
458+
459+
The dashboard is static HTML summarizing generated simulation reports. It is not
460+
hardware evidence.
461+
395462
## Planning Reports
396463

397464
Post-alpha.12 planning reports turn the simulation-only framework into a
@@ -626,12 +693,21 @@ Completed post-alpha.12 main work:
626693
- model-to-HRM decision report added for suitability, error, scenario, requirement, and missing-evidence review.
627694
- v0.1.0-rc.1 readiness report and `docs/ROADMAP-v0.2.md` added for release-candidate review.
628695

696+
Completed v0.2.0-alpha.1 main work:
697+
698+
- model portfolio benchmark and ranking added for five deterministic model fixtures.
699+
- optional model-export adapter protocol added without a hard PyTorch dependency.
700+
- design-space explorer added for phase bits, loss, noise, and calibration interval planning proxies.
701+
- synthetic transfer-matrix ingestion sandbox added while keeping Stage 6 blocked.
702+
- `hrmwtp` CLI added for check, regenerate, summary, decision, and report-list workflows.
703+
- static dashboard added at `dashboard/index.html`.
704+
629705
Near-term:
630706

631707
- keep CI green for report generation, JSON validation, hashes, tests, local-path hygiene, and claim-boundary checks
632-
- review `v0.1.0-rc.1` readiness artifacts before tagging a release candidate
708+
- review `v0.2.0-alpha.1` artifacts before broadening model fixtures
633709
- keep Stage 5, Stage 6, and Stage 7 blocked until real external evidence exists
634-
- use `docs/ROADMAP-v0.2.md` to plan optional exporters, richer fixtures, and measured-data ingestion only when real data exists
710+
- keep synthetic transfer-matrix sandbox outputs separate from public measured evidence
635711

636712
Later, only when evidence exists:
637713

dashboard/index.html

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<title>HRM Planning Dashboard</title>
7+
<style>
8+
body { font-family: system-ui, sans-serif; margin: 2rem; color: #172026; background: #f7f8f4; }
9+
header { max-width: 920px; }
10+
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 2rem 0; }
11+
section { background: #ffffff; border: 1px solid #d5d9ce; border-radius: 8px; padding: 1rem; }
12+
h1, h2 { margin: 0 0 0.5rem; }
13+
table { border-collapse: collapse; width: 100%; background: #ffffff; }
14+
th, td { border: 1px solid #d5d9ce; padding: 0.5rem; text-align: left; }
15+
th { background: #e9ece2; }
16+
code { background: #ecefe8; padding: 0.1rem 0.25rem; border-radius: 4px; }
17+
</style>
18+
</head>
19+
<body>
20+
<header>
21+
<h1>HRM Simulation Planning Dashboard</h1>
22+
<p>This static dashboard summarizes simulation-only reports. It is not hardware evidence.</p>
23+
</header>
24+
<main>
25+
<div class="grid">
26+
<section><h2>Decision</h2><p>blocked_by_missing_hardware_evidence</p></section>
27+
<section><h2>Suitability Score</h2><p>87.647</p></section>
28+
<section><h2>Best Portfolio Candidate</h2><p>low_rank_adapter_demo</p></section>
29+
<section><h2>Design Pareto Candidates</h2><p>4</p></section>
30+
<section><h2>Hardware Gates Blocked</h2><p>3</p></section>
31+
</div>
32+
<h2>Stage Status</h2>
33+
<table>
34+
<thead><tr><th>Stage</th><th>Report</th><th>Status</th><th>Evidence Level</th></tr></thead>
35+
<tbody><tr><td>0</td><td>stage-0-specification</td><td>complete</td><td>theoretical_extension</td></tr>
36+
<tr><td>1</td><td>stage-1-svd-demo</td><td>complete</td><td>numerical_simulation</td></tr>
37+
<tr><td>2</td><td>stage-2-mesh-constrained</td><td>complete</td><td>abstract_mesh_simulation</td></tr>
38+
<tr><td>3</td><td>stage-3-perturbation-model</td><td>complete</td><td>uncalibrated_perturbation_simulation</td></tr>
39+
<tr><td>4</td><td>stage-4-simulated-calibration</td><td>complete</td><td>synthetic_calibration_simulation</td></tr>
40+
<tr><td>5</td><td>stage-5-foundry-calibration-gate</td><td>blocked</td><td>foundry_calibration_gate</td></tr>
41+
<tr><td>6</td><td>stage-6-measured-transfer-matrix-gate</td><td>blocked</td><td>measured_transfer_matrix_gate</td></tr>
42+
<tr><td>7</td><td>stage-7-hardware-benchmark-gate</td><td>blocked</td><td>hardware_benchmark_gate</td></tr></tbody>
43+
</table>
44+
<p>Claim boundary: hardware validation, foundry calibration, measured transfer matrices, and production inference readiness remain false.</p>
45+
</main>
46+
</body>
47+
</html>

docs/ROADMAP-v0.2.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ Stage 5, Stage 6, and Stage 7 remain blocked by default.
55

66
## Recommended Work
77

8-
- optional PyTorch export adapter that emits the existing manifest format without adding a hard runtime dependency
9-
- larger deterministic model manifest fixtures
10-
- richer model suitability scoring with unsupported-layer penalties
11-
- transfer-matrix measured-data ingestion only when real measured artifacts exist
12-
- optional visualization dashboard for generated reports
13-
- stronger synthetic calibration models with explicit limitations
14-
- foundry or PDK integration only with real external evidence
8+
- expand the model portfolio beyond deterministic fixtures
9+
- add richer optional PyTorch export adapter examples while keeping framework dependencies optional
10+
- improve design-space objective functions with measured data only when real evidence exists
11+
- keep synthetic transfer-matrix ingestion sandbox separate from Stage 6 public evidence
12+
- extend the static dashboard with report filtering
13+
- strengthen synthetic calibration models with explicit limitations
14+
- add foundry or PDK integration only with real external evidence
1515

1616
## Claim Boundary
1717

0 commit comments

Comments
 (0)