LIGHT DELAY LAB
Create Light Delay Lab as a standalone HTML file with embedded CSS and JavaScript. Accept two nonnegative distances in kilometers. Divide each distance by 299792.458 kilometers per second. Report both travel times, the absolute difference, and who sees the flash later, or say the arrivals are simultaneous. Show a labeled direction diagram and say the example distances are invented. Start with 599584916 and 749481145 kilometers. Support numeric input, form submission by Enter, and a readable live result. Use no downloads or dependencies. Explain the formula and provide an equal-distance check.

FRAME FIT
Create Frame Fit in a standalone HTML file with embedded CSS and JavaScript. Collect stored width and height plus the pixel width and height ratio, with positive integer inputs. Multiply width by the pixel ratio numerator and height by its denominator, reduce the resulting display ratio, and show the original reduced stored ratio beside it. Use two SVG test-chart rectangles with rings to visualize their shapes. Leave an unknown pixel ratio unresolved. Start at 720 by 480 and 8:9. State the full-frame assumption, and give a 4:3 check. Keep the interface usable by keyboard and in a narrow browser.

REPLAY BENCH
Create a standalone browser program called Replay Bench. Use the supplied cases.json as frozen input embedded in the HTML. Provide step, run, reset, original and repaired modes, and an export of the current trace. Original mode prints on each deliver or retry event. Repaired mode remembers printed job IDs and skips subsequent prints for the same ID. Show each event and its result. Preserve uncertainty when the record lacks an end marker. Add a panel accepting JSON with case, outcome, events and reason. Validate the case and evidence using the completed original replay; render all text literally. Keep the app runnable without a model.

REPLAY BENCH / REPAIR WALKTHROUGH
In a copy of Replay Bench, preserve every saved case and the event order. Reproduce Late retry in Original and record that job A prints twice. In Repaired, remember each job ID at its first print and skip later prints for that ID. A retry may print if the job has never printed. Verify Late retry, Normal retry, and Two separate jobs. Report the counts and which event was skipped.

M1 WORKSHOP / CONDITION A
Read the supplied trace from a toy print queue. Queue records a job. Deliver and retry each represent a print in the old behavior. Case completeness is supplied explicitly. Diagnose whether a job printed twice, printed once, or the evidence is insufficient. For each case, give a short answer explaining what happened.

M1 WORKSHOP / CONDITION B
Read the supplied trace from a toy print queue. Queue records a job. Deliver and retry each represent a print in the old behavior. Case completeness is supplied explicitly. Diagnose whether a job printed twice, printed once, or the evidence is insufficient. For each case, give a short answer explaining what happened.
Return one JSON object and no other text. Use keys case, outcome, events, and reason. Set case to the supplied case ID. Set outcome to duplicate, single, or unknown. For duplicate, cite both print event IDs for the same job. For single, cite its one print event ID. For unknown, use an empty events list and explain why the incomplete record cannot establish a final outcome.
