Design an eval framework that tells you whether a production prompt survives a model migration (Claude 4.7 to 5.0, or Claude to GPT-5.5). What do you measure and what's the gate?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
You're the MLOps engineer responsible for upgrading the LLM behind a production assistant. You need to migrate from Claude Opus 4.7 to either Claude Opus 5.0 (same family, new generation) or GPT-5.5 (different vendor). Design the evaluation framework that tells you whether the production prompt will survive the migration as-is. Cover: what goes into the golden set, what measurement axes you score, how you handle adversarial cases, what cost and latency you track, what the gate criterion looks like, and what the rollout pattern is if the eval passes.
Three-bucket golden set (representative, adversarial, regression-fix), five axes with per-metric retention + CIs, gate at 95%+ plus zero new false refusals, flag-rolled rollout with auto-rollback.
Imagine you are about to switch suppliers for a part that goes into your product. The right way to decide is not to try one part and call it good. You build a test bench with three kinds of tests: typical cases, the cases that broke last time, and the cases that are designed to be sneaky. You measure five things on each test: does the part fit, does it last, does it pass safety, does it cost less, does it work fast. You only switch if the new part passes every test within tight tolerances. Then you switch slowly on a small fraction of products first and watch the real-world data. That is what a portability eval framework is for prompts.
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.
6 min: three-bucket golden set + five orthogonal axes + per-metric retention with CIs + pre-registered gate criterion + axis-specific adaptation playbook + flag-rolled rollout + same-family vs cross-vendor distinction.
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.
Trusting a passing aggregate eval on the representative slice while the adversarial slice quietly regresses, then shipping a migration that breaks the long tail of edge cases that the average user never hits but the high-value users do.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.