01Chapter 1: Why evaluating LLM applications is differentThis chapter assumes you can read basic Python, have called an LLM through an API or SDK, and know what a prompt is. It also assumes you know the mean and the proportion from basic statistics. No evaluation experience is needed.3 min read
02Chapter 2: Defining what good looks likeThis chapter assumes you can write basic Python, have called an LLM through an API, and know what a proportion is.2 min read
03Chapter 3: Building an evaluation datasetThis chapter assumes you can write basic Python, have called an LLM through an SDK, and have already written down success criteria for your application. The dataset turns those criteria into concrete cases that you can run again and again.2 min read
04Chapter 4: Writing a repeatable evaluation harnessThis chapter assumes you can write basic Python, have called an LLM through an SDK, and know what a pass rate is. It covers the working model of an evaluation harness and the errors people hit most often.2 min read
06Chapter 6: Deterministic checks for format, schema, and constraintsThis chapter assumes you can write basic Python, have called an LLM through an API, and have read the earlier chapters on the evaluation harness and reference-based metrics. Deterministic checks are plain code that inspects an output and returns pass or fail. They are cheap and repeatable, and they 2 min read
07Chapter 7: Using an LLM as a judgeThis chapter assumes you can call an LLM through an SDK, write basic Python, and have a working harness like the one in the previous chapters. Some qualities have no exact-match answer. Examples are faithfulness to a source, helpfulness, and tone. An LLM judge is a second model call that grades the 3 min read
08Chapter 8: Human evaluation and labeling guidelinesThis chapter assumes you can write basic Python, have called an LLM through an API, and know the mean and proportion from statistics. It also assumes you have an evaluation harness like the one from the earlier chapter. Here you will learn when to use human reviewers, how to write labeling guideline3 min read
09Chapter 9: Checking a judge against human labels and known biasesThis chapter assumes you can write basic Python and have used an LLM API. It also assumes you know what an LLM judge is, from the previous chapter, and basic statistics such as proportions. A judge is a model that grades outputs. Its scores are only useful if they agree with what people would say. H2 min read
11Chapter 11: Evaluating retrieval and grounded answersThis chapter assumes you can write basic Python, have called an LLM through an SDK, and know how a retrieval-augmented generation (RAG) pipeline works. It also assumes you have the evaluation harness from earlier chapters. A RAG system first retrieves documents and then generates an answer from them2 min read
12Chapter 12: Error analysis: turning failures into improvementsThis chapter assumes you can run the evaluation harness from earlier chapters and that you have per-case results with scores. A pass rate tells you how often the application fails. It does not tell you why. Error analysis is the step that turns a list of failed cases into a ranked list of fixes.2 min read
13Chapter 13: Regression tests and evaluation in CIThis chapter assumes you can write Python, call an LLM through an SDK, and read a mean and a confidence interval. It also assumes you have the harness from the earlier chapter and know how a bootstrap interval works.2 min read
14Chapter 14: Evaluating multi-step and tool-using systemsThis chapter assumes you have a working harness, programmatic checks, and an LLM judge from earlier chapters. It also assumes you know how an agent loop calls tools.2 min read
15Chapter 15: Safety, robustness, and adversarial testingThis chapter assumes you can write a basic evaluation harness and have defined success criteria and failure modes for your application. It extends that work to behavior you hope never happens.2 min read
16Chapter 16: Online evaluation, user feedback, and monitoringThis chapter assumes you can write the Python harness from earlier chapters, know how an LLM judge is built and validated, and understand rates and confidence intervals. Offline evaluation tells you whether a version is good enough to ship. Online evaluation tells you whether it keeps working once r2 min read