InterviewAdvancedEval-Driven Specification / Golden datasets and test set ownership / #26

Describe how you would build a golden set for a product I name.

The direct answer
Break the golden set into the product's real categories, and inside each one, budget separate examples for the typical case and for its known edge cases. Don't pick one flat number and sample it at random across everything. Size the total from that build-up, give it as a range instead of one number, and watch which single assumption, more categories or more edge cases per category, moves the total the most, because that's the one to defend if someone pushes back.
Do this, in order
  1. Break the golden set into the product's real categories, and budget typical plus edge-case examples inside each one.Why: a flat random sample can leave a real category almost empty while the total still looks fine.
  2. Name each category's example count out loud, don't hide a guessed total behind one confident number.Why: an unstated per-category number is a guess wearing a total's clothes.
  3. Give the total as a range, not one point number.Why: the real total depends on how many categories the product actually ends up serving, and that grows with usage.
  4. Check the total against how long it would really take a person to hand-label it.Why: a number that implies two days for 190 careful examples is too good to be true, and one that implies a whole quarter is too slow to ship.
  5. Watch which assumption, more categories or deeper edge-case coverage inside each one, swings the total most.Why: that's the number a sharp interviewer pushes on, and "it depends" isn't an answer.
  6. Leave the low-stakes, high-volume categories thin, on purpose.Why: padding an already-simple category doesn't catch anything new, it just spends review time a harder category needs more.

How to answer this, stage by stage

Eight moves. The trap is naming one round number and never showing which categories it's actually built from.

1
Pin the product down before touching a single number
Say it like this
"Let's make this real. Say I'm the PM on Recap, the meeting-notes tool built into Waybridge, a project-management app. It listens to a call, then writes the summary and the action items. The question is how I'd size the golden set we grade it against."
Why this works
Grounds an abstract sizing question in one real product before any arithmetic starts.
2
Say what a flat number would hide
Say it like this
"Before I give you a number, here's the trap. If I just say 'a couple hundred examples,' that tells you nothing about whether it covers the meetings that actually matter. A flat count can hide a golden set that's blind to your riskiest category."
Why this works
Sets up why this needs real arithmetic, not a round number said with confidence.
3
State the build-up equation out loud (B)
Say it like this
"Here's the equation. Golden set size equals the sum, across every meeting type Recap covers, of the typical examples for that type plus the edge cases for that type. Not one flat number split evenly. Seven separate additions."
Why this works
An estimate with no visible equation is a guess in a confident voice.
4
Own a number for every category, not just the total (O)
Say it like this
"Recap covers seven meeting types. Standups need the least, they're short and they all look alike, so I'd put 15 there. Incident postmortems need the most, 40, because that's where a missed action item actually hurts someone. Add up all seven and I land on 190."
Why this works
Names the weighting logic instead of hiding a guessed total behind round confidence.
5
Give the total as a range, not a point (U)
Say it like this
"190 is the number for the seven meeting types Recap handles today. A smaller team using just four of them lands closer to 110. A big account running ten or eleven types pushes it past 280. So: 110 to 280, and I'd call 190 the working number."
Why this works
A single number implies a certainty about scope nobody actually has yet.
6
Check the range against real labeling time (N)
Say it like this
"190 examples, at about half an hour each to write a gold summary and note the real action items, that's roughly 95 hours. Basically two and a half weeks of one reviewer, doing nothing else. If that came out to two days, I'd worry the set's too thin to mean anything."
Why this works
Tests whether the number survives contact with an actual calendar, not just arithmetic on paper.
7
Name which assumption moves the number most (D)
Say it like this
"If I add one more meeting type at the average size, the total moves by about 27. If I instead double how many edge cases each category gets, tangents, crosstalk, someone joining late, that moves it by about 80. Depth beats breadth. That's the number I'd watch, not the category count."
Why this works
A good estimator says which knob to watch. A bad one just reports the total and stops.
8
Say what you would not expand, and close on the plan
Say it like this
"So: 190 examples across seven categories, weighted toward the ones where a miss actually costs someone, range 110 to 280 as we add customers. Standups stay small on purpose, 15 is enough. What I'm watching is edge-case depth in the highest-stakes categories, because that moves this number, not the total count of meeting types."
Why this works
Ends with a number someone could act on Monday morning, not a vibe about "enough test data."
If you remember one thing A golden set sized by a flat count only proves you have enough examples in general. It says nothing about whether you have enough of the ones that can actually break.

