Skip to content
mentoor

Topic 6 of 6 · 5 min read

Finding failures hidden by averages

Goal: Slice a quality report by segment and find the group where the feature misses the bar despite a good average.

An overall pass rate can look good while one group of users gets a feature that fails; slice the results by segment before you call anything good enough.

Check yourself · 1 of 3

A feature passes 93% of tests overall, but 90% of test cases are in English. What risk does the average hide?

Choose one answer

Why it matters

An average is weighted by how many cases each group contributes. If 90% of your test cases are English, a feature can fail every Spanish case and still report a high overall score. The people in the failing group feel the failure fully, and may be treated unfairly, even though the dashboard is green.

Which slices to try

Choose slices from how users really differ:

  • Language and dialect.
  • User type: new or expert, free or paid, region, device.
  • Input length: very short messages and very long documents often behave differently.
  • Topic or category: billing against technical, simple against rare.
  • Input quality: typos, scans, noisy audio, pasted tables.
  • Sensitive attributes such as age or gender where you have them and may legally and ethically use them, to check for unequal results.

How to do it

  1. Add a segment label to every case in the golden set before you grade.
  2. Report the pass rate and the case count for each segment next to the overall score.
  3. Compare each segment with the bar, not only with the average.
  4. Check that each segment has enough cases to say anything. A slice with 6 cases is a pointer, not a finding. Add cases to confirm.
  5. Decide for each gap: fix, restrict (do not offer the feature there), add review, or accept with a stated reason.

Before and after

Before: "Overall pass rate: 91%. Above our 90% bar. Ship."

After:

Segment Cases Pass rate
English 170 94%
Spanish 20 70%
Arabic 10 60%
Overall 200 91%

"Spanish and Arabic miss the bar. We launch for English now, and collect more non-English cases before opening those languages."

What goes wrong

  • Looking at the average only, because it is one tidy number.
  • Slicing after launch, when users have already hit the failures.
  • Slicing by too many attributes at once, so each group is tiny and the noise looks like a finding.
  • Choosing slices that confirm what you already believe, instead of ones based on how users differ.
  • Not recording segment labels, so the test cannot be sliced afterwards.

Examples

A table that hides a gap

Overall 91% looks above a 90% bar. By language: English 94% on 170 cases, Spanish 70% on 20, Arabic 60% on 10. Two groups miss the bar, and the average hides it because they are 15% of the cases.

Input length

A summariser passes 95% of short emails but 62% of documents over 20 pages. The overall number is high because most cases are short emails. Report by length bucket.

Key points

  • A good overall score can hide a segment that fails badly because the segment is small.
  • Label every test case with its segment before grading, so you can slice later.
  • Report the case count with each slice, since a tiny slice is a pointer, not proof.
  • Compare each segment with the bar, not with the average.
  • For each gap, decide: fix, restrict, add review, or accept with a written reason.

Common mistakes

  • Reporting only the overall number.
  • Slicing after launch instead of before.
  • Cutting into so many slices that each has a handful of cases.
  • Not labelling test cases with segments, so slices are impossible later.

Check yourself · 2 of 3

A pass rate by segment shows New users 96% (400 cases) and Expert users 78% (12 cases), with the bar at 90%. What is the best next step?

Choose one answer

Check yourself · 3 of 3

Which step lets you find a failing segment after grading is done?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic