> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ada.cx/llms.txt.

# get_changeset_test

Reads a change set test that [`test_changeset`](/mcp/tools/test-changeset) started. For each test case, it gives the metric outcome of each run on the change set and on the live AI Agent. It also lists the test cases that the change set fixed or broke.

Read-only. It is part of the [improvement loop](/mcp/tools/start-improvement-loop).

## Example prompts

* "Is the change set test done? What did it fix?"
* "Did the change set break any test case that passes on the live Agent?"

## Parameters

| Parameter      | Type    | Required | Description                                                                            |
| -------------- | ------- | -------- | -------------------------------------------------------------------------------------- |
| `test_id`      | string  | Yes      | The `id` that `test_changeset` returned.                                               |
| `wait_seconds` | integer | No       | Waits until the test completes or this many seconds pass, at most 50. Defaults to `0`. |

## Response

| Field            | Description                                                                                                                         |
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| `id`             | The change set test.                                                                                                                |
| `changeset_id`   | The change set that was tested.                                                                                                     |
| `metric_id`      | The objective or custom metric that scores each run.                                                                                |
| `repeats`        | The runs of each test case on each side.                                                                                            |
| `status`         | `running` or `completed`.                                                                                                           |
| `created_at`     | When the test started.                                                                                                              |
| `cases`          | One entry per test case, with `test_case_id`, `live`, and `changeset`. Each side lists its `runs` and an overall `outcome`.         |
| `live`           | The number of test cases that passed, failed, or were `not_measured` on the live Agent.                                             |
| `changeset`      | The number of test cases that passed, failed, or were `not_measured` on the change set.                                             |
| `fixed`          | The test cases that fail on the live Agent and pass on the change set.                                                              |
| `broken`         | The test cases that pass on the live Agent and fail on the change set.                                                              |
| `still_running`  | Returned when `wait_seconds` is above 0. `true` when the test didn't complete in time. Call the tool again with the same arguments. |
| `waited_seconds` | Returned when `wait_seconds` is above 0. How long the call waited.                                                                  |

Each run has a `test_run_id`, a `conversation_id`, an `outcome`, and the judge's `reasoning`. The outcome is `pass`, `fail`, `not_measured`, or `null` while the run isn't scored. `pass` is the good outcome on the metric, whatever its direction. A run is `not_measured` when it doesn't complete, or when the metric gives it no pass or fail. A side's outcome is `null` until every run has one. Then a side passes when most of its measured runs pass, and a tie fails. A side with no measured run is `not_measured`.

To read a simulated conversation, the assistant calls [`get_conversation`](/mcp/tools/get-conversation) with its `conversation_id`.