Filmstrips: Evidence Theater gains a batch-index trace scrubber
(replayed/archived runs only; live path untouched) that renders the
chart AS OF batch k — truncated intervals/envelope, "so far" readouts,
stop annotation only once reached. Exports in a scrubbed state are
bit-exact per (trace, k) and embed trace_position in the provenance;
F0 filmstrip recipe (batch 2 / batch 4 / final) documented with
live-verified widths (±3.06 / ±2.16 / ±1.93pp).
Illustrator-grade true-SVG: new lib/svgPaper.ts holds the pure
presentation-inlining logic (whitelisted attributes resolved via
getComputedStyle to literals — zero var()/currentColor/class/<style>;
concrete font stacks; px normalized; viewBox-derived pt sizing;
standalone XML header) with a plain-node unit test
(scripts/check_svg_paper.test.ts) and a per-export safety audit.
Raster: hybrid PNG at explicit pixel dimensions (never
devicePixelRatio); 2.5x default, 4x via alt-click/long-press on the
camera. Files named <view>_<scenario|runid>[_b…
Evidence Theater: steering becomes the visual protagonist (+F0 teaser)
TheYuchen
f686793
The system's most novel contribution -- anytime evidence steering
(streaming CI narrowing + optional stopping, Wave I) -- was the
smallest element on screen. New EvidenceTheater overlay (auto-opens on
the first step_progress frame, dismissable, localStorage auto-open
pref, toolbar + fidelity-card reopen affordances): one big SVG funnel
per sampled node -- per-batch Wilson CIs on a linear shots axis with
convergence envelope, first-interval-anchored auto-zoom, dashed target
corridor + early-stop annotation with unspent-shots region, client-
timed cost row (caveat commented) with server-total fallback, and a
context strip (config hue chip, live root-seed via new runStream
onMeta hook, pooled prior-evidence archive band). Store retains per-
node stamped traces until the next run so the theater outlives the
step; true-SVG figure export with embedded provenance.
Scenario F0 (the teaser): bell_state on FakeFez, 4096 shots, sampled
fidelity, target +/-2pp, pinned seed 2026 (probed live: all …
M1 scenarios.ts QUCAD_GRAPH is now a literal copy of bundled demo
record 5c2a6a71a7a4's graph (ids n1..n5, sampled fidelity, same
params/positions) instead of an s1..s5/statevector rebuild —
F1/F5 runs now group with the demo cards (same config_hash) and
pinned seed 336157917 replays the archived numbers bit-exactly.
M2 Optional-stopping honesty in three places: limitation block at
the stopping rule (qlib/qiskit_utils.py — width-based
data-dependent stopping perturbs exact nominal coverage of the
final fixed-n interval; confidence sequences are the rigorous
alternative), one sentence in the Wave I doc section, and a
clause in the precision-target tooltip.
M3 Anon builds scrub the branded theme completely: generateBundle
strips the [data-theme=gmu] CSS block, and theme.ts gates the
stored-preference fallback behind !ANON so the key literal is
dead-code-eliminated from VITE_ANON JS (runtime ?anon=1 behavior
unchanged). Anon dist grep…
* 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…
Wave J: uncertainty-in-provenance (evidence-mass lineage, pooled CIs)
TheYuchen
75184f5
Provenance views stop pretending states are deterministic — lineage
nodes ARE distributions, so the timeline now shows how certainty
accumulated over the session. Minimal honest version, one task per
mark:
* evidence mass (marker `evidence-mass`): lineage dot AREA propto
sqrt(executed shots), radius 3-7px against a fixed 2048-shot
reference; early-stopped runs are visibly lighter. Ring / slash /
edges / hover target track the radius; tooltip gains "N shots of
evidence".
* replicate-band certainty funnel: pooled Wilson CI half-width at
each row (counts summed oldest->newest; valid within a config
group: same underlying p), mirrored polylines around the lane
spine, narrowing upward ~1/sqrt(N) — Wave I's funnel motif, second
context. Tooltip: "pooled +/-X.Xpp after n runs / N shots".
* lib/stats.ts (new): wilson95 ported from
app/services/stats.py::wilson_interval with unit-anchor comments;
runEvidence / poolEvidence helpers.
* Multiverse cards: "pooled mu x.x% +/-y.y…
Wave P: correct F3 expected stop point (verified against live API)
TheYuchen
38c04fd
Wave P: paper-first reorientation
TheYuchen
79cd0aa
De-product: remove WelcomeTour(+slides), AuthButton/session UI,
Support(NSF)/Papers/Developers popovers, Lab link, UploadPluginModal
trigger; plugin protocol stays live via API. Neutral index.html
title/meta + PWA manifest. Header = name/tagline/env chip/live
toggle/theme.
Anonymous mode (double-blind): lib/anon.ts. VITE_ANON=1 build folds
identifying strings out of the bundle (EvidenceQ codename, no paper
bibtex, no GMU theme, vite plugin rewrites index.html+manifest);
?anon=1 runtime fallback hides the same surfaces on normal builds.
Audit: zero user-visible identifying strings in the anon dist.
Figure export with embedded provenance: lib/figureExport.ts + camera
buttons on canvas toolbar / Multiverse header / Evidence header.
True-SVG for svg targets, foreignObject-SVG + 2.5x PNG for HTML
composites; paper transform (white bg, fonts x1.25, chrome stripped);
SVG <metadata> + .provenance.json carry app version, export time,
run_ids/root_seeds/config_hashes of every visible run and t…
Wave P spec: paper-first reorientation directive
TheYuchen
67b247f
Wave I: re-record bell demo records under batched draw scheme
TheYuchen
a892a99
The Wave I per-batch seed schedule makes pre-Wave-I sampled records
non-replayable (a single 2048-shot draw != 8 seeded 256-shot draws).
Re-recorded all 14 bell_state demo records (512 + 2048, incl. the
same-seed replay pair) against the live API via the resumable script;
each now carries the per-batch trace and replays bit-exact. The 3
vqc_2q_small (QuCAD) records still carry old-scheme numbers — the
loader degrades gracefully (omits the funnel, keeps the CI bar);
finish them with scripts/rerecord_demo_archive.py on an idle Space.
Doc: migration status + live regression numbers recorded.
Backend: sampled fidelity always runs as B=min(8,max(2,shots//128))
batches; batch i seeded sha256(f"{node_seed}:batch:{i}") so replays
are bit-exact regardless of any run's stopping point. Streaming SSE
interleaves {"step_progress": {node_id, batch_i, n_batches,
shots_done, successes, point, ci95}} frames (worker thread + queue in
the executor; eager path unaffected). RunRequest.precision_target
(CI half-width, (0,0.5]) = server-honoured optional stopping, min 2
batches; distribution records shots executed vs requested,
stopped_early, and the full per-batch trace. qlib duplicates the
Wilson fn (no app import from qlib); twins pinned equal by test.
Frontend: toolbar precision-target select (off/±5/±2/±1pp); live
narrowing CI band + shot counter on node faces from streamed frames;
evidence-funnel in the fidelity card (one line per batch, opacity
ramp, target ticks at point±target, early-stop annotation); RunRecord
persists precision_target + stopped_early; restore/replay writes the
tar…
Roadmap: waves I-K after full-system novelty review
Seed coverage for QuBound/Qshot + cost estimates from run history
TheYuchen
91b2cd9
Closes the two remaining claim-integrity gaps for "every run is
exactly replayable" over "stochastic, costly experiments":
Seeds. QuBound trains its LSTM on BOTH ok paths (live IBM history and
the cached 14-day pickle) — there is no precomputed-only branch in the
handler — so both now seed the global RNGs (_seed_stochastic_libs:
random + numpy + lazily-imported, try/except-guarded torch) and thread
node_seed into qlib (Aer seed_simulator + Sabre seed_transpiler in
get_labels_fromNoise); results carry nondeterministic=True +
seed_used. Qshot's pilot seed was 99991 + hash(str(base)) — str hashes
are PYTHONHASHSEED-salted, i.e. "fixed" only until the next server
restart. pilot_seed is now threaded predict → recommend_shots →
compute_pilot_pf, making the recommendation reproducible across
processes given the seed. Executor cache logic untouched: fresh runs
draw fresh node seeds (honest new draw, cache-bypassed), pinned runs
re-derive the same seeds (cacheable in the seed-salted namespace)…