Error analysis is the step before any test. You can't write a check for a failure you haven't seen.
Here's what it looks like. Say your AI drafts replies to customer emails. Pull 100 real replies. Read each one. Write a sentence about what's wrong, or "fine." Your notes might say "promised a refund we don't offer," "made up an order number," "too long, buried the answer." Then group them. Two types jump out: it promises things the business can't deliver, and it invents facts.
Now rank. I rank by how often a failure shows up times what it costs a customer when it does. One invented order number a week can matter more than ten long replies. The top two or three get a test this round. The rest wait.
Hamel Husain and Shreya Shankar teach the best known course on evals. They report spending 60 to 80% of their development time on error analysis and evaluation. Most of that is reading. It's the part nobody puts in the plan, and it's where you learn what your product actually does.
Teresa Torres, the product discovery coach, adds a step I like. Use discovery research to find out which errors matter most to customers. Your ranking is a guess until a customer tells you what hurt.
Don't let a tool hand you the list. A menu of generic metrics, like "helpfulness," looks like error analysis and skips the reading. I made that case in The Menu Is Not the Error Analysis.
This is qualitative research, which is why Evals for UX Researchers puts user experience (UX) researchers in charge of the failure codebook. The full method, with an error log template, is step 1 of Evals From Zero. Every guide is on the AI evals hub.