Repository navigation
ci(eval): file eval-failure issues only for measured regressions, and close them on a pass - #6510
Conversation
… close them on a pass Release eval issues fired whenever the eval job was not green, with a template body that named nothing, so runs that measured nothing (skipped lanes, no Claude quota, a final tag without a full sweep) filed issues like amd#6144 and amd#6138 that never closed. util/eval_failure_notice.py now reads the run's scorecards, diffs each category against its committed baseline with compare_scorecards, and decides: regressed (file or update the target's one issue, listing each PASS->FAIL scenario with its scores and the judge's root cause), passed (close it, plus the old per-tag issues), or no verdict (summary only, naming what was not measured). eval_flagship.yml and release_agent_gaia.yml use it, with one issue per target edited in place, a concurrency guard, and judge text reaching the issue only through a body file (new auto-issue body-file input).
|
Verdict: Request changes The new rule is a clear improvement. Release evals will file an issue only when a scenario that passed in the baseline now fails, or when the quality bar is breached. The issue names each failing scenario, keeps one issue per target, and closes itself on a later pass. The decision logic is careful and well tested against real run artifacts. One thing blocks merge: the eval docs still describe the old "file an issue whenever it didn't pass" behaviour.
Real-world evidenceN/A: this changes CI workflows, a CI helper script, and tests, with no user-facing CLI, API, MCP, or UI surface. There's no evidence bundle, and these jobs only run on tag pushes, so this verdict rests on static review alone. I couldn't run the test suite here because pytest isn't installed in this review environment. The PR's own test plan item for the next RC tag is the real end-to-end check. 🔍 Technical details🟡 Stale docs that contradict the new behaviour
🟢 Final-tag "no full sweep" lost its issue ( 🟢 Job-level concurrency can drop a verdict. 🟢 Dead filter ( Strengths
|
…al to the flagship baseline A lone PASS->FAIL against a one-run baseline is often noise (~18% of scenarios flip, amd#5493), so an issue is now filed only when a scenario in the stable smoke set (eval/ci_tiers.json) regresses, or the quality bar is breached. Other flips are listed as "watch" in the job summary. - The agent release eval and test_gaia_agent_eval.yml compare against tests/fixtures/eval_baselines/gaia-flagship (same pool, Gemma model and judge) instead of a directory that never existed (amd#5197). - Judge text can no longer plant links, images, URLs or issue references in the issue body. - The pip caches key on setup.py. - The eval docs and release plans describe the new filing rules, including that a final tag with no full sweep reports in its summary instead of filing.
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 (#6144, #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 (#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 #5197
Deliberate changes (maintainer-approved):
eval-failureissues, up to its own version line.gaia-flagship-qwen) has no scorecards yet. Until one is committed they report "No verdict" by design, and never file or close.🔍 Technical details
compare_scorecards, the same diff thatgaia eval agent --compareprints. 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.eval/ci_tiers.json's smoke tier.body-fileinput onauto-issue). Pipes, HTML, backticks, links, images, URLs, issue references and @-mentions are all neutralised.contents: read+issues: write, a per-target concurrency group, and a pip cache keyed onsetup.py.gaia eval tasks gateuses the same exit code for a missed expectation and an unreachable backend.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.pypassespython util/lint.py --black --isort --flake8 --workflow-triggers --workflow-ancestor-skip --test-lanes --ci-paths --doc-versionspassesFile (or close) the release eval issuejob writes a verdict line to its summary, and opens no issue unless a stable-set scenario regressed