Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
The PM asks how to tell if the chatbot got better after the last deploy. Walk through setting up an A/B test.
Split traffic at the session level, measure quality via LLM-judge plus user signals, run until statistically significant, and set auto-rollback guardrails on safety metrics.
Imagine you own two restaurants and want to know which chef cooks better. You randomly assign each customer to one restaurant for their entire meal, not switching chefs between courses. You track whether they finish the meal, leave a good review, and how long the food takes. You also have a rule: if more than a few customers get sick, you shut that kitchen down immediately. An A/B test for a chatbot works the same way. Each user gets one version for their whole conversation, you measure quality and speed, and you have a safety shutoff.
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.
Start with session-level randomization and explain the carryover contamination problem. Walk the three metric tiers: quality (LLM-as-judge, user signals), operational (latency, cost), safety (refusal and flag rates). Explain auto-rollback guardrails and why they are non-negotiable for LLM products. Cover sequential testing for duration. Close with reporting CIs for all metrics and framing the quality vs latency tradeoff as a product decision.
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.
Randomizing at the request level instead of the session level, so multi-turn conversations get contaminated by mid-conversation model switches.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.