TheYuchen commited on
Commit
7f93d93
·
1 Parent(s): f25d955

Update evidence-workbench doc: waves A-D shipped, backlog pruned

Browse files
Files changed (1) hide show
  1. docs/EVIDENCE_WORKBENCH.md +46 -9
docs/EVIDENCE_WORKBENCH.md CHANGED
@@ -54,17 +54,54 @@ All verified on the live Space (pinned replay reproduces bit-exact;
54
  5-replicate distribution accumulation; signature on QuCAD pruning of
55
  vqc_2q_small showed P-2; interval-overlap callout fires).
56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  ## Not done yet (ordered backlog)
58
 
59
- * **Phase 2.5** — gate-level circuit diff (qubit-lane aligned,
60
- changed gates highlighted) in the signature card. Demo scale only
61
- (≤10q); big circuits → cite Quantivine as the scaling story.
62
- * **Phase 3.5** — comparison upgrades: pick-which-fidelity-node,
63
- dual-canvas visual diff, >2-way comparison table.
64
- * **Phase 4** — cost preview (per-node runtime estimates, replicate
65
- budget), reproducibility export (manifest + runnable script,
66
- extend exportPython with seed), opt-in interaction logging
67
- (schema first — needed for the user study).
68
  * **Seeding audit** — QuBound LSTM training and Qshot pilot runs are
69
  stochastic but not yet seed-plumbed; only sampled fidelity is.
70
  Their distribution payloads are also missing.
 
54
  5-replicate distribution accumulation; signature on QuCAD pruning of
55
  vqc_2q_small showed P-2; interval-overlap callout fires).
56
 
57
+ ## Shipped, second push (waves A–D, commits cfb84a4 → f25d955)
58
+
59
+ 7. **Provenance lineage view** — history is now a real visualization:
60
+ SVG lineage gutter (dots hued by config_hash, rings = pinned seed,
61
+ hollow+slash = errored, bezier forked_from edges, lane bands for
62
+ replicate groups), per-group distribution strips (dots on 0-1 with
63
+ mean tick, buildup visible over time), hover = lineage-chain
64
+ highlight. No new deps.
65
+ 8. **Delta-strip signature glyph** — designed SVG glyph replaces text
66
+ chips: fixed channel order D/G/P/Q, diverging bars around a zero
67
+ axis (left/green = decrease = optimizer goal, right/amber =
68
+ increase, qubits neutral), relative-change normalization capped at
69
+ ±100%, constant silhouette via zero-ticks. Tile (46×14) and card
70
+ (180×56) sizes; used on canvas nodes, results cards, comparison
71
+ table. Per-op diverging bar list in the card.
72
+ 9. **Gate-level circuit diff** — backend circuit_diff.py tokenizes
73
+ per-qubit lanes (op + 3dp param fingerprint, ·c/·t role tags) and
74
+ LCS-aligns before/after; executor copies the circuit pre-dispatch
75
+ (mutation-proof) and stamps gate_diff into the transformation
76
+ payload (≤12q, ≤600 gates, else truncated). Frontend lane view in
77
+ the signature card (kept dimmed / removed green strikethrough /
78
+ added amber). Live-verified: QuCAD on vqc_2q_small shows
79
+ ry(theta_0) removed → ry(0) added, cx kept.
80
+ 10. **Evidence pane IA** — pane renamed Evidence with three tabs
81
+ (Current run / History / Compare), count badges, auto-switch on
82
+ run start and on second compare selection.
83
+ 11. **Comparison shared-prefix folding** — identical leading steps
84
+ fold into one expandable row; first divergence gets an accent
85
+ marker ("where do these compositions part ways?").
86
+ 12. **Reproducible export** — exported Python embeds the provenance
87
+ header (run_id/seed_mode/root_seed/app_version) and a
88
+ _derive_seed helper reproducing the backend's per-node seed
89
+ derivation, threaded into sampled fidelity as seed_simulator; the
90
+ exported script reproduces the archived run's exact draw.
91
+
92
+ Backend test lane: 49 green (test_provenance_phase0 24,
93
+ test_gate_diff 14, test_workflow_helpers 11).
94
+
95
  ## Not done yet (ordered backlog)
96
 
97
+ * **Phase 3.5 leftovers** — pick-which-fidelity-node in comparison,
98
+ dual-canvas visual diff, >2-way comparison.
99
+ * **Phase 4 leftovers** — cost preview (per-node runtime estimates,
100
+ replicate budget); opt-in interaction logging (schema first —
101
+ needed for the user study). Reproducible export is DONE.
102
+ * **Gate-diff niceties** — pair remove+add of the same op with only a
103
+ param change into a "modified" state; column-align lanes across
104
+ qubits by circuit moment.
 
105
  * **Seeding audit** — QuBound LSTM training and Qshot pilot runs are
106
  stochastic but not yet seed-plumbed; only sampled fidelity is.
107
  Their distribution payloads are also missing.