Inventoried font sizes, label casing, chip styles and number
formatting across the seven views. The system is already largely
convergent; three real drifts fixed, and the convention is now
written down next to the tokens (index.css UI-conventions block):
- 9px floor: the only two sub-9px labels (CompareView "divergence
point", BlockPicker "plugin" suffix) bumped from 8px to 9px.
- Section-label convention: FinalMetrics' uppercase labels were the
one instance missing tracking-wider.
- Compact-line decimals: the fidelity card's across-runs line mixed a
2dp mean with a 1dp range in one sentence — now 1dp like every
other strip/board stat (headline metrics and mono detail lines
stay 2dp; targets stay whole pp).
Deliberately NOT churned (documented instead): tracking-widest on
palette family badges (distinct role), micro-chips in 28px history
rows and tab count badges (px exceptions), CompareView's 2dp Δ (it
sits in a 2dp mono detail line).
- RunHistory rows: fixed-width chips (time, hash, demo, F=, stop,
seed, 3 buttons) summed past a narrow Evidence pane's width and the
overflow-x-hidden aside silently clipped the restore/replay/delete
buttons. The middle metadata now lives in a min-w-0 overflow-hidden
group (name truncates first, then chips clip) so actions stay
reachable at any pane width; rows remain strictly single-line, so
the gutter's RUN_H dot arithmetic is untouched.
- Deleting a run that is selected for comparison now deselects it;
CompareView additionally re-resolves on historyVersion and clears
itself when either record is gone (it used to keep rendering the
deleted run's data), and a lookup failure no longer leaves a stale
pair.
- CompareView header wraps: the verdict chip pushed the close X out
of narrow panes.
* workflow_service: a step-cache hit now re-stamps the CURRENT
node's id onto the served StepResult. The prefix hash ignores node
ids, so a cached step written by a graph with different ids was
served verbatim (live-reproduced: an s1..s5 scenario run poisoned
a n1..n5 archive replay, which came back with node_ids s1..s3 the
frontend cannot map). NOTE this fix only repairs the id, not the
deeper pinned-cache identity hole — per-node seeds derive from
node ids but the pinned cache key does not include them, so
structurally-identical graphs with different ids can still serve
each other's draws under the same root seed (see audit report).
* FlowCanvas: ribbon-legend localStorage key renamed quaim-* ->
quda.* ("quaim" matched the identifying Space slug and shipped in
the VITE_ANON bundle, contradicting the doc's anon-audit claim).
* scenarios/doc: F3's expected stop corrected to the value the live
API actually produces (2,560 of 4096 shots; 512-shot batch
granulari…
Information architecture: the results pane is now the Evidence pane
with three tabs — Current run (step cards + final metrics + hints),
History (lineage view, always expanded, no own collapse toggle when
embedded), Compare (instruction pointing at History's checkboxes
until two runs are picked). Badges: History = archive size via a new
countRuns() IndexedDB count (refreshed on historyVersion), Compare =
selection count. Auto-switch: starting a run -> Current; ticking the
2nd compare checkbox -> Compare. flex-wrap tab bar so the pane still
works inside the mobile drawer; collapsed strip + drawer title renamed
to Evidence.
Comparison: consecutive leading step rows that are identical on both
sides (same node kind, no structural param diff for that kind, equal
transformation-signature deltas) fold into one expandable "shared
prefix - N steps" <details> row; the first divergent row carries an
accent left border + "divergence point" label. Rationale in code: the
analytical question is where…
Signature glyph: designed delta-strip encoding replaces text chips
TheYuchen
4288025
The transformation signature is now a real glyph, not typography:
a fixed-order strip of horizontal diverging bars (D, G, P, Q top to
bottom) around a center zero axis. Bar length is relative change
(delta/before, capped at +/-100%) so a depth halving reads the same
size on any circuit; decreases extend left in the ok tone (every
optimizer here aims to shrink), increases right in warn; qubit
changes are neutral accent either way (width is a property, not a
cost). Zero channels render as faint ticks so the 4-row silhouette
is constant - glyph recognition depends on the constant frame.
New export SignatureGlyph({t, size}) draws the strip from a raw
payload at two densities: tile (46x14, tooltip carries numbers) on
canvas nodes and in the CompareView step table (replacing sigText
cells; sigText survives as tooltip), and card (180x56, channel
letters + printed deltas) in the results pane, beside the exact
before->after grid. Per-op chips become a |delta|-sorted diverging
bar list. All fil…
Composition comparison: two archived runs side by side, CIs not scalars
TheYuchen
d105dc7
Phase 3 (minimal viable) of the evidence-workbench rework. Pick any
two runs in the history panel (checkboxes, keep-latest-two) and a
comparison panel renders:
* configuration diff — params matched structurally by (kind,
occurrence) exactly like configHash, so node ids and layout don't
matter; circuit swaps surface as a "circuit" row;
* same-configuration detection — when the config hashes match the
panel says so explicitly ("differences are noise"), because that
changes how any metric gap must be read;
* fidelity compared as intervals — both Wilson CIs on one 0-1 scale
with the Δ in percentage points, and an explicit "intervals
overlap: not evidence" callout when the difference is within
run-to-run noise at these shot counts;
* step-by-step alignment with each side's transformation signature.