Build an eval framework from scratch for three LLM products (support bot, code assistant, summarizer). Cover architecture, shared infra, per-product customization, and six-month failure modes.
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Build an eval framework from scratch for three LLM products (support bot, code assistant, summarizer). Cover architecture, shared infra, per-product customization, and six-month failure modes.
Shared eval runner with per-product configs, versioned storage, results DB, CI gates. Four failure modes: rubric drift, judge deprecation, golden set staleness, cross-product comparison trap.
Imagine three restaurants in the same building sharing one kitchen inspection system. Each restaurant serves different food, so the inspection checklist is different for each: the sushi place checks fish freshness, the bakery checks oven temperatures, the salad bar checks produce sourcing. The shared part is the inspection schedule, the filing system for reports, and the alarm that rings when a score drops. But if the sushi menu changes and nobody updates the checklist, inspections pass while customers get sick. If the inspector retires and nobody trains a replacement, all three restaurants lose their reviewer on the same day. If the filing system only stores last month's scores, nobody notices a slow decline. And if the building manager compares the sushi score to the bakery score and concludes the bakery is worse, that comparison is meaningless because the checklists measure different things.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
Open with the architecture: shared eval runner loading product-specific config bundles. Walk the four shared infra components (versioned storage, execution engine, results DB, CI/CD gates). Then walk per-product customization showing why metrics diverge (pass@k vs ROUGE vs multi-turn). Close with the four failure modes in order: rubric drift, judge deprecation, golden set staleness, cross-product comparison trap. For each, name the failure, explain why it is predictable, and give the mitigation.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Building one monolithic rubric for all three products. A rubric calibrated for summarization faithfulness is meaningless for code correctness, and comparing raw scores across products with different rubrics leads to misallocated engineering effort.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.