compare_eval_runs
Compare two eval runs to detect regression or improvement by analyzing per-criterion score deltas and failed count changes.
Instructions
Compare two eval runs (baseline / candidate) and return per-criterion mean score deltas + the failed count delta + a verdict (GET /v1/eval-runs/compare). Lets an AI agent grasp "how did the candidate change relative to the baseline" in one call, for prompt-improvement measurement and regression detection. verdict = improved / regressed / mixed / unchanged. The failed count treats scores <= 2 as "failed". Same account only.
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": {
"baselineRunId": "<baselineRunId>",
"candidateRunId": "<candidateRunId>"
},
"name": "compare_eval_runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baselineRunId | Yes | Id of the baseline run (list_eval_runs.runs[].id) | |
| candidateRunId | Yes | Id of the candidate run (same source); must differ from the baseline |