Judge-Driven Evaluation of a Transactional Conversational Agent
Abstract
This technical report examines an evaluation harness for a restaurant assistant that must answer questions, manage multi-turn orders, handle payments, resist unsafe inputs, and escalate to a human. A separate judge model scores accuracy, actionability, completeness, relevance, and tone on a 0 to 100 scale, while the harness records latency, tokens, traces, and category-level statistics. A dated repository report records an increase from 19 of 46 passing cases to 31 of 46 after a partial implementation. These figures are repository-reported and have not been independently rerun for this publication.
Keywords: LLM-as-judge; conversational agents; evaluation; human handoff; observability
- Evidence status
- Public implementation and repository-reported results
- Source revision
- 8467633188cd
1. Research question
Can a category-based LLM judge reveal concrete failure modes and guide measurable improvements in a transactional conversational agent?
2. System under study
A conversational ordering assistant with persistent state, a catalog, payment and cart handlers, human handoff, LangGraph orchestration, Convex persistence, and Langfuse evaluation traces.
3. Method
- Generate a test battery across eleven categories including FAQ, menu, orders, payment, workflow, handoff, security, and resilience.
- Use a fresh conversation identifier for every test and execute the full multi-turn message sequence.
- Score the final answer with a separate judge model using five explicit criteria and a pass threshold of 75.
- Capture system and judge tokens, latency, traces, aggregate pass rate, average score, and category-level p95 latency.
- Use failing categories to prioritize implementation work, then rerun the same battery.
4. Current evidence
- The public source defines eleven test categories, typed judge results, token accounting, latency metrics, and category aggregation.
- The runner separates the system under test from the judge and records both traces in Langfuse.
- A repository report dated March 6, 2026 records a 19/46 baseline and a 31/46 partial result.
- The same report marks workflow integration, handoff integration, and final judge validation as incomplete.
5. Limitations
- The reported pass-rate change has not been independently reproduced for this report.
- A single model judge can introduce preference, verbosity, and self-consistency biases.
- There is no published calibration against multiple human raters.
- The dated sprint report mixes completed unit-level behavior with integrations that were still pending.
6. Next experiment
- Version the full 46-case dataset and raw judge outputs.
- Calibrate pass thresholds against blinded human ratings and report agreement.
- Pin models, prompts, temperatures, catalog fixtures, and dependency versions.
- Rerun a clean baseline and final system under the same environment.
7. Sources and reproducibility
Source revision: 8467633188cd89e4708b8011ee2a0fb39b7f1a24
Suggested citation
Cardozo, Pablo. “Judge-Driven Evaluation of a Transactional Conversational Agent.” Technical report, version 0.1, 2026. pablo.cardozo.com.ar/research/conversational-agent-evaluation.