Explainer
Error analysis
Error analysis is reading a batch of a system’s answers and naming the kinds of mistake in them, before you decide what to measure.
It is also called failure analysis or trace review (a trace is the saved record of one attempt). It has two steps, borrowed from qualitative research. In open coding you write a short note on each answer. In axial coding you group the notes into named failure modes, a failure taxonomy, and count each group. Hamel Husain’s evals FAQ calls error analysis “the most important activity in evals”.
Illustration. Reading the library assistant’s answers, you might note “cited D1 for a fee claim”, “answered only the returns part” and “said a late fee applies”. Across many answers, notes like these group into failure modes such as wrong citation, missed part and invented fee, each with a count.
It is not a vibe check, glancing at a few answers and deciding they seem fine; OpenAI’s evaluation guide lists “it seems like it’s working” as an anti-pattern. Nor is it grading: grading applies fixed rules, while error analysis finds which rules you need.
Practitioners keep reading “until new traces stop revealing failure modes or changing existing ones”, which qualitative researchers call theoretical saturation. That shows this batch has stopped surprising you. It does not show coverage: another language, user group or month can bring new kinds of mistake. The counts describe this batch, not how often each mistake happens in real use.
Going deeper
Fix what a clearer prompt can fix first. The FAQ’s advice: “Focus automated evaluators on failures that persist after fixing your prompts.” Reading answers also changes the rules people want. Shankar and colleagues call this criteria drift: “users need criteria to grade outputs, but grading outputs helps users define criteria.”
In Evaluations in practice: Read the answers before you write the rules. Then try Read and sort the mistakes.