Skip to content
mentoor

Error analysis on LLM traces

For engineers

Reading real traces, writing failure notes, grouping them into failure modes and ranking what to fix first

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

A RAG bot gives a wrong answer. The trace shows the retriever returned an unrelated document and the model summarised it correctly. Where is the first bad step?

Choose one answer

Check yourself · 2 of 5

You are open coding 50 traces from a support bot. Which note is best for one failing trace?

Choose one answer

Check yourself · 3 of 5

You ask an LLM to cluster 40 failure notes. What should you do with its output?

Choose one answer

Check yourself · 4 of 5

Which three factors are used to rank failure modes?

Choose one answer

Check yourself · 5 of 5

What does saturation mean in trace review?

Choose one answer

Topics

  1. Reading traces end to end4 min read · Opening the full trace (input, retrieved context, tool calls, intermediate and final output) to find the first step that went wrong
  2. Open coding failure notes4 min read · Writing short free-text notes on each failing trace before fixing categories, with one domain expert owning the judgment
  3. Grouping notes into failure modes4 min read · Clustering open notes into a small taxonomy of failure modes, using an LLM to propose groups and checking them by hand
  4. Ranking failure modes by impact4 min read · Weighing frequency, severity and fix cost to choose between a prompt fix, a new evaluator or an architecture change
  5. Knowing when to stop reviewing traces4 min read · Sampling enough traces to reach saturation, when new notes stop producing new categories, and repeating after big changes
  6. Turning failure modes into evaluators5 min read · Choosing for each failure mode a code check, an LLM judge or nothing, because some fixes need no permanent eval

Start here

Helps to know first

110 questions · last verified 2026-12