Replay Bench / local model experiment

Start with programs/003-replay-bench.html. Select Late retry, leave Original
selected, and click Run to end. A prints at events 2 and 3. Switch to Repaired
and run again; event 3 is skipped. This works in an ordinary browser.

Optional model run: use the Issue 002 Edge0 guide to prepare or start your
existing server. Open Terminal in its kit folder and run edge_workshop.py serve
as documented there. Wait for Listening. In a second Terminal open this
lab/replay folder using cd and dragging the Finder folder to Terminal.
With Python 3.10+ run:

  python3 probe.py --out my-results.json

The client requests /v1/models on your own Mac, sends six calls with the three
invented cases, and saves exact requests, raw replies and timings. The printed
prompt files are used verbatim before appending each case. The reader may add
--repeats 2 for two trials per case and condition. Choose a new output file for
another run. If the server lives on another port of this same Mac, use --port.

In the JSON output, copy the reply string from a B run for duplicate, normal
or incomplete. Run the matching original replay to the end, expand Check a
structured diagnosis and paste the reply. Browser and Python compare the case,
outcome and event IDs. Read the reason yourself. A free-form result is meant
for manual evaluation. Compare both answers with cases.json, where outcomes
and expected event IDs were set before the experiment.

If connection fails, return to the first Terminal and check for Listening.
Zero successful model requests means no model result. Stop your own server
with Control-C in its original Terminal when finished.

RECORDED RUN / NOVEMBER 20, 2026

m1-results.json contains the six original requests and replies.
m1-settings.json identifies the M1 Max and model setup.
m1-readout.json explains how the six responses were judged.
For the rejected answer, use the reply string from case normal, condition b.
Select Normal retry and Original in Replay Bench before replaying it.
