---
title: You inherit a feature with a "72% quality score" and nobody knows why it fails. How do you find what to fix first?
url: https://gurkanozkan.ai/learn/questions/applied-llm-evl-03/
markdown: https://gurkanozkan.ai/learn/questions/applied-llm-evl-03.md
kind: question
role: Applied LLM
stage: Technical
difficulty: Medium
json: https://gurkanozkan.ai/api/learn/questions/applied-llm-evl-03.json
robots: noindex
---

# You inherit a feature with a "72% quality score" and nobody knows why it fails. How do you find what to fix first?

Applied LLM · Technical · Medium

Theme reported publicly: [PolyAI](https://job-boards.eu.greenhouse.io/polyai/jobs/5032627101)

## Answer

*Model answer, written in a candidate's voice*

### In short

- Treat 72% as a symptom; sample traces stratified by outcome, segment, input type, model/version, and pipeline path.
- Read traces, write free-text failure notes, cluster into a taxonomy, and count frequency.
- Prioritise modes by frequency x severity x fixability, not by gut feel.
- Inspect retrieval, tools, prompts, context, guardrails, and the evaluator itself, not just the final answer.
- Fix top modes, add targeted evaluators, measure per-mode change, and guard against regressions.

### In full

I would not start by rewriting the prompt; I would treat the 72% as a symptom and sample traces stratified by pass/fail, user segment, input type, model/version, and pipeline path, then read them and write free-text notes on what actually went wrong. From those notes I would cluster failures into a taxonomy—retrieval miss, tool error, bad context, instruction/prompt failure, formatting, hallucination, timeout, or evaluator mismatch—and count how often each mode appears. I would prioritise by frequency x severity x fixability, where severity is user/business impact and fixability is my confidence that a targeted change can move the mode, then inspect the whole pipeline rather than only the final answer. For the top modes I would build targeted evaluators or assertions, fix one mode at a time, measure per-mode change plus overall score, and keep a regression set and monitoring so a fix in one mode does not quietly break another.

*Checked against sources by an independent AI reviewer.*

## What a strong answer covers

- Samples traces (stratified), reads them, writes free-text notes on failures, clusters them into a taxonomy, counts
- Prioritises by frequency × severity × fixability; builds targeted evaluators for top modes
- Looks at the whole pipeline (retrieval, tools, prompts), not just the final answer
- Fix → measure per-mode change → guard against regressions

## Common mistakes

- Prompt tweaks driven by a few anecdotes
- trusting the aggregate score without reading data

## Topic guides

- [Debugging ML and LLM systems](https://gurkanozkan.ai/learn/topics/debugging.md)
- [Evaluation: metrics, evals for LLM systems and statistical rigour](https://gurkanozkan.ai/learn/topics/evaluation.md)
---

*Study material compiled with AI: drafted by a local model (Inkling 2 Mini) from public sources, then checked against those sources by independent AI reviewers (Claude) in November 2026. Not reviewed line by line by a person.*