Let's learn

Recap is the feature inside Waybridge, a project-management tool, that listens to a meeting and writes the summary and the action items for you.

Before Reza's team built a real eval, they used the same rule every feature team at Waybridge used: twenty hand-labeled examples, picked at random, done in about a day and a half. Back then Recap only summarized two kinds of meeting, so twenty felt like plenty.

Now the team is building one sized on purpose: 190 examples spread across the seven kinds of meeting Recap actually covers today, standups, retros, 1:1s, client calls, incident reviews, kickoffs, and planning reviews.

# meeting type, typical + edge (own numbers)
Daily standup: 10 + 5 = 15
Sprint retro: 15 + 10 = 25
1:1: 12 + 8 = 20
Client status call: 18 + 12 = 30
Incident / postmortem review: 20 + 20 = 40
Kickoff / onboarding call: 15 + 10 = 25
Roadmap / planning review: 20 + 15 = 35

# total (added up, not averaged)
190
The build-up: golden set size by meeting type, typical vs edge-case examples
Daily standup
10
5
15 total
Sprint retro
15
10
25 total
1:1
12
8
20 total
Client status call
18
12
30 total
Incident review
20
20
40 total
Kickoff call
15
10
25 total
Planning review
20
15
35 total
Typical examples Edge-case examples
Bar length shows each category against the biggest one, incident review. Incident review isn't just the tallest bar, it's the only category where edge cases make up half the count on purpose.
Knowledge spark: what's a gold summary? The one write-up a real expert agrees is right for that meeting. Every score compares Recap's summary against this one. If the gold summary is missing for a whole category, there's nothing to compare against, and the score can't see that category at all.

Here's the turn. More examples isn't really the fix.

We didn't need a bigger golden set. We needed one with a postmortem in it.

Say it plainly: the old set of twenty had exactly one incident-review example in it, buried among nineteen ordinary standups and retros. The score could look great and still be unable to see the one category where a miss costs the most.

The decision that mattered Size the golden set by meeting-type category and edge-case depth, not by a flat quota copied from another team's playbook.

What that costs at its worst: Recap reports a healthy overall number, leadership trusts it, and the one category where a wrong summary actually costs a customer something, an incident review, keeps failing quietly, because the eval was never built with enough of that category to notice.

The choice I would take back. Copying Waybridge's org-wide flat quota, twenty examples, sampled at random, for Recap's eval. That made sense when Recap only summarized two similar meeting types at beta. It stopped making sense the moment Recap grew to seven very different shapes of meeting, and a flat random sample stopped being able to represent any of them well.

What I would leave alone. The daily standup category doesn't need a bigger or more careful golden set. Standups are short, low-stakes, and nearly identical in shape, so 15 is enough there, and adding more would just teach the model to be right on the easiest thing it does.

The lesson. A golden set sized by a flat count only proves you have enough examples in general. It says nothing about whether you have enough of the ones that can actually break.

Now here is the same thing as a story

The short version is above. Read on if you want to feel why one missing category mattered more than a hundred extra examples would have.

Reza Farahani can tell a good meeting summary from a bad one in about four seconds, without reading past the first line. He's the product manager for Recap, and he wrote its very first golden set himself, the night before the beta launch review: twenty examples pulled at random from a shared recordings folder. It took him about a day and a half. Back then Recap only handled two kinds of meeting, daily standups and sprint retros, so twenty examples split roughly in half between two simple formats felt like plenty.

For the better part of a year, that felt right. Recap kept scoring in the mid-nineties against those twenty examples. The team added client calls. Then 1:1s. Then incident reviews, for engineering teams who wanted a written record after something broke. Nobody touched the golden set. Why would they. The number kept looking good.

The habit thinned in three small steps. First, when Recap grew into incident reviews, nobody added examples for that category, there wasn't time before the next release and the score was still fine. Then, when an engineer asked in a planning meeting whether the golden set still matched what Recap actually covered, the answer was "probably," and the meeting moved on. Then, quietest of all, new hires joining the Recap team stopped opening the twenty examples at all. They just watched the dashboard. Ninety-four percent felt like a fact, not a measurement anyone had checked lately.

