bakeoffs
Run a bake-off comparing two or more profile variants across multiple eval suites, spawn one run per variant and suite, and roll linked runs into a per-suite and aggregated matrix.
Instructions
Generic bake-off: N profile-version variants x M suites of ONE profile (agent_bakeoffs) — spawns one agent_eval_runs row per (variant, suite) via the same start_suite_run trigger_eval_run uses, then rolls the linked runs into a per-suite + aggregated matrix (same shape as eval_runs action=matrix). Mixed read/write tool like eval_suites/eval_schedules — create mutates, list/get are read-only — so left unannotated rather than READ_ONLY (that would misdescribe create).
action=create: name, profile_id, variants (>=2 required, each
{label?, profile_version_id?, model_id?, gen_config?} — gen_config
keys are temperature?/thinking_level?/max_output_tokens?/top_p?; a
blank or duplicate label is auto-defaulted to "variant N" / suffixed
" (2)", " (3)", ... so every matrix row stays distinct), suite_ids
(>=1 — every suite needs an evaluator_model_id set), repeats (per
variant/suite run, clamped 1-20 by create_bakeoff itself — a raw
repeats=500 fans out at most 20x variants x suites runs, not 500x).
Two pre-flight checks run BEFORE anything is written — every suite has
a judge, and every variant's profile_version_id (when given) actually
belongs to profile_id — so a bad input fails with one clear ValueError
instead of a half-spawned bake-off; on success returns
{bakeoff_id, run_ids}.
action=list: recent bake-offs (agent_bakeoffs), decorated with
n_variants/n_suites/_profile_name — does not load linked runs (that's
action=get).
action=get: bakeoff_id -> {bakeoff, matrix, status}. status is
recomputed from the linked agent_eval_runs rows ('complete' iff every
linked run has reached a terminal status, else 'running') unless the
row is already stuck 'errored' (sticky — set when create's pre-flight
or spawn loop failed). Optional suite_id narrows matrix to just that
suite's rows ({"rows": [...]}); omitted, matrix is the full
{"rows": [...], "by_variant": [...]}.Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "bakeoffs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Config branch: which `environment` rows of the AI config DB to read/write. staging = the editable working set (default); prod = what production serves. | staging |
| name | No | Bake-off name. | |
| limit | No | Maximum number of rows to return. | |
| action | No | Operation to run: create | list | get. The tool description lists what each action needs. | list |
| repeats | No | Repeats per variant x suite (1-20). | |
| suite_id | No | get: focus the matrix on this suite. | |
| variants | No | Bake-off variants: [{label?, profile_version_id?, model_id?, gen_config?}] (2+). | |
| suite_ids | No | Eval suites every variant runs. | |
| bakeoff_id | No | agent_bakeoffs UUID. | |
| profile_id | No | create: the profile every variant tests. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |