End-to-End Research Demo
A demo is the place where every contract you wrote earlier has to compose. If any one of them leaks, the demo is the lesson that catches it. Wire the auto-research loop end to end: hypothesis seed, experiment runner, scheduler, critic loop, paper writer. Compose the primitives from the four earlier Track D lessons through plain Python imports, not a framework. Run the loop to a self-terminating end and emit a single demo report that lists every stage's output. Keep the demo deterministic so the test suite can assert the final shape. Surface a clear failure mode when any stage's contract breaks, so the next stage does not run with a broken input. Five stages. The seed is a list of three hypotheses. The scheduler runs six experiments across them with three parallel slots. The bus reports one or more paper triggers. The picker selects the single best result. The critic loop iterates on a draft built from that result. The paper writer emits the final LaTeX, BibTeX, and manifest. Each earlier lesson ships a main.py with public dataclasses and functions. The demo imports them by adjusting sys.path to the parent directory of each lesson. This is not framework wiring; it is the same import the test files in the earlier lessons already use. The inline stub stands in for…
End-to-End Research Demo: A demo is the place where every contract you wrote earlier has to compose. If any one of them leaks, the demo is the lesson that…
This free lesson is part of the AI Engineering from Scratch curriculum. Read the full explanation, run the lesson code, and verify the result in the interactive reader or from the repository source.
Browse the complete course catalog or open this lesson on GitHub.