InterviewAdvancedEval-Driven Specification / Writing an eval spec / #26

Design an eval spec live for a feature I describe.

The direct answer
Build the eval spec as a rubric with three named dimensions, ingredient use, plausibility, and dietary safety, each scored on its own pass bar, not one blended check. A recipe can use every item in the cart and break no rule and still be something nobody on earth would cook. One bar cannot see that. Three separate bars can.
Do this, in order
  1. Score the recipe on three separate, named dimensions, ingredient use, plausibility, and dietary safety, each with its own pass bar.Why: a blended score hides which part actually failed. A recipe has to clear all three on their own.
  2. Ground every dimension in a real cart, not a rule written from a blank page.Why: "make it plausible" tells nobody what to check. A real cart with a real bad recipe does.
  3. Give dietary safety its own bar, separate from plausibility.Why: a recipe can sound perfectly normal and still get a cook time or a flagged allergen wrong.
  4. Check that a passing recipe uses each item in a sensible role, not just that the item shows up somewhere in the text.Why: a bar that only checks for presence lets marinara sauce stand in for maple syrup and still pass.
  5. Run the rubric hardest against the carts with no obvious dish, not every cart equally.Why: a cart that clearly says "chicken parm" barely needs checking. A cart with four unrelated items is where the model has to guess, and where it gets weird.
  6. Re-run the rubric on the same regression batch after every prompt or model change, and read every card it flags.Why: a rubric nobody reruns is just a memory of a check that used to happen.

How to answer this, stage by stage

Eight moves. Ground it in one real cart, since the interviewer is describing the feature live.

1
Scope it to the exact cart, not "recipes" in general
Say it like this
"So I'm the PM for Cook This, the feature inside Basketwise that turns whatever's sitting in your cart into three recipes. I'm not going to design an eval for 'good recipes' as a category. I'll build it against one real cart: chicken breast, a jar of marinara, a box of spaghetti, and a bag of shredded mozzarella. That's the cart that almost put a bad recipe on a leadership review slide."
Why this works
A rubric built for one real cart is something an interviewer can picture and argue with. A rubric built for "recipes" in general never gets specific enough to check.
2
Say the structure out loud
Say it like this
"Here's how I'll walk through it: what a single pass or fail bar actually misses, the habit I want this eval to build, the rubric itself, what breaks if I set it too tight or too loose, and what I'm leaving out on day one."
Why this works
Two seconds of structure tells the interviewer you have a plan, so they follow your answer instead of guessing where it's going.
3
Reframe what the eval actually has to catch
Say it like this
"Most people hear 'eval for a recipe generator' and go build one check: does it use the cart, does it break an allergy rule. The real gap is a recipe can pass both of those and still be something nobody on earth would cook. A blended bar can't see that. A rubric with its own bar for 'would a person actually make this' can."
Why this works
This is the actual insight being tested. Skip it and you've built a checklist, not a rubric.
4
Say the payoff out loud
Say it like this
"The point of this eval isn't a fancier recipe card. It's catching 'technically uses the cart but nobody would cook this' before it ships, not after a customer screenshots it and posts it."
Why this works
Naming the habit you're protecting, not just the symptom you're fixing, is what keeps a rubric from turning into busywork.
5
Give the anchor: the rubric, three separate bars
Say it like this
"So the rubric has three dimensions, scored on their own. Ingredient use: does it actually use what's in the cart, in a sensible role, not marinara standing in for maple syrup. Plausibility: would a real person make this, does the combination make sense as a dish. Dietary safety: right cook times, no unsafe combos, respects whatever the shopper flagged. A recipe has to clear all three. It doesn't get to average out to good enough."
Why this works
Naming the three bars, out loud, is something an interviewer can picture as a real rubric line, not a promise to "check for quality."
6
Prove it with the near miss
Say it like this
"Here's what almost happened. For that chicken, marinara, spaghetti, and mozzarella cart, one of Cook This's three drafts was Marinara Mozzarella Overnight Oats. It used three of the four cart items. It broke no allergy rule. It passed the single bar clean. It also had marinara standing in for maple syrup in a bowl of oats, and not one person on the team would have eaten it."
Why this works
A specific near miss, with the actual dish named, does more work than "this could go wrong" ever will.
7
Name the risk, in both directions
Say it like this
"Set the plausibility bar too tight, and it starts rejecting real fusion recipes, the unusual ones that are genuinely good, which kills the exact case Cook This exists for: using up an odd mix of cart items. Set it too loose, and 'technically uses three items' passes again, because a loose bar just checks that an item is present, not what role it's playing."
Why this works
Naming both failure directions shows the rubric is a dial you can set wrong two different ways, not just one.
8
Say what's out for day one, close on the line
Say it like this
"So: three separate bars, ingredient use, plausibility, dietary safety, no blended score. I'm not scoring every cuisine style at once on day one, keto, low sodium, kid friendly, that's for later. The number I can point to: 17 of 120 recipe cards in our regression batch passed the old bar and still got flagged by a person. With the rubric, that's down to 2."
Why this works
Interviewers remember the last line most, and this one hands them something they can check, not just a mood.

