compare_runs
Compare 2–20 distinct runs in one repository against a selected baseline, rank by objective metric, and inspect signed changes plus threshold/provenance warnings.
Instructions
Compare 2–20 distinct runs in one repo using latest logged metric values.
Baseline must be selected. Rank considers the objective only, independently of threshold eligibility. Changes are signed candidate minus baseline; percentage uses abs(baseline). Missing objective or threshold metrics make a run unevaluable. Check provenance warnings.
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": {
"repository": "<repository>",
"run_ids": "<run_ids>",
"baseline_run_id": "<baseline_run_id>",
"metric": "<metric>",
"direction": "<direction>"
},
"name": "compare_runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | Yes | ||
| run_ids | Yes | ||
| direction | Yes | ||
| repository | Yes | ||
| thresholds | No | ||
| baseline_run_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runs | Yes | ||
| metric | Yes | ||
| source | Yes | ||
| warnings | No | ||
| direction | Yes | ||
| truncated | No | ||
| repository | Yes | ||
| baseline_run_id | Yes |