Evaluating More with Less: Black-Box Test Selection for AI Agents
Source
arxiv.org
Author
Ali Asgari, Mitchell Olsthoorn, Arie van Deursen, Annibale Panichella
Date
Why it matters
Re-running a full benchmark after every prompt, tool, or model change is expensive. This study compares fourteen ways to pick a smaller task subset without running the agent first, a practical lever for cheaper Agent regression testingRepeating stable behavior checks after model, prompt, tool, or retrieval changes.Full definition →.
Key takeaways · AI-distilled
The study covers ten agent benchmarks with 12 to 101 agents each and scores two goals separately: estimating success rate and surfacing failures early. No single selection strategy won both.
For success-rate estimation, adapted black-box regression-testing strategies did best; Category Partition had the lowest median error on five benchmarks at a 20% task budget.
For GPT 5.2 Codex on SWE-benchThe standard benchmark for AI coding agents: real GitHub issues from real repositories, scored by whether the agent's patch passes the project's own tests.Full definition →, Category Partition picked 100 of 500 tasks, cutting execution cost from $225 to $47 with a success-rate estimation error of 0.8 percentage points.
For early failure detection, Model graderA model used to judge whether another model's output meets a criterion, in place of or alongside a person.Full definition → difficulty selection did best: at the same budget, 53.0% of its selected tasks revealed failures, against 27.4% for random sampling.
Terms in this piece · Glossary
Large language model — A model trained on large amounts of data to process and generate language.
Agent regression testing — Repeating stable behavior checks after model, prompt, tool, or retrieval changes.
SWE-bench — The standard benchmark for AI coding agents: real GitHub issues from real repositories, scored by whether the agent's patch passes the project's own tests.
Model grader — A model used to judge whether another model's output meets a criterion, in place of or alongside a person.