LatentEval
Topic

Error analysis and labeling tools

4 tools

From a pile of traces to a labeled set: review cases, build a failure-coding taxonomy, set the labeling criteria, and write a handbook for the people who label.

The method

How the work proceeds

Error analysis is the step between “something went wrong” and “we can measure it.” You review cases one at a time, coding each failure into a named category. Those categories drive everything else. For a large file, draw a fair sample before reviewing, because going through every row takes too long and a biased pick hides the prevalence. Labeling criteria turn the named categories into pass-or-fail rules with examples. A handbook gives those criteria to the people who label, with a quiz and a log of the edge calls that come up. The pages below read your files in the browser and upload nothing.

What you haveThe instrument
Traces or eval results and no error taxonomy yetreview cases one at a time and build a failure taxonomy
A large file to review, with no way to pick a fair sampledraw a random or stratified review sample
Failure categories named, with no written criteria for pass or failturn the categories into criteria with examples
Criteria ready, with no handbook for the people who will labelbuild the handbook, quiz and precedent log

How coding agents fail, a trajectory study of 1,794 runs, found the decisive error at a median of step 7, so a case review starts early in the trace rather than at the end. AdaMAST induces failure categories from an agent system’s own traces, giving the vocabulary the review step needs. The labeling half draws on Is your LLM-as-a-judge reliable?, which measures how closely an LLM judge tracks human labels.

Readers often ask whether to review cases first or write criteria first. Review cases first if the team has no shared vocabulary for what goes wrong. The categories that emerge from a review sample are usually different from the ones the team assumed, and a rubric written before seeing the data locks in the wrong distinctions. Write criteria first if the team already agrees on what “pass” means.