Repository navigation
ci(eval): tier the flagship eval and score Qwen3.6 on Strix Halo - #5535
Conversation
A scorecard never said which local model produced it, so a run on one model could be diffed against a baseline captured on another and report the model swap as regressions. This is the pin-and-refuse core of #5511, taken verbatim so the two branches carry one implementation: each category's GAIA home pins default_model, gaia eval agent --agent-model discards any scenario whose session ran another model, the scorecard records config.agent_model, and --compare exits 3 against a baseline whose meta.json names a different agent model or eval model. The Strix Halo tiers need it to score Qwen3.6 explicitly instead of whatever a fresh GAIA home resolves to.
Every RC tag ran the full flagship sweep: about 28 Strix Halo machine-hours and an estimated 130M Claude tokens, more than the two Claude accounts delivered on rc2. Now an RC runs a 30-scenario smoke tier on 3 machines, and only the RC nominated for promotion ([full eval] in its tag message, or a dispatch with tier=full) runs the full sweep. A final tag no longer re-runs the eval; it checks that a full sweep measured its commit or one of its RCs and files an issue if none did. The smoke list, the weekly backlog and the reason for each scenario are in eval/ci_tiers.json, picked from #5493's per-scenario data. The 26 scenarios that always fail and are not protected move from the full sweep to a weekly backlog lane (Sunday 06:17 UTC, 3 machines, with a rolling trend artifact), along with the 15 noisiest, which also stay in the full sweep. Protected scenarios (security, honesty, injection, adversarial, error recovery, resilience) never leave it. util/eval_tiers.py check proves, from the matrices the workflow would build, that smoke + full + backlog still cover all 343 runnable scenarios; the lanes job re-runs it before any machine is taken. The Strix Halo pool now scores Qwen3.6-35B-A3B, which gaia init installs on that hardware, pinned per category and checked per scenario. It compares only against its own baseline, which is empty until a real full sweep fills it, so runs say "no baseline yet". A dispatch can still pick Gemma-4-E4B to re-run part of a Gemma tag run against the Gemma baseline. Every run now fails when scenarios error before Claude spends a token, tag runs included.
|
Verdict: Request changes — one small fix, then this is good to merge. This PR cuts RC eval cost by running a 30-scenario smoke tier, keeping the full sweep for the RC you nominate, and making a final tag check for that sweep instead of re-running it. It also starts scoring Qwen3.6 on Strix Halo against its own baseline, and
Real-world evidenceThe evidence stage ran every surface it could reach on Some surfaces were not run here, so the verdict on them rests on static review:
🔍 Technical details🟡 A cancelled full sweep satisfies Add a 🟡 🟢 Nits
Strengths
|
tests/unit/eval now reads eval/ci_tiers.json, the flagship baselines and the two new util scripts, so a PR touching only those must still run the lanes that test them.
The warm script returns early on an already-healthy server, so calling it a second time to warm Qwen3.6 pulled nothing, and the preflight stopped the lane. Pull through Lemonade's API instead, and fail the step with the reason when the pull does.
A full sweep cancelled after one lane still uploaded its tier marker, so a final tag could pass verification on a run that scored almost nothing. A failed sweep still counts: report mode fails on regressions, and it measured the release. Also documents --agent-model and --compare's exit codes, including 3 for a run on a different model than its baseline.
|
Both fixed in bfe5f19: a cancelled full sweep no longer satisfies a final tag (a failed one still does, since report mode fails on regressions), with a test for each, and 🔍 Technical details
|
Main moved the scenario loop into _execute and made runs resumable (#5533). The agent-model pin now follows that shape: _execute passes it to every scenario, _finish records the model the run may claim, and a resumed run keeps its own pin and refuses a different --agent-model, the way it already refuses a different --model.
The plan's cost-and-tiering section has largely landed since it was written: the RC smoke tier, nominated full sweep, weekly backlog lane and Qwen3.6 scoring (#5535), real Claude usage per scenario (#5525) and quota stop-and-resume (#5533). The status line, the implementation table and the stale "isn't recorded" and "v0.25.1 final" claims now say so, and two answered open questions are dropped. Also fixes the two contradictions the review flagged: the scenario eval could have caught 2 escapes, not 3 (#5413 needs a scripted model), and item 3 adds re-runs to the existing Strix Halo eval.
#5535 landed this PR's model pin and cross-model compare refusal on main, so runner.py and cli.py take main's version. The Gemma-on-Strix-Point lane stays. Drops a duplicated binaries.lock.json trigger in test_unit.yml and a duplicated gaia-flagship/** trigger in test_email_agent_unit.yml, and updates notes that still said Strix Halo would move to Qwen after v0.25.1.
… close them on a pass (amd#6510) Release eval issues were filed whenever the eval job wasn't green, and each one held the same template: a run link and a runbook. Most of those runs hadn't measured anything. Lanes were skipped, Claude was out of quota, or a final tag had no full sweep (amd#6144, amd#6138). None of the issues said what broke, and none closed on their own. Now an issue is filed only for a measured drop: a breached quality bar, or a scenario in the stable smoke set (each passed 90%+ of 10+ runs) that passed in the baseline and now fails. It lists each one with baseline and current scores and the judge's root cause, and a later clean run closes it. Flips outside the stable set appear in the job summary as "watch", because the baseline is a single run and about 18% of scenarios flip (amd#5493). A run that measured nothing files nothing; its summary says what wasn't measured and why. Each target (flagship, agent package) gets one issue, updated in place, so issues stop piling up one per tag. The agent release eval now compares against the flagship baseline (same pool, Gemma model and judge) instead of a directory that never existed. Closes amd#5197 **Deliberate changes (maintainer-approved):** - A final tag with no full sweep no longer files an issue; it's a summary line now. This reverses amd#5535. - A passing run also closes the old per-tag `eval-failure` issues, up to its own version line. - Flagship tag runs score Qwen3.6, whose baseline (`gaia-flagship-qwen`) has no scorecards yet. Until one is committed they report "No verdict" by design, and never file or close. <details> <summary>🔍 Technical details</summary> - The verdict comes from `compare_scorecards`, the same diff that `gaia eval agent --compare` prints. Fixtures are trimmed from real public artifacts: flagship runs 41148504198 (rc1) and 41353279225 (rc3), a PASS→FAIL dispatch pair, and agent-pkg-gaia-v0.3.3. - The stable set is `eval/ci_tiers.json`'s smoke tier. - Judge text reaches the issue only through a file (new `body-file` input on `auto-issue`). Pipes, HTML, backticks, links, images, URLs, issue references and @-mentions are all neutralised. - Both jobs run with `contents: read` + `issues: write`, a per-target concurrency group, and a pip cache keyed on `setup.py`. - A failed outcome-tasks gate is reported but not filed: `gaia eval tasks gate` uses the same exit code for a missed expectation and an unreachable backend. </details> ## Test plan - [ ] `python -m pytest tests/unit/eval/test_eval_failure_notice.py tests/unit/test_auto_issue.py tests/unit/eval/test_eval_tiers.py tests/unit/test_eval_tag_gate.py` passes - [ ] `python util/lint.py --black --isort --flake8 --workflow-triggers --workflow-ancestor-skip --test-lanes --ci-paths --doc-versions` passes - [ ] On the next RC tag, the `File (or close) the release eval issue` job writes a verdict line to its summary, and opens no issue unless a stable-set scenario regressed
Every RC tag ran the whole flagship sweep: about 28 Strix Halo machine-hours, 13 of 14 machines for 3.3 h, and an estimated 130M Claude tokens, more than two accounts delivered on rc2. Now an RC runs a 30-scenario smoke tier on 3 machines, only the RC you nominate for promotion runs the full sweep, and a final tag checks that sweep exists instead of re-running it. The Strix Halo pool also starts scoring Qwen3.6-35B-A3B, the model
gaia initinstalls on that hardware, against its own baseline. Implements the "Cost and tiering" section of #5493.Measured on rc2's commit: the smoke took 3 machines, 2.0 machine-hours and 45 min wall time (run). rc2's own full sweep took 13 machines, 22.1 machine-hours (cut short when the quota ran out) and 2 h 38 min. The smoke ran before #5525 started recording real Claude usage, so the token figures stay estimates; the next tier run will measure them.
Worth a look: on Qwen the smoke passed 27 of 30. The 3 failures are all protected refusal scenarios that pass at least 93% on Gemma:
files_sandbox_refusal_system,mem_credential_refusal,shell_denial_reported_as_denial. It's one run, so re-run before calling it a Qwen regression.[full eval]in an RC's annotated tag message (or-f tier=full) → full sweep. Final tag → verify only.[skip eval]still works.-f model=Gemma-4-E4B-it-GGUFto re-run part of a Gemma tag run, as rc3 does. Gemma moves to the Strix Point pool (ci(eval): score Gemma on Strix Point, refuse cross-model compares #5511); the Halo full sweep keeps no Gemma coverage by default.Test plan
pytest tests/unit/eval tests/unit/test_eval_tag_gate.py tests/test_eval.py: 1686 passed, 30 skippedpython util/eval_tiers.py check: 343 of 343 runnable scenarios covered; 18 never-in-CI scenarios listed with their reasonpython util/lint.py --allpasses; actionlint reports only the existing runner-label notices🔍 Technical details
eval_gaia_home.py pin-model,gaia eval agent --agent-model,--compareexit 3 on a model mismatch) so both branches carry one implementation. ci(eval): score Gemma on Strix Point, refuse cross-model compares #5511's Strix Point workflow, reusable lane and lane-matrix changes are left to it. Whichever lands second drops the duplicate hunks.eval/ci_tiers.jsonholds the smoke and backlog machines, each scenario'swhy(pass rate, runs, timeouts, protected reason), the model → baseline map, and the owner.util/eval_tiers.pydecides the tier, builds the matrix (reusing ci(eval): targeted flagship dispatch by category and scenario #5513's scenario selection), checks coverage from the matrices it would emit, and verifies a final tag through a 90-dayflagship-tier-fullmarker artifact.util/eval_backlog_trend.pyrolls the trend forward.memorybeside other non-gaia categories; the job runs with memory off and turns the store on formemoryalone (EVAL_MEMORY_CATEGORIES), so no category runs under different conditions than in the full sweep.gaia eval tasks) runs only with the full sweep, to keep the smoke at 3 machines.python util/eval_tiers.py scenarios --tier smokeprints the same 30 ids. Point runs scenarios about 3x slower, so the full smoke is roughly 4 h on one Point machine, or about 2 h for the 13 protected ones.--ref v0.25.1-rc3runs the workflow as it is at that tag.