Skip to content

Course: repair teaching fixtures and refresh offline recordings - #15

Merged
macayaven merged 4 commits into
mainfrom
codex/s04-ticket-demo
Sep 22, 2026
Merged

macayaven merged 4 commits into
mainfrom
codex/s04-ticket-demo

Conversation

@macayaven

@macayaven macayaven commented Sep 22, 2026 •

Copy link
Copy Markdown
Owner

Several course examples could report success without demonstrating the lesson: p08 hit its turn cap, S05 counted runs without a rejection, and S09 omitted nothing. S04 also lost prior attempt evidence when the live endpoint timed out.

This change makes those outcomes explicit and replaces misleading recordings with genuine model interactions:

  • S04 separates parse, shape and meaning failures in authored controls, preserves every attempt, rejects truncated completions and stops the batch after an endpoint failure. Its protocol check reuses the saved run.
  • S02 now exercises missing confirmation as advertised; S05 separates observed rejections from unexercised runs; S07 supplies the inherited contract and demonstrates distinct contract/availability failures; S09 always exercises omission coverage using an explicitly identified source.
  • Protected shifts receive exact menu names. Lab house rules explain scope and unsupported comps; p08 requires actual espresso work and completion. All ten governed lab recordings were refreshed; nine naïve baselines remain byte-identical.
  • Four optional notebook comparison tapes contain 16 genuine responses. They use the existing replay client and leave default authored controls and learner attempts intact. The maintainer report documents each tape, rejected candidates, provenance and limits.

Regenerated artifacts: S04/S05/S07/S09 lesson HTML and canonical marimo sources, plus diagram receipt fingerprints regenerated after the version/lockfile update (SVG bytes unchanged). Updated recording documentation, reference baseline and version metadata for v0.6.0-rc.2.

Validation on both Python 3.11 and 3.12, with the offline socket guard:

Content contracts: Ran 151 tests — OK
Lab contracts: Ran 29 tests — OK
All 12 notebooks and labs/app.py executed — PASS
Lab replay: naïve 2/9, governed 9/9; all files exhausted — PASS
S04/S05/S07/S09 recorded comparisons: exact replay — PASS
Strict/canonical marimo, lesson build, relative links, SOTA sources — PASS
Generated/canonical file drift — zero

The refreshed lab and comparison recordings were made with the locally served Nemotron model and reviewed for their educational purpose. The longest S04 request completed in 139.869 seconds using a warm 180-second timeout; the course default remains 120 seconds. These selected recordings demonstrate specific cases, not a model-quality benchmark or completion of the pending learner pilot.

Full findings and reproducible commands: docs/cassette-review-2026-09-22.md.

@macayaven macayaven changed the title S04: make ticket retries teach each validation gate Course: repair teaching fixtures and refresh offline recordings Sep 22, 2026
@macayaven
macayaven marked this pull request as ready for review September 22, 2026 09:37
@macayaven
macayaven merged commit 5d48480 into main Sep 22, 2026
2 checks passed
@macayaven
macayaven deleted the codex/s04-ticket-demo branch September 22, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant