Repository navigation
Description
Problem
Since 2026-08-13, no live-model behaviour check (finding_expectations, required_labels, expected_files, risk_label_present) and no LLM quality judge (review_quality, triage_quality) has caught an agent regression in the functional evals. When they failed, the follow-up was loosening the case (for example #1232), not fixing the agent. The failures that did matter were whole cases exiting non-zero: a sandbox, provider or harness that would not load.
Phase 1: done in #1649
Behaviour checks, quality judges and budget judges are report-only in every tier (eval/run-functional.sh drops their thresholds at runtime). Only a non-zero case exit, pr_created, new_commit and sandbox_started gate. Triage 003 has its own fixture repo.
Phase 2: nightly verdict over the last 3 nightly runs (this issue's remaining scope)
The nightly full tier fails on a behaviour check only when a case fails it on 2 of the last 3 nightly runs, and on a quality judge only when the median of the last 3 nightly runs misses its threshold. One nightly run per night, so no extra cost and no extra fixture repo creation. The previous two runs' results come from their eval-results-<agent> artifacts (kept 30 days).
Code agent part (no edits under .github/workflows/)
- New
eval/scripts/aggregate-nightly.sh <eval.yaml> <summary.yaml> [<summary.yaml> ...], bash +yq, like the other eval scripts. Summaries are given newest first, 1 to 3 of them. Each is a run'ssummary.yaml, which hasjudges.<name>.pass_rate,.mean,.scored_casesandper_case.<case>.<judge>.value.- Behaviour checks:
finding_expectations,required_labels,forbidden_labels,risk_label_present,expected_files, when the checked-ineval.yamlgives them amin_pass_rate. Vote per case, fromper_case.<case>.<judge>.value: a case fails the check when its value isfalsein at least 2 of the given runs. The check's nightly pass rate is the share of cases (seen in at least one run) that do not fail; the verdict is FAIL when it is belowmin_pass_rate. This filters a flake that hits a different case each night, but not a case that keeps failing. - Missing data counts as neither pass nor fail: a case or judge absent from a run, a null
value, or a judge withscored_cases: 0. A run whose cases failed before the agent ran (an infrastructure night) must not count against a check. - Quality judges: names ending in
_quality, wheneval.yamlgives them amin_mean. The verdict is FAIL when 3 non-nullmeanvalues are given and their median is belowmin_mean. With fewer than 3, report "insufficient history" and do not fail. - Budget judges (
max_turns,max_cost) and the contract judges are out of scope: not aggregated. - Output: one line per judge with each run's value and the verdict, plus a final
NIGHTLY VERDICT: PASS|FAILline. WhenGITHUB_STEP_SUMMARYis set, also append a Markdown table to it. - Exit 0 on PASS, 1 on FAIL, 2 on a usage or input error (no summaries, more than 3, or a given file that is missing or not valid YAML). The workflow passes only the summaries that exist, so an absent previous run is not an error.
- Behaviour checks:
eval/scripts/aggregate-nightly-test.sh, added toscript-testin theMakefile. Cover: a case failing a check in 1 of 3 runs gives PASS; the same case failing in 2 of 3 gives FAIL; different cases each failing once (the flake pattern) gives PASS; a run withscored_cases: 0is ignored; a null or missing judge in one run; a judge with no threshold ineval.yamlignored; quality means[3, 4, 5]againstmin_mean: 3.5gives PASS (median 4),[2, 2, 5]gives FAIL; fewer than 3 quality samples gives no FAIL; usage errors exit 2.eval/README.md: describe the nightly verdict next to the Tiers section.
Maintainer part: do NOT implement (added to the same PR after the code agent)
No edits under .github/workflows/ from the code agent. For reference only: wire it into functional-tests-nightly.yml: after the run, for each agent, download eval-results-<agent> from the previous 2 completed nightly runs on main, run aggregate-nightly.sh on the current and previous summaries, fail the nightly on a FAIL verdict, and include the verdict in the tracking-issue report. The PR closes this issue. PR, merge-queue and release runs stay as Phase 1 left them.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
fullsend-ai-triage commentedon Oct 3, 2026
🤖 Finished Triage · ✅ Success · Started 1:40 PM UTC · Completed 1:44 PM UTC
Commit:
93c6982· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5 · Effort: high · Cost: $0.50
fullsend-ai-triage commentedon Oct 3, 2026
This spans both the eval harness scoring logic (
eval/run-functional.sh) and three workflow files that currently run the full suite — including the live-model behaviour checks and LLM quality judges this issue wants moved to nightly — onpull_request_target,push, andmerge_group(functional-tests.yml,behaviour-tests.yml, plus the nightly cron dispatcherfunctional-tests-nightly.yml).Note for maintainers: because the fix requires editing
.github/workflows/*.yml, the code agent cannot implement this under its current permissions — expect to need a human-authored PR or explicit maintainer action for the workflow portions, even though the scoring/aggregation logic ineval/run-functional.shcould be coded normally.No open PR or duplicate issue was found addressing this (searched for "nightly", "report-only", "quality judge", and "behaviour check nightly"). #1580 is related (also about what should gate the release tier) but is a narrower, distinct question about budget judges — not a duplicate of this broader PR/merge-queue-vs-nightly restructuring.
Labels: Matches this repo's convention of labeling CI/eval-tier infra change requests (e.g. #1573, #1579, #1591) as feature/enhancement.
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancewaynesun09 commentedon Oct 3, 2026
One case to cover here: triage
003-feature-requestexpectstriaged+feature, but its fixture repo has noGET /api/usersendpoint (only an auth module). On Sonnet 5.5 the triage agent asks where the endpoint lives and appliesneeds-info(3 of 3 runs). Either add the endpoint the issue describes to the case's repo, or acceptneeds-infoas a correct outcome. Triage case 001 had the same kind of gap; #1599 gives it its own repo with the decode path.waynesun09 commentedon Oct 3, 2026
Adding a fixture-consistency item to this issue's scope.
Moving the evals to Sonnet 5.5 (#1599) exposed fixtures whose issue or PR refers to code that isn't in the fixture repo. Sonnet checks the code, finds the gap and answers
needs-info, so a careful agent fails the case. Opus guessed past the gap.Known cases:
ready-to-codelabel the code agent's skill requires. Fixed in fix(#1598): bound the review judge input; run the evals on Sonnet 5.5 #1599.GET /api/users, but the fixture repo has only the auth module. Still open.Ask:
labels). The expected outcome should be what a careful engineer would conclude from that repo alone. Fix the gaps, starting with triage 003.eval/README.md.waynesun09 commentedon Oct 10, 2026
/fs-code
Do not sign off: no
git commit -s, noSigned-off-bytrailer. Implement Phase 1 of the issue body only.fullsend-ai-triage commentedon Oct 10, 2026
🤖 Triage ·⚠️ Cancelled · Started 1:19 PM UTC · Ended 1:20 PM UTC
Commit:
3217196· View workflow run →fullsend-ai-coder commentedon Oct 10, 2026
🤖 Finished Code · ✅ Success · Started 1:20 PM UTC · Completed 1:28 PM UTC
Commit:
3217196· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $2.73
4 remaining items
fullsend-ai-triage commentedon Oct 10, 2026
🤖 Triage ·⚠️ Cancelled · Started 2:02 PM UTC · Ended 2:03 PM UTC
Commit:
74a0080· View workflow run →fullsend-ai-coder commentedon Oct 10, 2026
🤖 Finished Code · ✅ Success · Started 2:03 PM UTC · Completed 2:12 PM UTC
Commit:
74a0080· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $2.06
ci(#1601): fail the nightly on the 3-run verdict
fix(#1601): use run_result.json for pre-agent cases; harden nightly h…
fix(#1601): bound nightly history by date in the search; report a can…
fix(#1601): pin yq in the aggregate job; reject non-numeric thresholds
test(fullsend-ai#1601): make eval behaviour checks and quality judges…
Merge pull request fullsend-ai#1649 from fullsend-ai/agent/1601-repor…
test(fullsend-ai#1601): add a nightly verdict over the last 3 eval runs
Merge pull request fullsend-ai#1650 from fullsend-ai/agent/1601-night…