Read traces and write down what went wrong before you trust a dashboard score. Hamel Husain said generic metrics such as hallucination, toxicity, and conciseness are most of the time not helpful at all: they are way too generic, do not necessarily correlate with failures in your AI product, and do not mean anything. His starter heuristic is to look at at least 100 traces. Categorizing the notes and counting which failure types show up most is the error-analysis method.
Hamel Husain is Founder at Parlance Labs. This episode aired in August 2025.
Why is "what are the tools?" the wrong first eval question?
Ask which process you will run, and pick a tool only after that process is clear. The number one question Hamel gets is which tools to use, and he calls that the wrong question. People want an abstraction that makes accuracy someone else's problem. He does not think that works until something like AGI. No matter which tool you buy, you still have to go through a process to evaluate the system.
And so I think the number one question I get is, hey. What are the tools? And that's the wrong question. The question should be like, hey. What's the right process?
Hamel Husain, Founder at Parlance Labs, on Chain of Thought ep 37
Write that process in one paragraph a teammate can follow on Monday: where traces live, who reads them, what note they leave, and how a note becomes a counted category. A vendor dashboard can sit beside that loop. It does not replace it.
Why do hallucination scores miss your product's failures?
A generic score does not name the failure your users hit, so it cannot tell you what to fix. Hamel described pitch dashboards full of a hallucination score, a toxicity score, a conciseness score, and similar rows. Most of the time, in his experience, those rows are not helpful and do not correlate with failures in the product. Teams plug the dashboard in, feel they have checked the evals box, and still cannot say what broke.
Write the failure in a note, then build a check for that note. Leave the generic scores alone until a score maps to a failure you have already seen in traces.
How do you count failure types from LLM traces?
Open a trace viewer, read one trace, write a free-text note, then group notes into categories and count them. Hamel called this error analysis. It predates machine learning and has long been used in the social sciences. Look at the data, note what is going wrong, categorize the notes, count which errors happen most, and prioritize from the counts. Most people skip it, he thinks, because nobody taught them. The same session shows what to write an eval for. He treats the work as development. In his estimate, maybe 90% of the whole evals process is looking at your data, and you find bugs before you write evals.
Theoretical saturation means you keep looking until you are not learning anything new. The phrase alone makes people anxious, so they do not begin. He teaches a concrete goal instead.
So what we teach is, like, try to look at at least a 100 traces just as a heuristic to get people started because they have a lot of anxiety.
Hamel Husain, Founder at Parlance Labs, on Chain of Thought ep 37
After people begin, he said they stop caring about the 100 because they are learning so much. Keep reading until you are not learning anything new.
A minimal sketch to adapt, not a drop-in library.
import json from collections import Counter def load_traces(path): with open(path) as f: return [json.loads(line) for line in f if line.strip()] def note_for(trace): # "fail" asks for a note. "ok" is a success. Blank means not reviewed yet. trace_id = trace.get("id", "?") status = input(f"fail, ok, or blank to skip {trace_id}: ").strip().lower() if status == "fail": return "fail", input(f"note for {trace_id}: ") if status == "ok": return "ok", "" return "unreviewed", "" # Phrases you add after you have seen the same failure more than once. CATEGORY_RULES = [ ("ignored the retrieved clause", "missed_context"), ("invented a citation", "unsupported_claim"), ("right answer, wrong format", "format"), ] def category_for(note): lowered = note.lower() for phrase, category in CATEGORY_RULES: if phrase in lowered: return category return "uncategorized" def count_failures(path): counts = Counter() other = Counter() for trace in load_traces(path): status, note = note_for(trace) if status != "fail": other[status] += 1 continue counts[category_for(note)] += 1 for category, n in counts.most_common(): print(f"{category}: {n}") for label in ("ok", "unreviewed"): print(f"{label}: {other[label]}") Sort the printed counts. Write the first eval for the category at the top. Re-run the count after a prompt or retrieval change so you can see whether that category shrank.
Who should judge outputs if you are not building a dev tool?
A domain expert should judge the outputs, unless the product is a developer tool and the developer is the expert.
Yeah. So one of the biggest failure modes I see, and is also one of the biggest drivers of my consulting business, is people outsourcing evaluations to developers, which is fine if you're building a developer tool where the developer is a domain expert, but usually they're not.
Hamel Husain, Founder at Parlance Labs, on Chain of Thought ep 37
The pattern starts when a team treats AI development as a software task and hands every judgment to engineering. Those developers are then guessing, because they lack the context. If you are building for lawyers, involve the lawyer.
Keep the expert close to the prompt. An admin view inside the user-facing application lets them edit the prompt and try it with the tools, retrieval, and code the app already runs. A prompt playground is a good place to get started, but you cannot rely on it when it cannot call your tools, run retrieval, or run your application code. Many people treat the prompt as an abstract meeting topic and expect a developer to write it. He called that the worst thing that can possibly happen.
FAQ
How many traces should I read before I write an eval?
Start with at least 100 traces. The concept, theoretical saturation (keep looking until you stop learning anything new), makes people anxious enough that they never start, so a number helps. Once people start, Hamel said, they stop caring about the 100 because they are learning so much.
Can an LLM judge replace a human reviewer?
Compare the judge to human labels before you trust it. In the evals class he co-teaches, which had taught over 700 students from all kinds of backgrounds, that comparison is how you decide the judge is trustworthy, and bootstrap sampling is one way to look at noise in the judge. Separately, unless you are building a developer tool, a domain expert should judge the outputs.
Do I need to train a model to run error analysis?
Hamel said you do not need to be training models, and argued you should not spend most of your time training them anyway. Read traces, count failure types, and know enough statistics to sample and compare a judge to human labels. You can teach fundamentals and still need a fair amount of data literacy.
Takeaway
- Ask what process you will run before you ask which eval tool to buy.
- Treat hallucination, toxicity, and conciseness scores as optional. Prioritize failures you have seen in traces.
- Read a trace, write a free-text note, map the note to a category, and count the categories.
- Start with at least 100 traces. Keep going until you are not learning anything new.
- Let a domain expert judge outputs, and check any LLM judge against those human labels.
The full conversation, with the transcript, is on Chain of Thought.
Subscribe to the Chain of Thought newsletter for new episodes and write-ups like this one.
Drafted with AI assistance from the episode transcripts.


