> For the complete documentation index, see [llms.txt](https://learning.contextqa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learning.contextqa.com/ai-agent-testing/agent-evaluation/runs-and-regression.md). Agents can also search and read this documentation through its [MCP server](https://learning.contextqa.com/~gitbook/mcp).

# Review AI Agent Runs and Regression Evidence

Review per-case agent evaluation results, classify failures, and compare runs using stable scenarios, judges, fixtures, and acceptance criteria.

> **Documentation owner:** [Deep Barot](https://contextqa.com/academy/) · **Last updated:** November 11, 2026

## Quick answer

Review an AI agent run at the case and metric level before relying on its aggregate score. Compare the expected outcome with the conversation, audio where applicable, judge reasoning, and backend verification. For regression analysis, preserve the case set, rubric, judges, environment, and agent revision so a changed score has an interpretable cause.

## Key takeaways

* Run execution success and agent task success are different outcomes.
* Treat missing evidence and connection failures as explicit review categories.
* Record changed variables before comparing a candidate with a baseline.

## Select a run objective

The **New Run** interface exposes **Evaluation**, **Determinism**, **Red team**, and **Load**. Evaluation is the starting point for checking the selected criteria. Use the other modes only after reviewing their current controls and matching the setup to your objective. The presence of a mode does not establish a universal attack catalog, throughput guarantee, or production monitoring capability.

For an Evaluation run, select the agent and judge configuration. Available filters include behaviors, use cases, tags, and metrics. Check the selected scope and cost estimate before starting; a filtered run is evidence only for the included cases.

## Inspect results systematically

The onboarding workflow describes **All Results**, text and audio score indicators, per-judge reasoning, and **By Metric**. It also describes executive PDF and detailed spreadsheet exports. Use the views available in your workspace to answer these questions:

1. Did the intended cases run against the intended agent?
2. Which metrics applied to each case?
3. What did the user ask, and what did the agent actually do?
4. Does the evidence support the judge’s conclusion?
5. Were any assertions unevaluated because of missing evidence or an integration error?
6. Does a critical business-rule failure remain despite an acceptable aggregate?

For voice cases, replay the relevant interval rather than judging a timing or interruption failure from text alone. For tool actions, inspect [correlated backend evidence](https://learning.contextqa.com/ai-agent-testing/agent-evaluation/verify-tool-actions.md).

## Classify failures before fixing them

| Category                    | Example                                          | Next action                                          |
| --------------------------- | ------------------------------------------------ | ---------------------------------------------------- |
| Agent behavior              | Uses an earlier date after a correction          | Fix the agent and preserve the reproducer            |
| Integration or availability | Endpoint returns a rate limit                    | Diagnose access/capacity and rerun the affected case |
| Fixture problem             | Another case already booked the shared slot      | Isolate or intentionally coordinate the fixtures     |
| Evaluation problem          | Rubric omits the expected escalation rule        | Correct the rubric and establish a new baseline      |
| Evidence gap                | Recording or backend verification is unavailable | Mark the assertion inconclusive and restore evidence |

## Compare baseline and candidate

Record the agent deployment or prompt revision, test-case revision, persona, fixture state, metric definitions, weights, thresholds, judge selection, and run identifier. Change one explanatory variable at a time when diagnosing a defect. Repeated runs help reveal variation, but a small passing sample does not establish a population-wide reliability rate.

Use a review table such as:

| Case                       | Baseline evidence          | Candidate evidence                  | Decision                           |
| -------------------------- | -------------------------- | ----------------------------------- | ---------------------------------- |
| Corrected appointment date | Uses original date         | Uses final date and verifies record | Date defect resolved for this case |
| Caller name                | Misspelled persisted value | Still misspelled                    | Name defect remains                |
| Silence recovery           | Exceeds project limit      | One repeat still exceeds limit      | Not consistently resolved          |

The example demonstrates how to report partial improvement without claiming the whole agent is fixed.

## Evaluate consistency without requiring identical wording

For nondeterministic agents, repeated acceptable answers may use different wording. Define invariant requirements such as correct final values, permitted actions, grounded facts, and required escalation. Repeat representative scenarios and vary phrasing or persona deliberately. Compare whether those invariants hold, rather than requiring an exact transcript match unless the requirement truly demands one.

Maintain a reviewed regression set and a separate set of new or withheld variations. This helps reveal cases that were not covered by the original happy path. Use observed production failures as candidate scenarios only after removing unnecessary personal data and establishing the expected outcome. This is a recommended test-maintenance process; it does not assume that production ingestion or continuous monitoring is configured automatically.

## Prepare release evidence

Export the available report or retain links to the relevant run and cases. Include the evaluated scope, configuration, critical failures, unresolved evidence gaps, and reviewer decision. Keep credentials and unnecessary personal data out of shared artifacts. Describe cases that were excluded so a reader does not infer coverage that was never executed.

Return to [AI agent testing](https://learning.contextqa.com/ai-agent-testing/agent-evaluation.md) or use the [voice release checklist](https://learning.contextqa.com/ai-agent-testing/voice-ai-testing/troubleshooting.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://learning.contextqa.com/ai-agent-testing/agent-evaluation/runs-and-regression.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
