Repository navigation
feat: [GDPval-AA v2 Updates 4 / n] - Re-Run Failed Tasks and Judgements Only - #1846
Merged
Merged
Conversation
Signed-off-by: Virginia Wu <[email protected]>
Signed-off-by: Virginia Wu <[email protected]>
Signed-off-by: Virginia Wu <[email protected]>
agronskiy
approved these changes
Jul 1, 2026
agronskiy
added a commit
that referenced
this pull request
Jul 1, 2026
## Multi-judge panel for GDPVal ***Depends on #1846 Grades GDPVal deliverables with a **panel** of LLM judges instead of a single model. One panel member is sampled per scoring call, so the reward pools verdicts across models. Applies to **every** judge mode — rubric (text / visual / structured) and pairwise comparison, including multi-stage ELO. Matches [GDPval-AA v2](https://artificialanalysis.ai/methodology/intelligence-benchmarking#gdpval-aa) benchmark description: ### What's new - **`judge_panel` config**: a list of members, each a distinct model + reasoning config. Default panel: GPT-5.5 (medium), Gemini 3.1 Pro Preview (high), Claude Opus 4.8 (thinking). All route through the single `gdpval_judge_model` proxy and differ only by model id + reasoning knobs; a member can point at its own `model_server`. Per-member `weight` controls sampling odds. - **Per-member sampling**: rubric text/visual samples one judge per task (`judge_name` recorded); structured rubric and comparison sample per trial. Comparison responses carry `judge_panel`, pooled per-member `per_judge` counts, and per-matchup `trial_judges`. - **Reproducible selection**: sampling is seeded from a stable identity (`(task_id, "rubric")` / `(task_id, ref_id, ref_repeat)`) so reruns draw the same judges; `judge_sampling_seed` (`JUDGE_SAMPLING_SEED`) shifts the stream. Keeps multi-stage ELO reruns (with `RERUN_INCOMPLETE`) replayable per reference subset. - **Audio/video routing**: tasks with audio/video files (detected by extension, including inside `.zip` archives) are routed to the member(s) flagged `handles_audio_video: true` — Gemini by default. Comparison responses set `av_routed: true`; falls back to the full panel if none are AV-capable. ### Implementation - **New `resources_servers/gdpval/judge_panel.py`** — shared primitives: `ResolvedJudge`, `sample_judge` (weighted, seedable), `make_rng`, `merge_create_kwargs` (per-member overrides; `None` drops a default), `panel_summary`, and AV detection/selection. - **`app.py`** — `JudgePanelMember` config + `judge_panel` / `judge_sampling_seed` fields; `_effective_panel()` / `_resolve_judges()`; both verify paths sample the panel, seed the RNG, and route AV tasks. - **`comparison.py` / `scoring.py`** — `run_trials` and all three scorers take a panel + rng and sample per trial; per-member reasoning overrides merged into `chat.completions.create`. - **`benchmarks/gdpval/config.yaml`** — default 3-member panel (model ids overridable via `JUDGE_GPT_MODEL` / `JUDGE_GEMINI_MODEL` / `JUDGE_CLAUDE_MODEL`), Gemini flagged AV-capable, `judge_sampling_seed`. - **Docs** — new *Multi-judge panel* section in `benchmarks/gdpval/README.md` + cross-reference in the stirrup agent README. ### Backward compatibility A single judge is just the degenerate one-member panel synthesized from the existing `judge_model_server` + `judge_responses_create_params_overrides`, so existing configs are unchanged. Set `judge_panel=null` to force single-judge behavior. --------- Signed-off-by: Virginia Wu <[email protected]> Signed-off-by: Alex Gronskiy <[email protected]> Co-authored-by: Alex Gronskiy <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a task re-run mode (
rerun_incomplete) to the Stirrup agent that resumes an evaluation by re-executing only the tasks that didn't finish, instead of re-rolling every task. Composes withexecute_only,judge_only, and multi-stage ELO.Changes
rerun_incompletemode (responses_api_agents/stirrup_agent/app.py): a task is treated as finished if afinish_params.jsonmarker exists underpersist_deliverables_dir. Finished tasks skip the rollout; tasks that never finished are rolled out again./verifyresults are persisted next to each deliverable so already-judged tasks return their cached result instead of re-judging. Un-judged finished tasks are scored once; inexecute_onlythe cached payload is returned as-is.rerun_incomplete+judge_only: judges only tasks with no cached judgement, returning cached results for the rest.repeat_<n>_verify_response_<refset-hash>.json, order-independent). A resumed stage that reselects the same references reuses its cached judgement; a stage scoring a different subset judges once and caches separately. The agent stays agnostic to the verify payload (no benchmark-specific reconstruction).rerun_incompleteexposed viaRERUN_INCOMPLETEenv inbenchmarks/gdpval/config.yamlandstirrup_gdpval.yaml; READMEs documentexecute_only,judge_only,rerun_incomplete, and the re-run behavior matrix._task_finished(marker-only), andTestReferenceKeyedVerifyCachecovering cache-path uniqueness/order-independence, same-set reuse, and different-set re-judging.Benefits
execute_only,judge_only, and multi-stage without new flags beyondrerun_incomplete.