By Ryan Halphide · ORCID iD 0009-0005-9806-2481
Companion to Generating the Unhappy Path · DOI 10.5281/zenodo.21198391
A synthetic caller that only walks the happy path is manual testing with extra steps. Automated voice-agent testing earns trust on 2 commitments: generate the right distribution of calls, and score the right outcome. Miss either and your test suite manufactures false confidence.
Paper 3 writes down both. These are the operating rules our production harness runs on.
8 callers your demo never met
Each class has a difficulty dial: the model’s reasoning effort, acoustic stress (rate, accent, noise), and temporal pressure (how fast it barges in). Sweep the dial and you find where the agent degrades, not just whether it passed once.
| Persona | What it probes |
|---|---|
| Cooperative baseline | Happy-path correctness |
| High-noise / poor line | Recognition under bad audio |
| Code-switcher | Mid-call language handling |
| Interrupter | Barge-in under overlap |
| Under-specified | Disambiguation ("I need someone to come out") |
| Emotional / hostile | De-escalation and escalation routing |
| Disclosure-resistant | Trust handling after "am I talking to a bot?" |
| Out-of-scope | Graceful refusal and correct handoff |
Score resolution, defined per scenario
The primary criterion is task resolution without human handoff. For a booking scenario, that means the booking exists with correct parameters. For a hostile caller, it means correct de-escalation or routing. An agent that placates a hostile caller while failing to route them has resolved nothing. An agent that correctly transfers a caller demanding a human has succeeded. Fluency is explicitly demoted: an agent can sound excellent and resolve nothing.
Calibrate the judge, don’t trust it
Scoring runs through a model-as-judge, which is convenient and hazardous. LLM judges prefer verbose output and favor their own generations. So the judge comes from a different model family than both the tester and the agent, and calibration is a standing requirement:
| Parameter | Value |
|---|---|
| Human-labeled sample | 10% of scored calls per release, minimum 25 |
| Agreement statistic | Cohen’s kappa |
| Action threshold | Below 0.7: revise the rubric, re-score before trusting the gate |
Gate on batches, not calls
A realtime model never places the same call twice. At a true 90% resolution rate, a 10-call batch shows 2+ failures in roughly a quarter of batches by chance alone. A 2-in-10 gate blocks sound changes routinely. So tolerances come from measured variance: 5 baseline runs on an unchanged agent, gate at 2 standard deviations. And because a fixed suite becomes a target (Goodhart’s law applies to test suites), the golden set refreshes from recent production calls each release, retires scenarios after 5 consecutive passes, and holds new scenarios out of tuning.
What we are not claiming
The synthetic distribution is not the production distribution, and the paper treats that as its governing validity threat. The protocol has been exercised on 1 deployment, not many. Catch-rate superiority over manual testing is not proven. Every one of those limits is printed in the paper, next to the numbers, where it belongs.
Read the paper
Generating the Unhappy Path: Coverage, Adversarial Personas, and Resolution-Based Scoring for Realtime-Model Voice-Agent Testing. CC BY 4.0, 5 pages.