Bonus: Evals Interview Prep
Recognize the nine traps of eval-focused interviews, answer with Analyze, Measure, Improve and real numbers, and build a portfolio that proves you have run the loop.
Before this: L1 Building agents: foundations, L2 Designing for evaluability, L3 Synthetic data and scenarios, L4 Finding failures, L5 Measuring with evaluators, L6 CI/CD for agents, L7 Safety and adversarial evaluation, L8 Improving accuracy, L9 Improving cost
- Recognize the nine common traps in eval interview answers and explain why each fails.
- Structure any evaluation answer as Analyze, Measure, Improve, with numbers from a loop you ran.
- Outline strong answers to five common interview questions about agent evaluation.
- Assemble a portfolio with a taxonomy, a judge validation table, a CI gate, and a frontier chart.
Why this matters
Dev is interviewing for an AI engineering role. The interviewer asks, "How would you evaluate a support agent?" Dev says, "We'd use an LLM judge." The interviewer waits. Dev adds, "and check the accuracy." Silence.
Six months of work on Sprout, and none of it made it into the answer: Maya's taxonomy, the judge validated on 60 labeled traces, the CI gate that caught the refund regression, the $3,000 bill that became $530. Interviews reward people who have run the loop and can say so with numbers. This lesson turns L1 to L9 into answers that show it.
1. The traps
Nine answers that sound reasonable and fail.
Trap 1: an LLM judge without labeled data
- What the candidate says: "We'd have a model grade the outputs."
- Why it fails: Nobody validated the judge, so its number is an opinion.
- The better answer: "A person labels 60 to 100 traces first. Then we write the judge on the training split, tune on dev, and report TPR and TNR on a frozen test split."
Trap 2: accuracy without TPR and TNR
- What the candidate says: "The judge is 95% accurate."
- Why it fails: If 5% of traces fail, a judge that never fires is 95% accurate and useless.
- The better answer: "TPR 0.8: it catches 8 of 10 real failures. TNR 0.9: it passes 9 of 10 real passes. Here is the corrected prevalence."
Trap 3: 1-to-5 rubrics instead of binary
- What the candidate says: "We'd score each response from 1 to 5 on helpfulness."
- Why it fails: Reviewers rarely agree on a 3 versus a 4, and an average of 3.7 says nothing about what to fix.
- The better answer: "One binary evaluator per failure mode, with a definition and boundary examples. Refund outside policy: yes or no."
Trap 4: never looking at the data
- What the candidate says: "We'd automate the evaluation pipeline end to end."
- Why it fails: You cannot automate detection of a failure you have not named.
- The better answer: "Read 20 traces first, note the first failure in each, and group the notes into modes until new traces add none."
Trap 5: tuning on the test set
- What the candidate says: "We iterated on the prompt until the test score hit 95%."
- Why it fails: A test set you tuned against measures your tuning, not the agent.
- The better answer: "Train, dev, test. All tuning on dev. The test slice is read once, at decision time."
Trap 6: confusing pass@k with pass^k
- What the candidate says: "It passes 99% of the time if we give it three tries."
- Why it fails: That is pass@3, "can it ever do it." A customer gets one try. Reliability is pass^k, all k runs passing.
- The better answer: "I report pass^k from reset-and-replay and gate CI on it."
Trap 7: answering security with "an injection filter"
- What the candidate says: "We'd add a prompt injection detector."
- Why it fails: Injection is text, and paraphrases evade filters. The tenth attacker gets a working refund tool.
- The better answer: "Design as if the model can be tricked: authorization in code, least privilege, T2 behind human approval, adversarial tests that fail closed. A filter is a speed bump, not the defense."
Trap 8: ignoring cost
- What the candidate says: "We'd use the most capable model for everything."
- Why it fails: An agent that costs more than the business it serves gets switched off.
- The better answer: "Profile tokens from traces, cache the stable prefix, calibrate a cascade on labeled data, and show the Pareto frontier before picking a model."
Trap 9: automating before a manual loop
- What the candidate says: "We'd run an optimizer over the prompt."
- Why it fails: An optimizer rewarded by a judge finds the cheapest way to please the judge, often a magic sentence.
- The better answer: "Three logged manual iterations first. Then a bounded loop on the dev slice, human review of every prompt diff, and a held-out test slice to catch reward hacking."
2. A framework for answering
Every evaluation question can be answered with the three verbs of this course.
| Verb | What you would do | A number from a loop you ran |
|---|---|---|
| Analyze | Read traces, open coding, binary taxonomy, saturation | "Sixty traces, seven modes, the top one at 12%." |
| Measure | Code checks first, judges when needed, TPR and TNR, prevalence with an interval, a gate on pass^k | "TPR 0.8, TNR 0.9, corrected prevalence 6%." |
| Improve | Fix-routing ladder, manual loop, test slice once, accuracy against cost | "A tool fix took the mode from 12% to 2% on test, same cost." |
The order matters. Analyze before Measure says you look before you count. Measure before Improve says you count before you change.
3. Five sample questions with strong answer outlines
Q1. "Our LLM judge says 96% of conversations are good. Do you trust it?"
- Ask what it was validated against. No labeled data, no trust.
- Explain how 96% can be wrong: a judge that knows no failure modes passes everything.
- The fix: label 60 traces, name the modes, one judge per mode with TPR and TNR on a frozen test split. Corrected prevalence with an interval replaces the 96%.
Q2. "The agent passes our test suite 90% of the time. Is it ready to ship?"
- Ask: 90% of what? Per run or per scenario, pass@k or pass^k?
- Reset-and-replay each scenario several times. With p = 0.9 per run, pass^3 is 0.73.
- Ask which modes are in the failing 10%: a T2 mode at 2% blocks the launch; wrong tone at 8% may ship behind a gate with monitoring.
Q3. "How would you protect the agent against prompt injection?"
- State the premise: no reliable detector exists, so design for a tricked model.
- Authorization in code:
canCall(role, tool). The model may ask forissue_refund; the code decides; denials come back as tool results. - Least privilege, T2 behind human approval that times out to deny, input and output guards. Then red-team and turn each successful attack into a fail-closed adversarial test.
Q4. "Our agent bill is too high. What would you do?"
- Profile from traces: tokens per span and per conversation, and the three suspects: history growth, retrieval depth, repeated schemas.
- Free wins first: prompt caching on the stable prefix, retrieval depth tuned by recall@k, shorter schemas and outputs, each measured with the suite.
- A cascade calibrated on labeled data, threshold chosen against the accuracy floor, then the upgrade drill on every model release.
Q5. "Tell me about a time an evaluation was wrong."
- Pick a reward-hacking story: the optimizer that learned to write "I have verified this."
- How you caught it: a second judge of a different kind (a code check) and spot-reading ten traces.
- What changed: the judge definition, a held-out test slice, human review of prompt diffs. Then what you would do earlier next time.
4. Portfolio
The strongest interview answer is "here it is." Four artifacts, each one page, from the course project or your own.
Run this checklist before the interview:
- Every number traces to a file in the repo.
- Every judge in the table has a labeled set behind it.
- The test slice was read once, and the log shows when.
- The frontier chart uses the same suite, seeds, and workload for every point.
- You can explain each artifact in under two minutes without notes.
Summary
- The nine traps share one flaw: a number with nothing behind it. Labeled data, binary definitions, and a frozen test slice answer all of them.
- Answer as Analyze, Measure, Improve, in that order, with a number from a loop you ran attached to each verb.
- Know the arithmetic: TPR and TNR instead of accuracy, pass^k instead of pass@k, corrected prevalence with an interval.
- Security means authorization in code and fail-closed adversarial tests; cost means a profile, caching, a calibrated cascade, and a frontier.
- Bring a portfolio: a taxonomy, a judge validation table, a CI gate, and a frontier chart, each traceable to files.
Key terms in this lesson
Check your understanding
Pick an answer to see why it is right or wrong. These are graded in code, instantly.
Apply it
Write your answer in your own words. Eve grades it against a rubric and gives you feedback, the same way an LLM judge works in Lesson 5.
Name the four portfolio artifacts the lesson recommends bringing to an evals interview, and say in one line what each one proves about you.
Mock interview. Answer in about 250 words: "You have two weeks before a customer-support agent launches. How would you evaluate it, and how would you know it is ready?"
Instructor notes(for whoever is teaching this lesson)
Talking points
- Every trap is the same mistake wearing a different coat: a number with nothing behind it. Say that sentence first and come back to it after each trap.
- Traps 1 and 2 travel together: an unvalidated judge and accuracy without TPR / TNR. The counter is always "how many labeled traces, and what were the two numbers?"
- Trap 6, pass@k versus pass^k, is the one interviewers use to separate people who have shipped from people who have read. Have the numbers ready: 0.9 becomes 0.999 or 0.729.
- Trap 7, "an injection filter", is the fastest way to fail a security question. The answer is authorization in code, least privilege, human approval, and tests.
- The answering framework is the course: Analyze, Measure, Improve, with numbers from a loop you actually ran. Vocabulary without a loop is a trap of its own.
- The portfolio is four artifacts: a taxonomy, a judge validation table, a CI gate, a frontier chart. Each one proves a verb.
Live demo idea
Run a ten-minute mock interview in front of the class. Ask Q1 ("our judge says 96% are good") to a volunteer and let them answer once without help. Then ask the room which trap they stepped in, and have a second volunteer answer with the framework. Repeat with Q2 (pass rate) if there is time. Finish by opening a real taxonomy and validation table from Homework 1 and asking how each would be presented in thirty seconds.
Common misconceptions
- "Interviewers want the vocabulary." They want evidence you ran the loop: numbers, a revert, a judge that turned out wrong.
- "Never admit an eval was wrong." Q5 exists to see whether you looked at your data. Bring a story with numbers.
- "Security is a separate specialty." Every agent question has a security paragraph: what runs the tool, and who approves the irreversible ones.
- "Cost is an afterthought." A frontier answer has two axes.
- "Automation shows sophistication." Automating before a manual loop is Trap 9.
Timing
Section 1, the nine traps: 12 minutes. Section 2, the framework: 5 minutes. Section 3, the five questions with the mock interview: 10 minutes. Section 4, portfolio: 3 minutes. Total 30 minutes.
If you only have 20 minutes
Traps 1, 2, 6, and 7, then the mock interview on Q1 and Q2. Assign the rest as reading and suggest students rehearse Q5 with Eve, who will play the interviewer.