Interview Process & Behavioral·Question 12 of 56Intermediate

You shipped an LLM feature - how did you evaluate it? Walk me through the actual eval setup.

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

What they're probing: eval maturity - the single strongest seniority signal in AI engineering interviews. They want mechanics: dataset origin, grading method, size, where it ran, and how it connected to ship decisions. Hand-waving here contradicts any impressive claims from question one.

Full worked answer with diagram

What they're probing: eval maturity - the single strongest seniority signal in AI engineering interviews. They want mechanics: dataset origin, grading method, size, where it ran, and how it connected to ship decisions. Hand-waving here contradicts any impressive claims from question one.

Strong answer structure: how you defined "good" for the feature → dataset construction (source, size, how it grew) → grading taxonomy (code-graded checks where possible, LLM-as-judge where necessary, humans to calibrate the judge) → where it lived operationally (CI? pre-deploy gate?) → how production failures flowed back in → a decision the eval actually changed.

Example sketch: "For the support drafter, 'good' decomposed into faithfulness to retrieved docs, resolution-fit, and tone. Started with 60 cases hand-labelled from real tickets - deliberately overweighted past escalations. Faithfulness ran as an LLM judge with claim-level checks; we calibrated it against 100 human labels and found ~92% agreement, with a known blind spot on partial answers, so those routed to human review. Format and PII checks were pure code assertions - free and deterministic. The suite gated deploys: any prompt or model change ran all ~400 cases (it grew weekly from mined thumbs-down events) in CI, about $4 a run. It earned its keep the day it blocked a model upgrade everyone wanted - new model was better on tone, but faithfulness dropped 6 points. We fixed the prompt regression first, then upgraded."

Pitfalls: "we eyeballed outputs and they looked good"; quoting only public benchmarks (MMLU says nothing about your feature); an LLM judge with no human calibration story; an eval that existed but never gated anything - a dashboard, not a discipline; not knowing the eval's cost or run cadence.

Worth sketching. It shows where human labels enter and where production failures re-enter, which is the half most candidates leave out.

flowchart LR
    A["Real tickets<br/>plus mined thumbs-down"] --> B["Eval set, ~400 cases"]
    B --> C["Code assertions:<br/>format, PII"]
    B --> D["LLM judge:<br/>faithfulness"]
    E["100 human labels"] -->|"calibrate, 92% agreement"| D
    C --> F["CI gate on any<br/>prompt or model diff"]
    D --> F
    F -->|"faithfulness -6"| G["Block the ship"]
    F -->|"passes"| H["Deploy"]
    H -->|"thumbs-down events"| A

What a good answer covers

  • They want mechanics: dataset origin, grading method, size, where it ran, and how it connected to ship…
  • Hand-waving here contradicts any impressive claims from question one
  • Strong answer structure: how you defined "good" for the feature → dataset construction (source, size,…
  • Example sketch: "For the support drafter, 'good' decomposed into faithfulness to retrieved docs,…
  • Started with 60 cases hand-labelled from real tickets - deliberately overweighted past escalations

Key terms: What they're probing · Strong answer structure · Example sketch · Pitfalls

Interviewer follow-ups to expect

  1. How did you know your judge was trustworthy?

  2. What did the eval miss that production found?

  3. How big before diffs were statistically meaningful?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep