Guided lessons: four beginner micro-experiments (marker: guided-lessons)
TheYuchen
edfa7f5
New lib/lessons.ts + components/LessonCard.tsx — an integrated
beginner path, not a separate mode. Each lesson step rides the SAME
machinery scenario boots use (pendingRestore + autoRunAfter through
the store bridges), and every lesson run is tagged via the existing
RunRecord.scenario field ("L1"…"L4") so lesson runs never pollute
evidence pools — the theater prior-pool filter and the F6/F7/F8
pickers already exclude scenario-tagged records (comments at all
three sites now name the lesson tags too).
The four lessons, numbers grounded like scenarios are:
L1 "Measurement is sampling" — bell_state, sampled fidelity, 128
shots fresh ("why isn't it exactly 50%?"), follow-up button runs
4096 → the funnel visibly narrows.
L2 "Noise costs fidelity" — vqc_2q_small twice: statevector under
bind_zero is EXACTLY 1.0 (RY(0)+CX on |00⟩ is identity in
effect), sampled on FakeFez lands ~0.97; after the second run the
card selects both runs into Between configurations.
L…