GenAI Evaluation and Launch Gates
An assistant can sound right and still fail the task. What catches that before release?
The gap showed up whenever a promising prototype met a real multi-step workflow. The baseline release process was a demo and spot checks: individual answers looked fluent, well-toned and properly cited, yet users still could not make the budget or campaign decision they came for. Grading one response at a time rewarded plausible prose and missed broken task logic, and a single blended quality score gave engineers nowhere to act — an agent that failed to retrieve the right table and one that retrieved it but misread a column header got the same low score, though one is an indexing bug and the other a reasoning failure. A/B testing could not settle it either. The product served a small number of high-revenue enterprise client teams, too few to power a randomized comparison and too different from one another to pool, so offline evaluation had to carry the launch decision.
I defined what success meant for an agent workflow — factual accuracy, tool-use success, answer quality and task completion — and split evaluation into four layers, each with its own denominator: retrieval per question, tool accuracy per call, unsupported claims per factual sentence, and task success per workflow. Keeping them apart matters because a prompt change can halve unsupported claims while cutting task completion through over-refusal, and a blended accuracy number hides exactly the tradeoff a release turns on. I built the pipeline that runs these checks on every candidate and set the launch-blocking thresholds with product and engineering.
| Layer | What it asks | What a good score does not prove |
|---|---|---|
| Retrieval | Did the right source reach the model at all? | That the model then used it. |
| Tool use | Was the right tool called with the right arguments? | That the returned value was interpreted correctly. |
| Unsupported claims | Is every factual sentence traceable to retrieved evidence? | That the supported sentences answer the question. |
| End-to-end success | Could the user finish the task without repair? | That it generalizes past the test set. |
The gate had to be trustworthy itself. I stratified the test set by task family so no single client dominated the score, wrote rubrics where unresolved annotator disagreement forced a rewrite of the category rather than an average, and locked a held-out slice so iteration happened only on the development set. A model judge gated nothing until it had been calibrated against blind human labels, because a judge that shares the generator's blind spots will certify them. Locating failures by layer then changed how the team debugged. In one representative pattern — deciding which of three campaigns should absorb the next increment of budget — retrieval found the right performance summary and the spend tool queried the right dates, yet the assistant recommended the wrong campaign in fluent, cited prose. The chunk boundary had split a campaign label from the numbers beneath it, so a correctly retrieved document supported a confident sentence about an adjacent period. Keeping labels bound to their tables and requiring each cited span to contain the named entity fixed what prompt tuning never would have.
Eval-gated launches became the decision standard across product and engineering. Claim-level verification and source-grounded regression tests brought unsupported claims down on the priority set, and tracing answer-quality failures back to retrieval drove a redesign of retrieval and long-term memory. On the product side, funnel analysis of the highest-value marketing workflows showed where users stopped before reaching a tool, which shaped the agent-to-tool contracts that downstream teams then adopted. The internal figures stay internal. The limit is the one the design was built around: a passing offline score is evidence about the test set, not a measured effect on client decisions, and a frozen set ages unless it keeps absorbing new failure modes from production.