Evaluation report
How well do the two demos work, measured instead of guessed. Each run drives the real demo with fixed test cases and records pass or fail. The numbers below come from the last run, and the harness is in the repo so anyone can repeat it.
1. Customer service agent: 16 scripted conversations
Each conversation is played into the real chat page, message by message. Every run checks the tool calls (right tools, right order, no duplicates), the outcome (retained or cancelled), the seven stages, that offers come in the planned order, that the wrap-up asks if more help is needed, that it ends with a goodbye, and that no reply contains broken text. Open a row to see its checks.
2. Retrieval: dev set vs held-out set
The dev set (18 questions) was written while the search was being built, and the refusal rule was tuned once after it. The held-out set (34 questions: 27 answerable, 7 off-topic) was written afterwards from the same documents and was not used to change any setting. The gap between the two shows how optimistic the dev score was.
3. What changing a setting does
Each row changes one setting and re-runs both sets. Hit@3 means the right passage is among the top three, MRR rewards ranking it higher, and "refused" counts off-topic questions correctly turned away.
4. Held-out failures, in full
Known limits
- The held-out questions were written by the same agent that built the search, from the same documents. They are a fairer test than the dev set, not an independent one.
- The conversation checks are rules, not judgements of tone or helpfulness. They would not catch an awkward reply that is technically valid.
- Small samples: 16 conversations and 52 questions. A difference of one question is noise.
- The customer service agent is a scripted state machine, so these checks measure flow correctness, not language-model behaviour.
Run it yourself
node evals/run_rag.js and python3 evals/run_cs.py http://localhost:3452 write results-rag.json and results-cs.json. This page reads those files.