02Chapter 2: What changes: prompts, model versions, parameters, and contextThis chapter assumes you can call an LLM API, write a prompt, run pytest, and read a GitHub Actions workflow. It names the four things that can change an LLM feature's behavior. It also shows how to make each one visible to your tests.3 min read
03Chapter 3: Building a golden datasetThis chapter assumes you can write pytest tests, call an LLM API from Python, and read JSONL files. A golden dataset is the set of inputs and expectations that every later check in this tutorial runs against. If the dataset is weak, a passing suite tells you very little.3 min read
04Chapter 4: Deterministic checks: format, content, and constraintsThis chapter assumes you can write pytest tests and that you have a JSONL golden dataset like the one from the previous chapter. Each case has an id, an input, and fields that describe what a good output looks like.3 min read
05Chapter 5: Handling nondeterministic outputThis chapter assumes you can write pytest tests, call an LLM API, and read a basic GitHub Actions workflow. It also assumes you have a golden dataset and deterministic checks from the earlier chapters.3 min read
06Chapter 6: Judge-based checks and validating the judgeThis chapter assumes you have a golden dataset, deterministic checks like the ones in earlier chapters, and basic pytest and Git skills. Deterministic checks cover format, required keys, and phrases. They cannot tell you whether a summary is faithful or a reply is polite. For those qualities you can3 min read
07Chapter 7: Baselines and pass thresholdsThis chapter assumes you have a golden dataset, deterministic checks that return pass or fail per case, and a way to repeat runs of nondeterministic output. Here you decide what number the suite must reach, and how to fail a build without failing it on noise.3 min read
08Chapter 8: Running the suite in CIThis chapter assumes you can write pytest tests, call an LLM API from Python, and read a GitHub Actions workflow. It also assumes you already have a golden dataset and a pass-rate baseline from earlier chapters. Here you will connect them to a pipeline so every relevant change is checked before it m3 min read
09Chapter 9: Controlling cost and runtime with test tiersThis chapter assumes you have a golden dataset in JSONL, pytest checks that run against it, and a CI workflow like the one in the previous chapter. Here you will split that suite into tiers. Each tier trades coverage for cost and speed, and each runs at a different point in your workflow.3 min read
10Chapter 10: Pinning model versions and detecting driftThis chapter assumes you can call an LLM API, write pytest tests, and read a GitHub Actions workflow. It also assumes you have a golden dataset and a baseline pass rate, as covered in earlier chapters.3 min read
11Chapter 11: Reporting results and triaging failuresThis chapter assumes you already have a golden dataset, deterministic checks, a baseline pass rate, and a CI job that runs the suite. Here you will make the results readable and decide what to do when a case fails.3 min read
12Chapter 12: Maintaining datasets and updating baselinesThis chapter assumes you have a JSONL golden dataset, a pytest suite that runs it, and a stored baseline pass rate checked in CI, as built in earlier chapters. It covers how to keep those assets accurate as the product changes.3 min read