Let's learn

Here is what happens when a recipe gets every rule right, and still isn't something a person would ever cook.

Say we build Cook This, a feature inside Basketwise's grocery delivery app. It looks at whatever's already sitting in your cart and hands you three recipes you could make out of it, right as you're about to check out.

A hand-sketch of a PM sitting at a desk with two printed recipe cards from a test cart, one marked with a green check labeled cart ok, one marked only with a pencil question mark, a coffee mug nearby, no rubric card in sight
Checking a drafted recipe, before the rubric existed
Knowledge spark: what's an eval spec? A written test a feature has to pass before anyone trusts it. Not a feeling. Not one score. A list of the exact things checked, each with its own pass mark, so two different people would grade the same recipe the same way.

Before the rubric, Cook This was checked against one bar: does the recipe use items from the cart, and does it break none of the shopper's flagged allergies. On the first ten test carts anyone ran by hand, every recipe that passed also looked fine to eat. So the team shipped the bar and moved on.

The regression suite grew. Forty test carts, three recipes each, a hundred and twenty cards a run. Nobody was reading all hundred and twenty by eye anymore. The bar was still doing the checking.

Here is the important part. The recipes that slipped through weren't factually wrong. They used the cart's items. They broke no rule. The real problem was what a person did when they actually read one: they stopped, stared, and said out loud that nobody would make this.

It wasn't wrong. It just wasn't food.

At its worst, that cost more than one odd recipe card. Reading all hundred and twenty cards by hand, to catch the ones like it, took a full day before every release. And once, it still wasn't enough. One slipped past the manual read and reached a beta tester, who screenshotted it and posted it, right as the team was heading into a launch review.

Recipe cards flagged as "nobody would cook this," before and after the rubric
20 0 17 single bar of 120 cards 2 three-part rubric of 120 cards
flagged, single bar flagged, three-part rubric
Same regression suite, forty test carts, three recipes each, a hundred and twenty cards a run. The rubric didn't change what the model generated. It changed how many of those cards still needed a person to catch what a rule alone couldn't see.
The decision that mattered Score the recipe on three separate, named dimensions, ingredient use, plausibility, and dietary safety, each with its own pass bar, instead of one blended check.

The choice I would take back. When Cook This first shipped, the team built one bar: uses the cart, breaks no allergy rule, ship it, tune the taste later. That held up fine when someone read ten test carts by eye every morning and nothing weird got past them. It stopped holding up once the regression suite grew to a hundred and twenty cards nobody was reading one by one anymore.

What I would leave alone. A cart with exactly spaghetti, marinara, and parmesan doesn't need the expensive plausibility check. Any recipe that names those three together is obviously right. Spending review time there takes it away from the carts where the model actually has to guess.

The lesson. Following the rules isn't the same as making sense. A recipe can pass every rule you wrote and still be something nobody would ever cook, so you have to check for "would a person do this" on purpose. It never shows up for free.

Now here is the same thing as a story

Read this one when you've got a few minutes. The short version is above. This is for when you want to feel why it mattered.

Meera Sundaram ran product for Basketwise's recommendations team. She could scan a recipe card and know in about two seconds whether it was a keeper, long before Cook This existed, back when the team still tested every idea by hand.

