firehose> #llmops

Error Analysis

The highest-ROI activity in improving an LLM app: read real production traces by hand, write open-ended notes on failures, cluster them bottom-up into a taxonomy, count frequencies. A small number of failure modes accounts for the majority of failures — that distribution is the improvement roadmap. It cannot be learned by reading; it must be done on a real trace corpus (a complete trace = the initial query plus every intermediate step, tool call, retrieval, and the final response).

Method (from the AI-evals plan, Phase 2):

  1. Pull 20–50 real traces.
  2. One row per trace; write open-ended notes on anything undesired — open coding. Bottom-up, not top-down: let failure modes emerge, don't start from generic "hallucination/toxicity" buckets.
  3. Use an LLM to cluster the notes into a taxonomy.
  4. Label each row; pivot-table the counts → prioritize by frequency.

Build a simple custom data viewer to make this fast: all context in one place, one-click correct/incorrect, an open-ended note field, filter/sort, keyboard nav. Custom beats generic and can be built in hours with AI-assisted coding.

Claims


Linked from