Evaluations 101: Why Measure Prompts
The difference between benchmarks and customer evals. Success criteria. The four eval components: input, golden answer, output, score. Three grading approaches: human-based, code-based, model-based. How to evaluate agents: trials, transcripts, pass@k and pass^k.
Why Evals Are the Foundation of Production LLMs
Anthropic's prompt evaluations course (now archived) quotes the company's Solutions Architects team:
"The (in)ability for teams to measure the performance of their models is the biggest blocker of production use cases for LLMs and also makes prompting an art instead of a science."
Benchmarks (ARC, MMLU, TruthfulQA) measure general model capabilities. Customer evals measure how well a specific prompt solves your specific task.
Anthropic's current guide is the page "Define success criteria and build evaluations". It starts with success criteria that are specific, measurable, achievable with current models and relevant to the task. An example from the docs: "less than 0.1% of outputs out of 10,000 trials flagged for toxicity by the content filter."
The rest of this lesson opens after a free sign-up
Sign up with email or Google: the first two lessons of every course stay open for good, and the whole catalog is open for 7 days. No card needed.