Cook This launched in the spring. For the first few weeks, it was the best thing on the roadmap. A shopper's cart filled up, three recipe cards appeared, and more people than anyone expected actually tapped one and cooked it that night. The team ran ten test carts by eye every morning before each release, and every one of them looked like food.

So they stopped reading ten. They read three. Then, most weeks, they read whatever the automated bar flagged, which was almost nothing, because the bar only checked two things: did the recipe use the cart, did it break no allergy rule.

Then came the audit.

Before a wider launch review, Basketwise's head of product pulled a random sample from the regression suite, the same forty test carts, run fresh, a hundred and twenty recipe cards. One of them, drawn from a cart holding chicken breast, a jar of marinara, a box of spaghetti, and a bag of shredded mozzarella, was titled Marinara Mozzarella Overnight Oats.

Close hand-sketch of the cart's four items beside a rubric card for Marinara Mozzarella Overnight Oats, with three rows, ingredient use checked green, plausibility marked red X, dietary safety checked green
The anchor: three bars, one fail is enough

Nothing about it broke a rule. It used marinara. It used mozzarella. It technically touched the chicken. No allergy flag anywhere. It sat cleanly inside the sample slide, one recipe among many, ready for the leadership review.

It wasn't wrong. It just wasn't food.

I want to say the problem was that Cook This missed an ingredient, or broke a safety rule. It didn't. Every fact in that card was true. But nobody had ever given the model, or the eval, a specific way to check the other thing, the thing Meera had never had to write down because she'd always just known it by reading the card herself: would a real person actually make this.

Meera pulled the wider launch back a week. Someone spent a full day reading all hundred and twenty cards from that batch by hand, the way the team used to read ten, and found sixteen more like it. Marinara sauce dressing a salad meant for vinaigrette. A stir-fry recipe that skipped cooking the chicken through. Seventeen cards, out of a hundred and twenty, that the single bar had waved through clean.

So here is the decision she made differently.

Months earlier, in a stand-up, the team had agreed: check that it uses the cart, check that it doesn't break an allergy rule, ship it, we'll tune the vibe later. That made complete sense when someone read every test cart themselves each morning and caught anything strange before it ever reached a slide. Nobody had planned for a hundred and twenty unread cards sitting in front of a leadership review.

Meera built the rubric instead. Not one score. Three bars, scored apart: ingredient use, does each item play a real role, not just appear somewhere in the text. Plausibility, would a person actually make this. Dietary safety, right cook times, no unsafe combos, respects what the shopper flagged. A recipe had to clear all three, not average out to fine.

Two panels: left labeled too rigid, a genuinely good unusual coconut lime chicken fried rice recipe rejected with a red X for not matching a template; right labeled too loose, marinara mozzarella oats passing with a check because marinara is merely present
Checked against its own risk, both directions

Run the same batch forward with the rubric in place. A hundred and twenty cards, checked against three bars before anyone reads them by feel. Two get flagged, both genuinely borderline, both fixed inside the hour. The full day of manual reading is gone. The rubric found in an hour what a person used to need a day to catch.

One design trusts that "breaks no rule" is the same as "makes sense." The other checks for both, on purpose, separately.

And the thing I'd want to tell myself, back when we wrote that first stand-up decision: I built a check for what could go technically wrong. I never built one for what would look ridiculous on a slide, and ridiculous was always going to be the one that got there first.

SPARK, one cart at a time

This question asks for a live design of an eval spec, not the feature itself, but it's still one concrete decision about the exact moment a recipe passes or fails, so SPARK still fits. A question asking how to measure Cook This's overall recipe quality across every cart in the app would reach for LEAD instead.

S, situation. Before a rubric like this exists, whoever checks Cook This's drafts runs them through one bar, uses the cart, breaks no allergy rule, and assumes that's the whole test.
P, payoff. Not "nicer recipe cards." The habit worth building: catch "technically uses the cart but nobody would cook this" before it ships, not after a shopper posts a screenshot of it.
A, anchor. Score the recipe on three named dimensions, ingredient use, plausibility, and dietary safety, each with its own pass bar. One fail is enough to fail the recipe.
R, risk. Set the plausibility bar too tight, and it rejects real, unusual combos that are genuinely good, the exact case Cook This is meant to help with. Set it too loose, and a recipe passes just for containing the items, with no check on the role they play.
K, keep out. No attempt yet to score every cuisine style at once, keto, low sodium, kid friendly, on day one. Start with plausibility and safety across every cart, add style-specific scoring later.
Why the anchor survives the risk Check it against the near miss. Does the rubric still catch a recipe that just contains the right items in the wrong role? Yes, because ingredient use checks the role, not just presence. Does it still let a genuinely unusual, good combination through? Yes, because plausibility asks whether a person would make it, not whether it matches a known dish.

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

