Error analysis on LLM traces
For engineers
Reading real traces, writing failure notes, grouping them into failure modes and ranking what to fix first
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
A RAG bot gives a wrong answer. The trace shows the retriever returned an unrelated document and the model summarised it correctly. Where is the first bad step?
Check yourself · 2 of 5
You are open coding 50 traces from a support bot. Which note is best for one failing trace?
Check yourself · 3 of 5
You ask an LLM to cluster 40 failure notes. What should you do with its output?
Check yourself · 4 of 5
Which three factors are used to rank failure modes?
Check yourself · 5 of 5
What does saturation mean in trace review?
Topics
- Reading traces end to end4 min read · Opening the full trace (input, retrieved context, tool calls, intermediate and final output) to find the first step that went wrong
- Open coding failure notes4 min read · Writing short free-text notes on each failing trace before fixing categories, with one domain expert owning the judgment
- Grouping notes into failure modes4 min read · Clustering open notes into a small taxonomy of failure modes, using an LLM to propose groups and checking them by hand
- Ranking failure modes by impact4 min read · Weighing frequency, severity and fix cost to choose between a prompt fix, a new evaluator or an architecture change
- Knowing when to stop reviewing traces4 min read · Sampling enough traces to reach saturation, when new notes stop producing new categories, and repeating after big changes
- Turning failure modes into evaluators5 min read · Choosing for each failure mode a code check, an LLM judge or nothing, because some fixes need no permanent eval
Start here
- LLM Evals: Everything You Need to Know (Hamel Husain and Shreya Shankar) (opens in a new tab)ArticleFree
Practical answers on reading traces, open coding, sample sizes and when to build an evaluator.
- A Field Guide to Rapidly Improving AI Products (Hamel Husain) (opens in a new tab)ArticleFree
Argues that looking at data and counting failure modes beats generic metrics, with worked examples.
- An LLM-as-Judge Won't Save The Product, Fixing Your Process Will (Eugene Yan) (opens in a new tab)ArticleFree
Shows why labeling real outputs and iterating on the process matters more than any judge prompt.
Helps to know first
110 questions · last verified 2026-12