Compare Experiments
compare_experimentsCompare experiment outcomes side by side to choose the best approach. Get test results, failure details, exit codes, duration, and a recommendation.
Instructions
Compare two or more experiments side by side.
USE THIS when you tried several approaches -- three candidate fixes, two runtime versions, a couple of dependency upgrades -- and have to recommend one. Run each approach in its own experiment, then compare.
RETURNS per-experiment test results, failing test names, exit codes, change size, duration and artifact counts, plus a recommendation when the evidence supports one. Destroyed experiments are still comparable: their findings were recorded before teardown.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"experiment_ids": "<experiment_ids>"
},
"name": "compare_experiments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labels | No | Optional experiment_id -> human label, e.g. {'exp_a': 'Node 22'}. | |
| experiment_ids | Yes | Two or more experiment ids. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| dimensions | No | Per-dimension map of experiment_id -> value. | |
| experiments | Yes | ||
| recommendation | No |