DoorDash
After DoorDash replaced deterministic support decision trees with an LLM conversation system, a prompt change could improve one scenario while degrading another. Direct production testing would expose customers to risk; manual replay was slow and narrow; and edge cases such as fraud, high-value refunds, and extreme delays were especially difficult to validate.
DoorDash built connected offline simulation and evaluation systems. A pipeline extracts behavioral scenarios from historical production transcripts; an LLM plays a customer who can clarify, push back, and escalate; a mock layer blends production and test data while simulating delivery, refund, and order-tool responses; and calibrated LLM-as-a-judge evaluators score hallucination, tone, and classification. Changes pass regression gates before A/B deployment, and the same evaluations monitor production.
Domain experts calibrate automated evaluators against expert judgment. Engineering and data teams use failure cases to change prompts, context, or tools. A change enters the standard A/B process only after guardrails remain stable, and production monitoring checks whether the offline improvement persists.
- Derive realistic behavior from historical transcripts instead of hand-writing every script
- Simulate both user behavior and backend tool responses
- Calibrate automated evaluators against domain experts
- Turn each production failure into a permanent regression evaluation
- A/B deploy only after guardrails pass and then verify offline/online correlation
- Non-deterministic agents need behavioral simulation, not only single-turn tests
- An LLM evaluator must be calibrated against expert judgment
- Test environments must cover tool responses and business state
- Production failures should become permanent regression tests
DoorDash reports that one major change reduced hallucinations by 90% in simulation and that the improvement carried into production. Iteration fell from days to hours; the system runs more than 200 multi-turn conversations in under five minutes; and the suite contains more than 50 evaluations.
- The 90% reduction was first measured in simulation. DoorDash states that the improvement carried into production but does not publish the absolute baseline.
- More than 200 conversations in under five minutes is test throughput, not production support throughput.