Then, on a Tuesday, one of Waybridge's client engineering leads ran an incident postmortem call after an outage. Fifty-two minutes, four people, a clear cause. Four minutes in, the call drifted, someone raised an unrelated billing question, then drifted back. Recap wrote up the call and listed three follow-up actions. It missed the fourth: rotate the API key that had been exposed. Nobody caught it that day.

A week later, almost the same outage happened again, same exposed key, still live. The client's lead pulled up the old summary to check what they'd agreed to do, and the fourth action simply wasn't there. It wasn't wrong. It was gone. Recap had followed the conversation right up until the tangent, then treated whatever came after the tangent as the real ending.

Reza pulled the golden set that afternoon. Of the original twenty examples, exactly one was an incident review.

A hand-sketched comparison scene: a small stack of pages labeled OLD, 20 picked at random, with a note reading only 1 postmortem in the whole set, next to a taller stack of documents labeled NEW, 190 by meeting type, with a note reading 7 categories, weighted by risk
The category where a miss costs the most had never really had a chance to be tested.
We didn't need a bigger golden set. We needed one with a postmortem in it.

The old decision that put him there was almost a year old, and easy to remember, because it took about ninety seconds. Someone on the platform team had shared a doc: eval quota for new features, twenty hand-labeled examples, sampled at random, ship it. Every team used the same doc. Reza copied it because copying it was fast, and Recap, at the time, only did two things. Nobody in that room was wrong. Twenty random examples covering two simple formats is a reasonable golden set. Twenty random examples covering seven very different ones is a coin flip about which seven you even got.

So he rebuilt it that month: 190 examples, weighted by category, forty of them incident reviews, a third of those built specifically around calls that drift off-topic mid-conversation the way the real one had. Run against the new set, Recap doesn't just report a healthy overall number and stop. It reports: six of the forty postmortem examples get the follow-up action wrong when the call drifts for more than ninety seconds. That's the exact shape of what happened to the client. Caught in an afternoon of testing, instead of found by a customer, twice.

The part I'd go back and tell myself: I used to think a golden set was there to catch mistakes. It's really there to decide, ahead of time, which mistakes you're even able to catch.

BOUND, built from seven categories, not one guess

This is a sizing question wearing a design question's clothes, so BOUND fits and FLIPS doesn't. Nobody's habit snapped on a Tuesday here. A team had to decide how much of each kind of meeting its own eval could afford to skip.

B, break it down. Golden set size equals the sum, across every meeting type Recap covers, of the typical examples for that type plus its edge cases. Seven separate additions, not one guess split evenly.
O, own the numbers. Seven meeting types: standup 15, retro 25, 1:1 20, client status call 30, incident review 40, kickoff call 25, planning review 35. Added up: 190.
U, use a range. At the point estimate, 190, for the seven types Recap covers today. If a team only uses four of them, 110. If a large account runs ten or eleven types, 280. Honest range: 110 to 280.
N, nail the sanity check. 190 examples, at about 30 minutes each to write a gold summary and note the real action items, comes to roughly 95 hours, about two and a half weeks of one reviewer doing nothing else. That's also a sliver of what Recap actually processes, something like 4,000 calls a day company-wide, but a golden set was never meant to sample everything. It's meant to sample what breaks.
D, direction. Adding one more meeting type at the average size moves the total by about 27. Doubling the edge cases inside every category moves it by about 80. Depth beats breadth. That's the number worth watching, not the category count.

A hand-sketched number line marking a low bound of 110 examples at four meeting types, a point estimate of 190 examples at seven meeting types today, a high bound of 280 examples at ten to eleven enterprise meeting types, and a separate scale mark of about 4,000 meetings Recap summarizes in one day
The range against Recap's real daily call volume, for scale.
What moves the total more: adding a meeting type, or doubling edge-case depth
Doubling edge cases in every category+80 examples
Adding one more meeting type, average size+27 examples
A whole new meeting type only adds about 27 examples on average. Doubling how many edge cases each existing category gets adds about 80, roughly three times as much. Precision inside a category costs more than adding a category.
What moves this most Doubling edge-case depth swings the total about three times more than adding a whole new meeting type. Defend that number, not the category count, if someone pushes back.

