Eval Regression — Automated Regression Detection
Automatically detect when evaluation metrics degrade between agent versions. Compare each evaluation run against the baseline and generate pass/fail verdicts with actionable recommendations.
Prerequisites
- At least 2 evaluation runs in the same evaluation group
- Baseline run identified (either the first run or the one tagged as
baseline)
Step 1 — Identify Baseline and Treatment
Automatic Baseline Selection
- Read
.foundry/datasets/manifest.jsonand find the dataset taggedbaseline. - If the baseline dataset entry includes a stored
baselineRunId(or mapping to one or moreevalRunIds), use thatbaselineRunIdas the baseline run. - If no explicit
baselineRunIdis recorded, select the first (oldest) run in the evaluation group as the baseline.
Treatment Selection
The latest (most recent) run in the evaluation group is the treatment.
Step 2 — Run Comparison
Use evaluation_comparison_create to compare baseline vs treatment:
Critical:
displayNameis required in theinsightRequest. Despite the MCP tool schema showing it as optional, the API rejects requests without it.
json
{
"insightRequest": {
"displayName": "Regression Check - v1 vs v4",
"state": "NotStarted",
"request": {
"type": "EvaluationComparison",