Metrics and evals for an AI feature: what a designer measures
Receipt scanning in Split has gone into beta. At the meeting someone asks: “Does it work?” “Users like it” doesn’t count as an answer, and “94% accuracy” says nothing about whether adding a receipt got faster. The “Design principles for AI products” topic asks you to point metrics at the user, but doesn’t say which ones.
This is a new topic that closes the second part of the chapter, “Designing AI features”, and the whole chapter. It has three layers: HEART metrics for the feature, an error taxonomy from real sessions, and evals as a specification. The designer does the first two alone and writes the human part of the third.
HEART for an AI feature
HEART, from the paper by Rodden, Hutchinson and Fu, is five categories:
- Happiness (attitude, for example a 1–7 scale survey);
- Engagement (depth of involvement, for example visits per user per week);
- Adoption (new users over a period);
- Retention (share of users who come back);
- Task success (efficiency, effectiveness, error rate).
The Goals → Signals → Metrics chain: signals must be sensitive to the goal specifically. Metrics are normalized, because “raw numbers grow along with the user base”. And “it isn’t always appropriate to take metrics from every category”.
An AI feature has signals a regular one doesn’t: the share of results accepted without edits; the share of edits and undos per result; the share of regenerations; the share abandoned after the first result. Teresa Torres calls this implicit feedback: regenerating, editing, a follow-up question. Aman Khan says explicit thumbs-up / thumbs-down ratings are very rare. A caveat from DX: acceptance rate means “new lines of code”, it is only good for comparing tools, and it must always be paired with usefulness and cost.
Error analysis: the most valuable work
In the Evals FAQ, Hamel Husain and Shreya Shankar advise reading at least 100 traces and labeling 30 yourself before bringing in an agent. One domain expert does the labeling as a “benevolent dictator”. The order: open coding → axial coding into a failure taxonomy → counting by category. In one of Husain’s cases, three categories explained more than 60% of the problems.
A binary “good / bad” judgment with a written critique is easier to manage than scores. For a judge model, the share of correct “bad” calls and the share of correct “good” calls are measured separately. These are the same skills as in “Synthesizing interviews and qualitative data” and “Testing hypotheses and prototypes with AI”. Codes, themes, counting by participant — only logs instead of interviews.
Evals as a specification, and what that doesn’t mean
Anthropic advises starting with 20–50 tasks taken from real failures and keeping the set balanced (“one-sided evals lead to one-sided optimization”). Also: give the judge model an “I don’t know” option, and read transcripts before you trust the scores.
Torres distinguishes four types of evals: a golden set, code-based checks (try these first), a judge model (binary, calibrated), customer feedback. Her rule: “don’t let a vendor define what correct means for your product”.
Gothelf writes that evals are becoming the new PRD, but 94% on evals only means the feature behaves as intended in 94% of cases. To the definition of done he adds a threshold, one sentence per eval about which user behavior it should change, an owner for failure review and a date when the set gets refreshed with production data. Khan’s formula for a judge prompt: judge’s role → context → goal with a pass / fail criterion → definitions of terms. His dimensions are: hallucination (does it use the context it was given), tone, correctness, relevance of what was retrieved, summary quality, coherence.
An example from Torres’s practice: Interview Coach gives feedback on interview transcripts. She went through the errors email by email; the most frequent failure, which she calls catastrophic, was leading questions. Keyword checks (“usually”, “typically”) plus judge models on a small set of transcripts cut the share of generic questions from about one in five to about one in twenty-five.
In the Vistaly project, the first judge caught every bad answer but also flagged more than half of the good ones as bad. Seven rounds of prompt edits barely helped; what helped was changing the orchestration, not the wording. Her conclusion: “You need to do error analysis to even know what to measure”.
Example: 30 receipt scanning traces
Split is the fictional app from the “Process with AI: Double Diamond and Design Sprint” topic. Split’s designer collected 30 traces from the beta: the receipt photo, the model’s answer, what the user did next. After open and axial coding, the second prompt below returned this (the example is illustrative):
| Failure category | Traces | Cumulative | Example |
|---|---|---|---|
| Item assigned to the wrong person | 9 | 30% | Trace 04: “Pasta” went to Misha, though Sasha ate it |
| Total doesn’t match the receipt amount | 7 | 53% | Trace 11: the tip was counted twice |
| Handwritten note not recognized | 5 | 70% | Trace 17: a discount written in by pen was missed |
| Tax and service charge not split | 4 | 83% | Trace 22: a 10% service charge sits on its own line with no owner |
| Other | 5 | 100% | — |
The top two categories account for more than half the failures. You can’t catch the first one with code — it needs a judge model with a rubric. A code check catches the second: the sum of the items equals the receipt total. A bar chart of the categories with the cumulative share is built with the same code as in “Desk research from open sources”.
The rubric from the third prompt for measuring “the total matches”:
- 5 — the sum matches the receipt to the cent;
- 3 — off by the service charge, the user fixes one line;
- 1 — off by more than 10%, or an item is made up.
The “blocks release” flag: a made-up item.
In the HEART table, Task success is the share of receipts accepted without edits: target 70%, alarm threshold 50%. The second signal is the share of edits per receipt. Definition of done, Gothelf-style: “The ‘total matches’ eval should cut the share of receipts with an edited total from 23% to 10%”. The designer owns the failure review, and the set is refreshed monthly with receipts from production.
What the designer does here and what they don’t
The designer does the error taxonomy, the quality rubric with anchors, the feedback elements in the interface (Edit, Undo, Retry and Adjust from “UX patterns for AI features”) and pairwise comparisons of two answer options. The designer doesn’t write the judge code or build the infrastructure for eval runs.
Where AI does harm in this work
AI does harm in four cases. The judge model is launched before a person has read the traces. The eval score is presented as value for the user. The only metric is acceptance rate. The set of checks is never refreshed with production data.
This is where the chapter comes full circle. Production traces are the same raw material as the reviews in “Desk research from open sources” and the interviews in “Synthesizing interviews and qualitative data”. The next round of research starts with them.
Command examples for practice
Feature: [name and one-line description]. Users: [segment]. Using HEART, fill in a Goals → Signals → Metrics table for Happiness, Engagement, Adoption, Retention and Task success. State which categories we are deliberately skipping and why. Normalized metrics only: shares and per-user averages, not raw numbers. Add two AI signals: the share of edits and undos per result and the share of results accepted without changes. For each metric, give a target value and an alarm threshold
Input: [number] traces of the feature [name]; each trace is the user’s input, the context passed in, the model’s answer, the user’s next action (accepted / edited / regenerated / left). Phase 1, open coding: for each trace, one or two sentences about what went wrong from the user’s point of view. Judge the result, not the mechanism. Mark only pass / fail. Phase 2, axial coding: group the failure notes into 5–10 categories; for each, a short name, a definition, an example id, a count. Phase 3: a table sorted by count, descending, with the cumulative share of failures, and a bar chart in Chart.js code. Suggest which three categories a code check will catch and which need a judge model. Don’t create a category from a single trace unless the failure is serious. Say how many traces you couldn’t assign
Write an evaluation rubric for [AI feature] that human reviewers will use first and a judge model later. Dimensions: [for example: correctness, grounding in the context passed in, task completion, tone, format compliance]. For each dimension, give anchors: 5 — fully meets it, with a concrete description of what the answer contains; 4 — one minor omission that doesn’t change the user’s next step; 3 — usable only after an edit, say which; 2 — misleading or incomplete, the user redoes it; 1 — wrong, made up or unsafe. Add a separate ‘blocks release’ flag with its own criteria (made-up facts, rule violations), independent of the score. For each dimension, two short example answers scoring 5 and 2. Add a ‘can’t assess’ option and when to use it
Here is our eval set for the feature [name] and the current result [X%]. Write a definition of done, Gothelf-style: a pass threshold in percent; for each eval, one sentence on which user behavior it should change; who reviews failures; the date the set gets refreshed with production data. Separately, list what the X% result does not proveTake an AI feature from your prototype (the “AI as a feature inside a prototype” topic) or from a public product. Collect 30 traces by using it yourself: input, answer, what you did next. Run the second prompt and get a taxonomy with a chart. Write a rubric with the third prompt and check 10 traces against it by hand. Use the first prompt to build a HEART table.
Sources
- Measuring the User Experience on a Large Scale — Rodden, Hutchinson, Fustatic.googleusercontent.com
CHI 2010
- AI acceptance rate: easy to measure, easy to misuse — Laura Tacho, DXgetdx.com
updated July 1, 2025
- Your AI product needs evals — Hamel Husainhamel.dev
March 29, 2024
- A field guide to rapidly improving AI productshamel.dev
March 24, 2025
- Evals FAQ — Husain, Shankarhamel.dev
September 18, 2026
- Demystifying evals for AI agents — Anthropicanthropic.com
January 9, 2026
- AI evals: a hands-on guide for product teams — Teresa Torresproducttalk.org
September 2, 2026
- Interview Coach evalsproducttalk.org
September 3, 2025, a set of 25 transcripts; generic questions dropped from about 4 in 20 to 1 in 25
- 4 new evals and 16 experiment variantsproducttalk.org
September 16, 2026, Vistaly: 100% recall at 43.75% specificity, seven iterations raised it only to 60%
- How to write a definition of done for an AI feature — Jeff Gothelfjeffgothelf.com
September 7, 2026
- Beyond vibe checks: a PM's complete guide to evals — Aman Khan, Lenny's Newsletterlennysnewsletter.com
April 8, 2025, partly paywalled
Found a mistake or an outdated fact? Write to hey@iskra.guide