A public library's reading recommendations run on a completely different shelf, but the same gap between technically matched and actually right shows up in a suggested next book.

S. Colm Radley runs digital services at Cranmoor Public Library, where a feature called Next Read looks at a patron's checkout history and suggests a book to try next. Today, without a rubric, whoever tests it checks one bar: does the suggestion share a subject tag with something the patron borrowed, and is a copy on the shelf.
P. The habit worth building: a patron picks up the suggested book and actually reads past chapter one, not a book that's technically related by tag but wrong for who's reading it.
A. Same shape, different bars. A seven-year-old checks out a gentle picture book about a rescue puppy. Next Read suggests a true-crime book about a police K9 unit, tag matched on "dogs," in stock, technically valid. The rubric adds age fit and tone match as their own bars, alongside tag relevance.
R. Tighten the reading-level bar to require an exact match every time, and it stops offering the "stretch" recommendations librarians actually want to make, a strong young reader ready for something a notch harder. Loosen it to tag match alone, and the K9 book passes again, related by subject, wrong for a seven-year-old.
K. No attempt yet to model tone across every genre crossover on day one. Age fit and tag relevance first, since that's where a wrong suggestion costs the most trust, refine tone matching later.

A hand-sketch of a librarian at a desk with a small stack of books, beside a suggested next read card with three rows, tag relevance checked, age fit marked with a red X, tone match checked
Same anchor, a different desk, tags and age instead of ingredients and dietary safety

It took a parent calling the branch to ask why a true-crime book had been suggested to her second grader, right after the picture book about the rescue puppy, before anyone noticed the tag match alone wasn't enough of a check.

Swap the trigger and it still runs

  • Speed: even if Cook This drafted all three recipes instantly, which it already does, a fast wrong recipe is still wrong. Speed never fixes what the rubric is testing.
  • Cost: if running the rubric cost nothing and needed no reviewer time at all, that still wouldn't tell you which of the three dimensions a recipe failed. It still needs three separate bars, not zero.
  • The model gets better: if Cook This's ingredient matching became perfect, never missing a single cart item, it could still default to combinations nobody would eat, because using every item and making a good dish are two different goals. Better matching doesn't fix plausibility.

Where people run it wrong

  • Writing one blended pass or fail bar and calling it done, so a technically compliant but inedible recipe slides straight through.
  • Treating "would a person eat this" as a vibe with no marked reasoning, so two reviewers argue about the same recipe for weeks.
  • Trying to score every cuisine and diet style in the first version, so the rubric ships months late while bad recipes keep going out the whole time.

How to use it live

If you're asked this cold, ask what a technically valid but wrong output would actually look like for this exact feature. Write down which part it gets wrong. Then ask whether today's bar would catch it. That question finds the missing rubric dimension faster than listing every possible rule from a blank page.

Flashcards (click a card to flip it)