And if you want to be sure it really works, try it somewhere else

A mid-size immigration-paperwork translation agency runs a tool called Clarity Check. It doesn't summarize anything, it flags terminology drift, the moments a legal term got translated into something close but wrong, so a human reviewer can catch it before a document gets filed.

Marlena Oduya is the agency's terminology reviewer, and she's the one who ends up sizing its golden set.

B, break it down. Holdout-style golden set size equals the sum, across every document type the agency certifies, of typical examples plus edge cases, added up by document type, not guessed as one number per language pair.
O, own the numbers. Six document types: birth or marriage certificates 12, employer sponsorship letters 18, visa petition letters 18, medical records 22, court transcripts 30, asylum affidavits 35, the highest, because a mistranslated detail there can affect a real asylum claim. Total: 135.
U, use a range. At 135 for six document types. If the agency only certifies four, skipping court transcripts and medical records because those need specialist translators it doesn't keep in-house, 90. If it adds a second high-stakes language pair with different legal terms, 200. Range: 90 to 200.
N, nail the sanity check. At 135 examples, roughly 35 minutes each for a bilingual reviewer to check the translation and write the gold terminology map, that's about 79 hours, close to two weeks of one reviewer's time. Against a monthly grading budget of 50 hours, that's the whole set spread across two months, not one sitting.
D, direction. In principle, doubling edge-case depth would swing Clarity Check's total more than adding a document type, same shape as Recap's answer. But immigration paperwork has a fixed list of document types the agency is legally required to certify. Marlena can't decide asylum affidavits don't count. The lever she can actually pull is which language pair gets full depth first, and that's what she watches.

The old decision Clarity Check would take back is a cousin of Recap's, not a copy. Waybridge had sized by a flat quota because copying the org's standard playbook was fast. The agency's old habit was different: a flat number of examples per language pair, chosen back when it only handled one kind of document, so language pair really was the whole story. Same mistake wearing a different coat: sizing an eval by the axis that was true once, and never checking it again as the real shape of the work changed.

Swap the trigger and it still runs.
Speed: an interviewer wants a number before the meeting ends. Round to 25 per document type, six types, 150 as the working total, revisit the exact split once real case files start arriving.
Cost: the agency can only pay a certified bilingual reviewer for 50 hours of grading a month. At 35 minutes an example, that's about 85 examples a month, so the golden set gets built across two monthly passes, not one sitting.
The model got better: a new legal-terminology glossary cuts down ambiguous terms. That doesn't shrink the golden set. Fewer ambiguous terms just means fewer of the 135 examples turn out to be genuinely hard, which is a different thing from needing fewer of them.

Where people run it wrong.
They size the golden set by the unit that was true at launch, language pair, meeting type, feature, and never check whether that's still the right unit as the product's shape changes.
They let one overall accuracy number stand in for every category, so a badly under-covered high-stakes category hides behind a healthy average.
They set the size once at launch and never revisit it as the stakes grow, more customers, more categories, past what the original number was ever built to answer.

How to use it live. Say the equation before naming a single number: total equals the sum across categories of typical plus edge, never one flat count split evenly. That buys a few real seconds to do the arithmetic instead of guessing out loud.

Flashcards (click a card to flip it)

1 · THE FRAMEWORK
Which framework fits a question asking you to build a golden set for a named product, and why not FLIPS?
Tap to flip
ANSWER
BOUND. This is arithmetic behind a sizing decision, a total built from categories and edge cases, not a habit that snaps on a Tuesday.
2 · THE PERSON
Who is this answer about?
Tap to flip
ANSWER
Reza Farahani, product manager for Recap, the meeting-notes summarizer inside Waybridge, a project-management app.
3 · WHAT THE OLD SET HID
What did the old, flat 20-example golden set actually hide?
Tap to flip
ANSWER
That only one of the twenty examples was an incident postmortem, so the category where a missed action item costs the most had never really been tested.
4 · THE EQUATION
State the golden-set sizing equation in one line.
Tap to flip
ANSWER
Golden set size equals the sum, across every meeting type, of the typical examples for that type plus its edge cases. Never one flat number split evenly.
5 · THE OLD DECISION
What decision would you take back, and why did it make sense at the time?
Tap to flip
ANSWER
Copying Waybridge's org-wide flat quota, twenty random examples, for Recap's golden set. It made sense when Recap only covered two similar meeting types at beta.
6 · THE NUMBER
Fill in the blank: Recap's golden set adds up to ______ examples across ______ categories, with incident reviews getting ______ of them.
Tap to flip
ANSWER
190 examples, 7 categories, 40 for incident reviews, the biggest slice on purpose.
7 · THE REPLAY
Same postmortem shape, new golden set. What changes?
Tap to flip
ANSWER
The eval stops reporting one healthy average and starts saying: 6 of 40 postmortem examples get the follow-up action wrong when the call drifts off-topic for more than 90 seconds, the exact failure that reached the client.
8 · CROSS-PRODUCT TRANSFER
Section 4 answers this same question again for a different product. Which product, and which assumption actually moves the number in practice?
Tap to flip
ANSWER
Clarity Check, a translation agency's terminology-accuracy checker. Doubling edge-case depth would swing the total most in theory, but the document types are fixed by legal requirement, so the lever Marlena can actually pull is which language pair gets full depth first.

Check yourself Score: 0 / 0

Multiple choice
1. Which assumption swings the size of Recap's golden set the most?
  • A. How many meeting types Recap covers in total.
  • B. How many edge cases each category gets.
  • C. Which day of the week the postmortem call happened.
  • D. How many customers use Waybridge overall.
Show hint
Compare adding one whole category against doubling edge cases inside every category already there.
Show answer
B. Doubling edge-case depth adds about 80 examples to the total, versus about 27 for adding a whole new meeting type.
True or false
2. True or false: since Recap's overall score looked fine at around 94 percent, the golden set didn't need fixing.
  • True
  • False
Show hint
Ask how many incident-review examples the 94 percent was actually measured against.
Show answer
False. The 94 percent was measured against a set with only one incident-review example, so it couldn't have caught a postmortem failure even if that whole category was badly broken. A healthy average can hide a badly under-covered category.
Fill in the blank
3. Recap's new golden set adds up to ______ examples across ______ meeting-type categories, with incident reviews getting the most, ______.
Show hint
Add the seven category totals from the calc block.
Show answer
190 examples, 7 categories, 40 for incident reviews. 15 + 25 + 20 + 30 + 40 + 25 + 35 = 190.
Short answer
4. What old decision does this answer take back, and why did it make sense when it was made?
Show hint
Look at how many meeting types Recap covered the first time anyone sized the golden set.
Show answer
Model answer: Adopting Waybridge's org-wide flat quota, twenty examples picked at random, for Recap's golden set. It made sense when Recap only covered two similar meeting types at beta, and it stopped making sense once Recap grew to seven very different ones.
Short answer, apply it yourself
5. Think of an AI feature you use that reports one overall accuracy or quality number. What's one category of use it might be quietly bad at, that the average number would never show you?
Show hint
Think about the kind of use that's rare but would matter a lot if it went wrong, the kind that might barely appear in whatever the feature was tested on.
Show answer
Model answer: A grammar checker that reports "96% accurate" might be badly wrong specifically on technical jargon or code comments, a small slice of all the text it checks. A high average would never show that one category is failing, because the average is mostly made of the easy, common cases.
Fill in the blank
6. If Recap grows from 7 meeting types to 10, at the same average size per category, about 27, the golden set total would grow from 190 to roughly ______.
Show hint
Add three more categories at the average size to the current total.
Show answer
About 270. 190 + (3 x 27) = 271, close to the high end of the 110-to-280 range, which is a good sign the range was honest to begin with.
From U2xAI Academy

From answering questions to owning outcomes.

A live workshop where you ship a working AI agent, defend a launch decision, and walk away with a portfolio recruiters can't wave off, not just more questions to study.

  • A live AI agent you actually shipped
  • A launch decision you can defend under pressure
  • An interview-ready portfolio, not more flashcards
Know more