Error analysis and the four AI eval types
Error analysis is how a product team finds an AI feature's real mistakes, counts them, and picks the cheapest reliable way to measure each one. Read the map left to right: look at the data, decide what to do with each mistake, then choose an eval type. Click any box for details.
Running example: an AI feature that screens job postings for a job seeker. It reads a posting, extracts fields like pay and location, makes judgment calls like true seniority, gives a verdict, and writes a short summary.
Terms
- Eval
- a repeatable way to measure whether an AI feature is doing its job.
- Error analysis
- reading real AI outputs and naming how they fail, before writing any tests.
- Trace
- the full record of one run, from input to final output, including every in-between step.
- Open coding
- a pass/fail mark plus a short free-text note on what went wrong, written for each trace.
- Axial coding
- grouping those notes into named mistake categories and counting them.
- Failure mode
- one named kind of mistake (a category).
- Criteria drift
- your sense of "good" changes as you read more outputs.
- Benevolent dictator
- the one domain expert whose judgment sets the quality standard.
The four eval types (peers)
Arrows show the order of work. "Fix" loops back: after a fix, rerun the same inputs and review again. The matching rule links to all four types because it is how you pick among them.
The two documents you'll keep
Error analysis runs on two working documents. Both are shown filled in with the build's real data, so you can copy the format for your own feature.
1. The review sheet
It has a column for every logged step, so the reviewer can check each one against its input. The highlighted columns are the ones the reviewer writes.
One full row: a trial run
More rows, with the step columns hidden
2. The ranked failure-mode table
Ranked by count weighted by harm, with upstream steps first because their errors flow into everything after them.