1 · THE SITUATION
What's the situation, before this rubric exists?
Tap to flip
ANSWER
A drafted recipe uses the cart's items and breaks no allergy rule and passes, and nobody has a separate way to check whether a person would actually cook it.
2 · THE PAYOFF
What's the real habit this rubric is trying to build?
Tap to flip
ANSWER
Catching a recipe that technically uses the cart but nobody would cook, before it ships, not after a shopper posts a screenshot of it.
3 · THE ANCHOR
What does the rubric actually check?
Tap to flip
ANSWER
Three separate dimensions, each with its own pass bar: ingredient use, plausibility, and dietary safety. A recipe has to clear all three, not average to good enough.
4 · THE RISK
What breaks if the rubric goes too far either way?
Tap to flip
ANSWER
Too tight, and it rejects real, unusual combinations that are genuinely good, the exact case the feature is meant to help with. Too loose, and a recipe passes for just containing the items, with no check on the role they play.
5 · THE PROOF
What almost reached the leadership review?
Tap to flip
ANSWER
Marinara Mozzarella Overnight Oats, drafted from a cart meant for chicken parm, passed the single bar clean and nearly made it onto a sample slide.
6 · THE NUMBER
___ of ___ recipe cards passed the single bar but got flagged by a person; ___ after the rubric.
Tap to flip
ANSWER
17 of 120; 2. About one in seven recipe cards needed a person to catch what the single bar missed, before the rubric existed.
7 · THE REPLAY
Same batch, rubric in place. What changes?
Tap to flip
ANSWER
The 120 cards get checked against three separate bars before anyone reads them by feel. Only 2 get flagged, both fixed inside the hour. The full day of manual reading is gone.
8 · CROSS-PRODUCT
Section 4 runs SPARK again on a different product. Which one, and what does its anchor check?
Tap to flip
ANSWER
Next Read, a public library's book recommendation feature. Its anchor keeps the same shape, three separate bars, but checks tag relevance, age fit, and tone match instead of ingredient use, plausibility, and dietary safety.

Check yourself Score: 0 / 0

True or false
1. True or false: Marinara Mozzarella Overnight Oats broke Cook This's allergy rule.
  • True
  • False
Show hint
Look at what the story says was wrong with the recipe. Was it a rule problem, or something else?
Show answer
False. It broke no rule. It used the cart's items and flagged no allergen, so it passed the single bar clean. The problem was that nobody on the team would have actually eaten it.
Multiple choice
2. Which design matches the anchor this answer argues for?
  • A. One blended bar checking cart-item use and allergy safety only.
  • B. Three separately scored dimensions, ingredient use, plausibility, and dietary safety, each with its own pass bar.
  • C. A banned-ingredient list applied the same way to every recipe, with no exceptions.
  • D. A general rule like "make it taste good," left for the model to interpret on its own.
Show hint
The anchor needs each dimension scored on its own, not blended into one number.
Show answer
B. A is the blended bar this answer argues against. C is too rigid for a rubric that still needs to allow real, unusual combinations. D never gets specific enough for anyone to check against.
Fill in the blank
3. Before the rubric, ___ of the ___ recipe cards in the regression batch passed the single bar but got flagged by a person as something nobody would cook. After the rubric, that number dropped to ___.
Show hint
This is the number the whole argument leans on. It shows up twice, once in the story, once in the chart.
Show answer
17; 120; 2. About one in seven recipe cards needed a person to catch what the bar missed. After the rubric, the same batch flagged itself, and only two genuinely borderline cards needed a second look.
Short answer
4. What old decision does this answer take back, and why did it make sense when it was first made?
Show hint
Think about why "uses the cart, breaks no rule" sounded like enough of a check back when someone read every test cart by hand.
Show answer
Model answer: The team's first version of Cook This checked one blended bar, uses the cart's items and breaks no allergy rule, ship it, tune the taste later. That made sense when someone read ten test carts by eye every morning and nothing strange got past them. It stopped making sense once the batch grew to 120 cards nobody was reading one by one anymore.
Short answer, apply it yourself
5. Pick something at your own work that gets checked against one rule today, a report, a support reply, a form someone fills out. Would that one rule catch something "technically fine but obviously wrong"? What's the second bar you'd add?
Show hint
Look for whether your own check confirms a fact, or confirms that a person would actually accept the result.
Show answer
Model answer: "I approve expense reports by checking that every line has a receipt attached. That catches missing paperwork, not a receipt attached to the wrong line. A second bar: does the receipt's amount actually match the line it's attached to, checked on its own, not folded into 'has a receipt.'"
Multiple choice
6. Based on this answer's own numbers, if the flagged rate had stayed at about one in seven instead of dropping after the rubric, roughly how many of the next batch's 120 recipe cards would still need a person to catch them?
  • A. About 17.
  • B. About 2.
  • C. All 120.
  • D. About 60, roughly half.
Show hint
One in seven of 120 is close to the same number the story already gives you for the batch before the rubric existed.
Show answer
A. One in seven of 120 is about 17, which matches the actual pre-rubric batch. The rubric is what brought that down to 2, not a change in how many carts came through.
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