View on GitHub

Winery API Document Automation Lab

A hands-on developer learning lab for deterministic document generation, validation, estimation, and provenance.

Lab examples

Files used by the learning lab. None of them came from a live Google run.

File What it is
example-manifest-run-1.json An instructional generation manifest (schema version 2) at the default estimator settings
example-manifest-run-2.json The same, from a second run at 160 words per minute
any-content-script.txt A tiny valid script about pottery, which shows that the parser checks structure, not subject matter

How the example manifests are made

node scripts/lab-docs.mjs runs the repository’s real Generator and Manifest code from apps-script/, offline, on the current course/master-script.md. It uses the same test doubles as the adapter tests in place of Google Drive and Docs. So the structure and every computed value are what the code really produces:

node scripts/lab-docs.mjs --check (run in CI) regenerates them and fails if the committed files differ. It also checks the claims that Exercise 5 makes about them, such as the same source hash in both runs and different durations.

These files are teaching material, not test oracles. The independent oracles are in course/fixtures/.