---
title: "Your AI Agent Passed Its Eval. Would It Pass the Same Task Again?"
url: "https://atlan.com/context-and-chaos/issue/ai-agent-passed-its-eval-would-it-pass-again/"
description: "Most evaluations check whether an agent completed the task. Production depends on whether it followed the required process."
keywords: "AI Agents, AI Evaluation, Enterprise AI, Context Engineering"
---

A Context & Chaos guest take by Anugraha Sinha, Senior Director and Head of GenAI Solutions at Tredence, and Swati Tyagi, Senior Manager, AI at Tredence. Published November 24, 2026. Their argument: most evaluations check whether an agent completed the task, but production depends on whether it followed the required process, and a test suite that runs each case once can't see the difference.

## A supplements agent that answered two ways

- A consumer health retailer's production agent had to screen each customer (pregnancy, prescription medication, health disclosures) before matching them to a supplement.
- On one run it worked through the checks, caught a safety-relevant disclosure and took the restricted route: no recommendation. On another, with materially equivalent customer information, it jumped to product matching before screening finished, and the answer read well enough that a grader scoring answer quality could plausibly have passed it.
- Figure: the two runs side by side, captioned "A supplements agent that answered two ways".
- Task completion was not process compliance. A June 2026 VentureBeat survey of 157 enterprise respondents: half had shipped an agent or LLM feature that passed internal evaluations and later caused a customer-facing failure; two-thirds allow or are engineering toward deploying agent changes on automated evaluation alone, while only 5% fully trust it. A small sample, and it doesn't say repeatability caused those failures.
- Variation counts as a defect only when a required control is skipped, or when a decision the business owns changes on materially unchanged facts, policy and state.

## Which differences matter

- A run can differ in four places: expression (wording, order), evidence (sources, facts), route (tools, skills, checks, approval paths) and decision (the recommendation or action).
- Expression rarely matters unless the wording is itself the control, such as a safety warning. Evidence crosses the line when a run relies on something stale, inadmissible or contradictory. Route crosses it when a run skips a required control, which is what happened to the supplements agent. A decision crosses it whenever equivalent cases are treated materially differently. None of it works until someone has drawn the line.
- Figure: a four-by-two table of what is usually fine and what crosses the line, captioned "Which differences cross the line".

## Why single-run evaluation misses it

- Slicing a test set by segment, geography or workflow finds failures hidden inside a score (Swati's earlier issue, Your AI Dashboard Is Hiding Its Worst Failures, showed a system posting 92% while a segment ran at 61%). It can't find run-to-run variation if each case runs once: run number is a property of the experiment, not the case.
- A single passing run shows the agent can succeed but can't establish how often it will.
- Figure: an illustrative grid of ten runs across five high-risk case types, captioned "Why single-run evaluation misses it".
- Bjarnason, Silva and Monperrus ran 500 SWE-bench Verified tasks ten times each across six agent configurations; the single-run resolution rate moved by 2.2 to 6.0 points depending on which run was kept, and temperature zero didn't remove the spread. In a study of tool-calling agents, final answers matched word for word less than 5% of the time, so exact matching is the wrong test.

## Four reasons runs diverge

- The model: inference varies with dynamic batching, floating-point effects and reduction order even with sampling off.
- The environment: databases, retrieval indexes, clocks and third-party APIs change between runs unless frozen.
- The agent's design: broad tools and loose instructions give a planner many defensible paths; 60% of first divergences in the tool-calling study happened in the first two pipeline steps.
- The preference nobody wrote down: a model can't reliably follow a rule that isn't in its context, policy, examples or configuration (a store's sales-to-weather link is strong in Florida and close to nothing in the Midwest, set by how business managers in each area operate).
- In the supplements case the rule existed and traces could reconstruct each run, but nothing enforced it. Tracing explains a difference after it happens; it can't say whether an equivalent case gets the same decision tomorrow.

## The retailer's fix

- Runtime: mandatory safety decisions came out of free-form planning. Finishing screening became a precondition for the recommendation state, and a defined safety condition made the restricted route mandatory. The gate makes sure the step runs; interpretation of a disclosure needs its own evaluation and escalation rules.
- Figure: 10 of 100 runs partially skipping screening before the change, and the screening precondition after it.
- Centralised context, case examples, context engineering, tightly scoped skills, question banks and task planning templates all leave a model less room to deviate. On a production system for a multi-brand retailer, the first two agents took twelve weeks, then a new agent shipped every third week, about 60% faster to build, because each reused the context the earlier ones had built.
- Evaluation: partly separate task loaders, datasets, graders, configs, trace collectors and reports were consolidated around a common control plane, with each canonical case pinned to a versioned dataset, policy configuration, tool environment, shared grader logic and explicit route invariants, and run several times under a frozen setup.
- Before the change, 10 of 100 runs had partially skipped screening. In the runs re-tested, wording and retrieval still varied, but the sequence held: screening before recommendation, and the shared evaluator set up to flag any run that broke it.

## Testing for repeatability

- Define material equivalence; freeze the experiment and reset state between runs; repeat the high-risk cases (ten runs per case is a starting point, not a standard); record more than the final answer; measure correctness and control violations first, then agreement to diagnose; sort differences into benign, reviewable and release-blocking; choose enough runs for the question; then compare frozen against live results.

## Before you release

- Write down what counts as an acceptable decision and which controls are mandatory, and name the person who gets the call when something fails. A skipped safety, eligibility, approval or access control blocks the release outright.
- The release question: across repeated runs, did equivalent cases land on an acceptable decision with every mandatory control in place?

## References

- VentureBeat Research, "The agent evaluation gap," 23 July 2026 (survey fielded June 2026, 157 respondents).
- Bjarnason, Silva and Monperrus, "On Randomness in Agentic Evals," arXiv:2602.07150, 2026.
- Yagubyan, "How Consistent Are LLM Agents? Measuring Behavioral Reproducibility in Multi-Step Tool-Calling Pipelines," arXiv:2605.28840, 2026.
- Swati Tyagi, "Your AI Dashboard Is Hiding Its Worst Failures," Context & Chaos, 9 July 2026.

## Next steps

- To get new writing on context engineering, subscribe to Context & Chaos: [Context & Chaos newsletter](https://atlan.com/context-and-chaos/)
- To see Atlan working on your own data stack, book a demo: [Book a demo with Atlan](https://atlan.com/forms/talk-to-sales-contact/)
