Evals & Observability·Question 27 of 83IntermediateAI-75

You have 500 production transcripts flagged as failures. Walk me through your error-analysis process.

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

The goal is to leave with a ranked list of failure modes and fix the biggest one - not to fix 500 individual bugs.

Full worked answer with diagram

The goal is to leave with a ranked list of failure modes and fix the biggest one - not to fix 500 individual bugs.

  1. Read before you automate. Personally read 30-50 transcripts end-to-end, including retrievals and tool calls, not just final answers. Write a one-line open-ended note per transcript ("ignored the second constraint in the request," "retrieval returned the 2023 policy doc"). Resist premature categories - open coding first, taxonomy second; predefined buckets make you blind to the failure modes you didn't anticipate.
  2. Cluster into a taxonomy. Group the notes into failure modes. An LLM can help cluster all 500 once you've hand-derived the taxonomy from your 50 - but validate its assignments on a sample; don't outsource the understanding step. Typical output: 5-10 modes like retrieval miss, instruction partially followed, wrong tool arguments, format violation, user intent misread, not-actually-a-failure (mislabelled feedback - always a nontrivial slice; thumbs-down often means "I didn't like the policy," not "the model failed").
  3. Rank by frequency × severity × fixability. A mode causing 30% of failures with a one-line prompt fix beats a 5% mode requiring a new model. Pareto is reliably your friend here: the top cluster is commonly a single prompt bug or retrieval gap.
  4. Fix the top cluster, verify, repeat. Before fixing, convert 10-20 exemplars of that cluster into eval cases - that's your regression test and your success measure for the fix. Apply the fix, run evals, confirm the cluster shrinks without others growing, ship, and re-run the analysis next cycle.

Two senior habits: report base rates ("retrieval misses are 32% of failures affecting 4% of all sessions") so effort maps to impact; and institutionalise the loop - a weekly hour of transcript-reading for the whole team outperforms any dashboard, because dashboards tell you that, transcripts tell you why.

Worth sketching. The funnel shows the numbers shrinking from 500 to one fix, which is the discipline the question is testing.

flowchart TD
    F["500 flagged transcripts"] --> R["Read 30-50 end to end,<br/>one open note each"]
    R --> T["Hand-derive a taxonomy<br/>of 5-10 failure modes"]
    T --> C["LLM assigns the rest,<br/>you audit a sample"]
    C --> P["Rank by frequency x severity<br/>x fixability"]
    P --> E["Top cluster: 10-20 exemplars<br/>become eval cases"]
    E --> X["Fix, confirm that cluster shrinks<br/>and others do not grow"]

What a good answer covers

  • The goal is to leave with a ranked list of failure modes and fix the biggest one - not to fix 500…
  • Read before you automate
  • Cluster into a taxonomy
  • Rank by frequency × severity × fixability
  • Fix the top cluster, verify, repeat

Key terms: Read before you automate · Cluster into a taxonomy

Interviewer follow-ups to expect

  1. How do you handle failure modes that only appear in multi-turn context?

  2. What do you do with the "not actually a failure" cluster?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep