ConceptIntermediateShipping & Model Lifecycle / Model migration and version changes for users / #20

What role does the golden set play in a migration decision?

The direct answer
Build the golden set as a stratified gate, not a general accuracy check: a minimum number of confirmed labels per disease category, weighted toward the rare-but-severe ones rather than by how often they show up in daily photos, refreshed continuously through the whole migration instead of frozen once. The new model does not go live until it clears the bar on every category separately, not just on the average.
Do this, in order
  1. Build the golden set stratified by disease category, with its own minimum count per category, not one flat sample.Why: an average accuracy number can look great while quietly hiding a category the new model barely handles.
  2. Weight the minimum count toward severity, not toward how common the disease actually is.Why: a disease that only shows up a dozen times a season can still wipe a field, and daily-volume sampling would give it almost no examples at all.
  3. Refresh the golden set continuously through the parallel run, not once before cutover.Why: a set built before the migration started can't catch a category the new model happens to be weak on, if nobody was already looking for it.
  4. Hold back a slice of the golden set that never touches training or prompt-tuning.Why: a set the team can see while tuning stops being a real test and starts being a target.
  5. Require an agronomist to confirm every label by hand, never auto-generated from either model's own output.Why: letting an unverified model's guesses feed the set it gets graded against quietly lowers the bar it has to clear.
  6. Report accuracy per category on the migration dashboard, not as one blended number.Why: the blended number is exactly what let a weak category hide the first time this was tried without a real golden set.

How to answer this, stage by stage

Nobody is grading whether you can define "golden set" from a textbook. They are grading whether you can design one that would actually catch a rare, dangerous failure before it reaches a farmer's field. Six moves get you there.

1
Scope it to one real product and one real migration
Say it like this
"Let's ground this. Say AgroLens is an app extension agents use in the field: point a phone at a maize leaf, it names the likely disease and a treatment. Around forty thousand photos a week come through it region-wide. AgroLens' PM, Rohan Trench, is migrating the diagnosis model from an older one, Husk, to a newer one, Tassel, that catches more diseases overall but hasn't been proven yet on the rare ones."
Why this works
Grounds the question in a real workflow before touching what "golden set" even means here.
2
Say what the golden set is actually for, before designing it
Say it like this
"Here's how I'd frame it. The golden set isn't a sanity check you run once and file away. It's the thing that decides the migration, the bar Tassel has to clear before anyone trusts it on real farmers. So the question isn't 'do we have some labeled photos,' it's 'do we have enough labeled photos, of the right diseases, confirmed by a real agronomist, to actually catch the category where Tassel might quietly be worse.'"
Why this works
This is SPARK's S and P steps in one breath: the situation today, and the habit the golden set is meant to build.
3
Name the anchor decision
Say it like this
"The anchor is this: stratify the golden set by disease category, give each category its own minimum confirmed-label count, and weight that minimum toward severity, not toward how often the disease shows up in a normal week. Maize streak virus might only be fifteen photos a week region-wide, but it can wipe a field in a season, so it gets a real minimum, not a share proportional to its rarity."
Why this works
This is the A step, the one design decision everything else hangs on, concrete enough that a reviewer could go check whether it was actually followed.
4
Name the risk the anchor has to survive
Say it like this
"What breaks the first time we're wrong? If the maize streak virus slice of the golden set is too small, or its labels turn out shaky, Tassel could quietly underperform on exactly that category while the region-wide accuracy number still looks great, because streak virus is such a small slice of total volume that it barely moves the average."
Why this works
This is the R step. Naming the failure mode before it happens is what makes the anchor a real design decision instead of a checklist item.
5
Say what you deliberately leave out
Say it like this
"What I'd deliberately not build on day one: an automatic pipeline that expands the golden set straight from live farmer photos and whichever model's guess looked confident. That sounds efficient, but it lets an unverified model's own output quietly train the bar it's being graded against. Slower, human-confirmed labeling is the safe tradeoff here, even though it costs the agronomist's time every week."
Why this works
This is the K step. Naming what you're not building, and why it's safe to skip, is what separates judgment from a wish list.
6
Close on the actual gate
Say it like this
"So here's what I'd actually say: the golden set is the migration's real gate, not a formality before it. Stratify it by category, weight the rare-severe ones on purpose, refresh it continuously during the parallel run, keep a held-back slice nobody tunes against, and report accuracy per category, not blended. Tassel goes live when it clears every category's own bar, not when the average looks good."
Why this works
Closes on something a reviewer could go check line by line, not a promise to "be careful with the data."
If you remember one thing A golden set built as one flat sample will always be dominated by whatever disease shows up most often. A golden set built to actually gate a migration has to be stratified on purpose, weighted toward what's rare and dangerous, not what's common and safe.

Let's learn

Say we build a model that looks at a photo of a maize leaf and names the disease on it. Before AgroLens existed, an extension agent had to recognise the disease by eye, or drive a sample two hours to a regional lab and wait a week for results. By the time the answer came back, a treatable disease had often already spread past the point where treatment helped.

Then AgroLens went live with Husk, its first diagnosis model. Point a phone at a leaf, get a likely disease and a recommended treatment in under two seconds. Region-wide accuracy sat around ninety-one percent on the mix of diseases agents actually see most often: common blight, rust, gray leaf spot. Extension agents stopped guessing and started treating fast.

Knowledge spark: what's a golden set? A fixed set of examples with confirmed, trusted correct answers, used to check a model before anyone trusts it in production. Not a random sample of whatever's lying around, a deliberately built set that includes the cases you most need to get right.

Now AgroLens is migrating from Husk to Tassel. Tassel is a bigger model, trained on a wider mix of diseases, and on the common categories it's clearly better, catching leaf diseases Husk sometimes missed. But "clearly better on average" is not the same claim as "clearly better on every category," and that gap is exactly where a migration goes wrong. Maize streak virus is rare, only about fifteen confirmed cases a week across the whole region, but it's also one of the most destructive diseases a smallholder farmer can face, capable of cutting yield by half if treatment starts even a week late.

Say plainly: the extra accuracy Tassel picks up on common diseases is not the real problem. The real problem is that streak virus is such a small slice of total photo volume that a single blended accuracy number could look wonderful while Tassel is quietly worse on exactly the disease that can least afford to be missed.

A model that's better on average can still be worse on the one case that matters most.
The decision that mattered Stratify the golden set by disease category and set a real minimum label count for each one, weighted by severity rather than by how often it occurs in a normal week's photo volume. That's the one design choice that decides whether streak virus gets checked at all, or just assumed to be fine because the region-wide number looked calm.

At its worst, Tassel goes live region-wide having been checked against maybe four or five confirmed streak virus photos, the natural share it would get from a flat, unstratified sample of forty thousand weekly photos. If Tassel turns out to miss streak virus more often than Husk did, that gap won't show up in the aggregate number, and the first sign of trouble will be a farmer's field, weeks later, past the point where treatment still works.

The choice I would take back. When Tassel's migration was first scoped, the golden set was built by pulling a random one-percent sample of the last month's photos and having an agronomist confirm the labels. That felt rigorous. It also meant the set's category mix matched daily photo volume exactly, which is precisely wrong for a model check: it gave the golden set almost no examples of the diseases that matter most and can least afford to be missed.

What I would leave alone. AgroLens also runs a much lower-stakes model that suggests the best time of day to spray fungicide based on humidity forecasts. A flat, unstratified sample is genuinely fine there, because every outcome in that category is roughly as costly as every other, there's no single rare case that can wipe out a season on its own.

The lesson. A golden set that mirrors daily volume will always be dominated by what's common. If the thing you actually can't afford to get wrong is rare, the golden set has to be built around that fact on purpose, or it will quietly never test it at all.

Now here is the same thing as a story

The short version is above. Read on if you want to feel why a ninety-four percent accuracy number almost hid a real problem.

Rohan Trench has run AgroLens' model roadmap for two years, and he built the first golden set discipline the company ever had, back when Husk shipped. He's the one people trust to say whether a model is actually ready, not just impressive on a demo.

When Tassel's evaluation results came back, the number on the slide was ninety-four percent, up from Husk's ninety-one. The room was ready to approve cutover on the spot. Rohan wasn't, because he knew exactly how that ninety-four percent had been built: a random sample of last month's photos, confirmed by an agronomist, but sampled in proportion to how often each disease actually showed up.

He asked one question before anyone signed off: how many confirmed streak virus examples were actually in that evaluation set. The answer was four. Four photos, out of nearly four hundred in the whole golden set, deciding whether Tassel was trusted on the single disease capable of cutting a smallholder's yield in half.

Ninety-four percent on paper. Four photos deciding the disease that mattered most.

Rohan paused the cutover and asked the agronomy team to pull every confirmed streak virus photo from the last six months of AgroLens' archive, plus new ones collected specifically for this migration, rather than waiting for enough to show up naturally in the normal weekly volume. It took nine days to gather sixty confirmed examples. On that stratified slice, Tassel's accuracy on streak virus specifically was seventy-eight percent, well below Husk's eighty-nine.

Tassel had learned the common diseases better and the rare, severe one worse, and nothing about the original ninety-four percent number would ever have shown that, because streak virus made up such a tiny share of daily volume that even a real regression in it barely moved the blended average.

Hand-sketched diagram with a document icon labeled Golden Set in the center, four labeled callouts radiating around it: minimum count per rare category, refreshed during the parallel run, labels reviewed by an agronomist, weighted by severity not volume.
A golden set built to gate a migration needs all four of these on purpose. Drop any one and the set quietly reverts to mirroring whatever's common.

What stayed with Rohan wasn't the seventy-eight percent number itself, it was how close the team came to shipping Tassel on the strength of a number that had never actually been tested on the case that mattered. At the kickoff meeting, someone had proposed stratifying the golden set from the start. It was set aside as extra process for a migration already running behind schedule. Nobody argued against it directly, it just lost to the calendar.

The second version of the golden set discipline sets a category-specific minimum, sixty confirmed examples for any disease capable of a yield loss over thirty percent, refreshed every two weeks through the parallel run instead of frozen once at the start, with a held-back slice the modeling team never sees while tuning. Run the same Tassel migration through that design and streak virus's real gap gets caught in the first evaluation cycle, not nine days into an emergency pause after the fact.

The thing Rohan would tell his past self, back at that kickoff meeting: an evaluation set that mirrors normal volume will always test what's common. If what you actually can't afford to get wrong is rare, you have to go build the set for it on purpose, because it will never show up on its own in time to matter.

SPARK, in one screen

This is a design question about how to build the migration's own validation gate, not a story about a person's habit flipping, so SPARK fits and FLIPS doesn't.

S, situation. Before this discipline existed, a migration decision got made off one evaluation set, sampled in proportion to daily photo volume and confirmed by an agronomist, then reduced to a single blended accuracy number. That number decided whether the new model shipped region-wide.
P, payoff. The habit we want the team to build is checking every disease category on its own, not the region-wide average. We considered leaving the golden set as a single flat sample and just watching the blended number more closely, and rejected it: watching a number more closely doesn't change what that number is capable of showing, and a rare category can move by forty percentage points without visibly denting an aggregate built mostly from common cases.
A, anchor. Stratify the golden set by disease category. Set a real minimum confirmed-label count for each category, weighted by how severe a miss would be, not by how often the disease shows up in a normal week. Streak virus gets sixty confirmed examples on purpose, not the four it would earn from a flat one-percent sample of forty thousand weekly photos.
R, risk. The first time this design is wrong, it's because the minimum count for some category turns out too low to catch a real regression, or a rushed migration timeline pressures the team into shrinking it. The fix isn't a bigger number picked once, it's making the minimum a real gate that blocks cutover on its own, not a target that can quietly slip under deadline pressure.
K, keep out. Deliberately not automating golden-set growth from live production traffic and either model's own confident output. That would let an unverified model's guesses feed the bar it's graded against, and the labeling stays slower and human-confirmed on purpose, even though it costs agronomist hours every week that an automated pipeline wouldn't.

One more thing worth naming: precision by category gets tracked for the full parallel run, not just at the evaluation gate before cutover. Tassel matching or beating Husk once, in one evaluation cycle, isn't the bar. It has to hold for several consecutive cycles on every category, because a model can pass a single evaluation by chance on a small, rare-category sample and still be genuinely worse in the field.

What the flat sample would have given streak virus, vs. what the stratified minimum requires
Flat 1% sample of weekly volume (streak virus's natural share)~4 photos
Stratified minimum, set on purpose for a high-severity category60 photos
Fifteen times more confirmed evidence on the one category where a miss costs a farmer half a season's yield, simply by deciding the minimum should be severity-weighted instead of volume-weighted.
Accuracy by category: blended number vs. the streak virus slice alone
Region-wide blended accuracy (what the slide showed)94%
Streak virus accuracy alone, on the stratified 60-photo set78%
A sixteen-point gap that the blended number had no way to show, because streak virus is too small a slice of daily volume to move a number built from everything at once.

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

Isthmus Library Network is migrating the model that auto-tags incoming donated books with subject and genre labels, from an older classifier to a newer one that's meaningfully better on the library's most common categories: fiction, biography, general nonfiction.

S, situation. Isthmus' current evaluation set is a random sample of last quarter's donated books, labeled by a cataloguer, weighted naturally toward whatever categories get donated most. Fiction and biography dominate it, the way they dominate real donations.
P, payoff. Cosimo Provost, the PM running this migration, wants the team checking accuracy per subject category before cutover, not one blended number across the whole donation mix.
A, anchor. Stratify the golden set by subject category, with a real minimum for categories that are rare in donations but high-stakes to mislabel, government documents and legal reference chief among them, since a mistagged legal reference can sit undiscovered in the wrong section for years.
R, risk. If government documents and legal reference stay under-sampled, the new classifier could quietly mistag them more often than the old one while the blended accuracy number, dominated by fiction and biography, still looks like an improvement.
K, keep out. Not auto-expanding the golden set from the new classifier's own confident guesses on unlabeled donations, for the same reason as at AgroLens: an unverified model's output shouldn't get to define the bar it's judged against.

Category share of donations vs. share of stakes if mislabeled
Fiction and biography: share of total donation volume71%
Government documents and legal reference: share of total donation volume3%
The category most likely to sit mislabeled and undiscovered for years is exactly the category a flat sample would barely test at all.
Same shape, different stakes At AgroLens the rare category threatened a farmer's yield within a season. At Isthmus it threatens a mislabeled document sitting invisible in the wrong section for years. The anchor decision doesn't change: find the category that's rare in volume but expensive to miss, and build the golden set's minimum around that on purpose.

Swap the trigger and it still runs.
Speed: an interviewer caps the answer at ninety seconds. Skip straight to the anchor: stratify the golden set by category, weight the minimum toward severity, refresh it continuously, gate on every category separately.
Cost: the agronomy team can only confirm labels part-time this quarter. Don't shrink the rare-category minimum to fit the budget, shrink the common-category oversampling instead; the common categories already have plenty of naturally occurring confirmed examples.
The model got better: Tassel turns out to beat Husk on every category, including streak virus. That doesn't make the stratified design unnecessary, it just means the gate confirms what everyone hoped, instead of assuming it.

Where people run it wrong.
They build the golden set as a random sample and mistake "random" for "unbiased," when a random sample of real-world volume is biased toward whatever's common, by definition.
They freeze the golden set once, before the migration starts, so it can never catch a category the new model turns out to struggle with that nobody expected.
They let a blended accuracy number stand in for the real question, whether every category the product actually depends on cleared its own bar.

How to use it live. Say the anchor before naming a single number: "the golden set has to be built to catch the category that's rare and expensive to miss, not the category that's common and already safe." That buys the room to ask what's actually rare and severe in this specific product, instead of reciting a generic testing checklist.

Flashcards (click a card to flip it)

1 · THE FRAMEWORK
What framework fits "what role does the golden set play in a migration decision," and why not FLIPS?
Tap to flip
ANSWER
SPARK. This is a design question about how to build the migration's validation gate, not a story about a person's behavior flipping between two settings.
2 · THE PERSON
Who is this answer about?
Tap to flip
ANSWER
Rohan Trench, PM at AgroLens, a crop-disease-identification app for extension agents. He built the company's first golden-set discipline and paused the Husk-to-Tassel migration to fix it.
3 · WHAT THE FIRST PLAN GOT WRONG
What did the original golden set assume that turned out to be the wrong basis?
Tap to flip
ANSWER
It sampled photos in proportion to daily volume, which gave the rare, severe disease (maize streak virus) only about four confirmed examples out of nearly four hundred, nowhere near enough to catch a real regression.
4 · THE ANCHOR
What is the one design decision the whole answer hangs on?
Tap to flip
ANSWER
Stratify the golden set by disease category, with a minimum confirmed-label count per category weighted by severity, not by how often it occurs in normal volume.
5 · THE OLD DECISION
What decision would you take back, and why did it make sense at first?
Tap to flip
ANSWER
Building the golden set from a random one-percent sample of last month's photos. It made sense because it felt rigorous and unbiased, and it stopped making sense once anyone checked how few streak virus examples that random sample actually contained.
6 · THE NUMBER
Fill in the blank: the region-wide blended accuracy read ___%, but on the stratified 60-photo streak virus slice, Tassel's real accuracy was only ___%.
Tap to flip
ANSWER
94%. 78%.
7 · THE REPLAY
Same migration, same team, second design. What changes?
Tap to flip
ANSWER
A category-specific minimum (60 examples for any disease with a yield-loss risk over 30%), refreshed every two weeks through the whole parallel run, with a held-back slice never used for tuning. The streak virus gap gets caught in the first evaluation cycle instead of nine days into an emergency pause.
8 · CROSS-PRODUCT TRANSFER
Section 4 answers this same golden-set question for a different product. Which product, and what's the equivalent rare-but-severe category?
Tap to flip
ANSWER
Isthmus Library Network's book-tagging migration. Government documents and legal reference: only 3% of donation volume, but a mislabel can sit undiscovered in the wrong section for years.

Check yourself Score: 0 / 0

True or false
1. True or false: because Tassel's region-wide accuracy improved from 91% to 94%, the migration was safe to approve as originally evaluated.
  • True
  • False
Show hint
Check how many confirmed streak virus examples that 94% number was actually built from.
Show answer
False. The 94% was a blended average built from a flat sample that gave the rare, severe category only about four confirmed examples. It could not have detected a real regression on that category, and didn't, until the set was rebuilt stratified.
Multiple choice
2. Why does weighting the golden set's minimum count by severity, rather than by daily volume, matter here?
  • A. It makes the overall accuracy number higher.
  • B. A rare disease can still be catastrophic if missed, and a volume-weighted sample would give it almost no examples, hiding a regression inside a healthy-looking average.
  • C. It reduces how many photos the agronomist has to label overall.
  • D. It guarantees the new model will always outperform the old one.
Show hint
Think about what a flat, volume-proportional sample can and can't show.
Show answer
B. Severity and volume are different axes. A category can be rare and dangerous at once, and only a deliberately weighted minimum will actually test it.
Fill in the blank
3. The stratified streak virus golden set required ___ confirmed examples, chosen because any disease with a yield-loss risk over ___% gets a real minimum, not a share proportional to its rarity.
Show hint
Check the anchor step and the framework recap's O step equivalent.
Show answer
60; 30%. That threshold is what turns "rare" into a category that still gets a real evaluation bar instead of an afterthought.
Short answer
4. Someone on the team proposes auto-expanding the golden set using photos both models agree on with high confidence, to save the agronomist's labeling time. Why is that a bad idea here?
Show hint
Think about what "both models agree, with high confidence" actually proves, and what it doesn't.
Show answer
Model answer: Agreement between two models isn't the same as correctness, both could share the same blind spot on a category like streak virus. Letting either model's own confident output define new golden-set examples means the bar the migration is judged against is quietly shaped by the thing it's supposed to be testing.
Short answer, apply it yourself
5. Think of a tool or system you rely on that gets evaluated or reviewed periodically. What's the rare-but-high-stakes case that a typical, volume-weighted review would probably miss?
Show hint
Look for something that almost never happens but would be very costly if it did.
Show answer
Model answer: A hospital's routine chart-audit process that samples patient records in proportion to how common each condition is. A rare drug-interaction case, maybe one in a thousand records, would almost never get pulled for review under a flat volume-weighted sample, even though missing it is far more dangerous than missing a routine case.
Short answer, the number question
6. If AgroLens' weekly photo volume tripled to 120,000 but streak virus cases stayed at roughly 15 a week, would a flat one-percent sample fix the original problem? Show the reasoning.
Show hint
Recompute what a 1% sample of the new volume would contain for streak virus specifically.
Show answer
No. A 1% sample of 120,000 weekly photos is 1,200 photos, and streak virus is still only about 15 of those in a typical week, so it would make up roughly 0.15% of the total volume, and a 1% random sample would still land only a handful of streak virus examples by chance. The category's absolute rate didn't change, so a volume-proportional sample is still the wrong tool regardless of how large total volume grows.
Before you close the answer
Why this works
Tests whether you understand a golden set as an active design decision that has to be built around what's rare and dangerous, rather than a passive record of "labeled examples we happen to have." Most candidates describe a golden set as evidence; the strong answer treats it as a gate someone has to deliberately engineer.
Follow-up traps
"Isn't stratifying by severity just guessing which categories matter most?" Response: no, severity here is grounded in a real, known cost, yield loss above a stated threshold, not a subjective guess, and it's the same kind of domain judgment an agronomist would make about which diseases actually threaten a harvest.

"Won't a held-back slice just be extra labeling cost with no immediate payoff?" Response: the payoff is exactly what almost got missed here, a set the modeling team can see while tuning stops being an honest test, so the small ongoing labeling cost buys the one thing a visible set can't: a number nobody could have quietly optimized toward.
If pressed
The category-specific minimum isn't a flat number across all high-severity diseases either. It scales with how visually distinct the disease's symptoms are: a disease with subtle, easily-confused symptoms needs a larger confirmed set than one with a distinctive, hard-to-miss visual signature, because the harder the category is to label consistently, the more examples it takes before the confirmed set itself can be trusted.
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