Evaluating More with Less: Black-Box Test Selection for AI Agents
- ID: 725299da
- 原文链接: https://arxiv.org/abs/2611.34617
- PDF: https://arxiv.org/pdf/2611.34617
- 作者: Ali Asgari, Mitchell Olsthoorn, Arie van Deursen
- 日期: 2026-11-25
- 更新: 2026-11-25
- 分类: coding
- 来源类型: paper
- 标签: test-selection, evaluation-cost, agent-benchmarks, empirical-study
- 质量评分: 4/5
- 抓取时间: 2026-11-27T15:41:08Z
中文导读
模型/prompt/工具一变就要重测整个基准,成本失控。这篇把经典测试选择技术搬到 agentic 基准上:不执行被测 agent、不靠历史数据,纯黑盒选任务。结论是按目标选策略:估成功率用回归选择,抓失败用 LLM-as-judge。
为什么值得关注
对频繁回归测试自有 agent 的团队是直接可算的省钱方法:100/500 题就能把 $225 压到 $47 而误差不到 1pp。
条目一句话:测 agent 可以按预算挑任务:$225 压到 $47、误差 0.8pp;估成功率和早暴露失败要用不同策略
关键信息
- 标题:Evaluating More with Less: Black-Box Test Selection for AI Agents
- 作者:Ali Asgari, Mitchell Olsthoorn, Arie van Deursen
- 原文:https://arxiv.org/abs/2611.34617
- 发布时间:2026-11-25
- 来源分类:cs.SE
- 备注:null
- 关联标签:test-selection, evaluation-cost, agent-benchmarks, empirical-study
English Abstract
Agentic software systems are increasingly used in development, where changes to the model, prompt, scaffold, tools, or execution environment require repeated testing. Test case selection (TCS) can reduce testing costs while providing estimates of agent performance or exposing failures early. Although TCS has been studied for deep neural networks and LLM code models, prior work does not directly address agentic systems and often requires model information unavailable for proprietary agents. We present the first empirical study of black-box TCS for agentic software systems. We treat each benchmark task as a test case and adapt black-box regression-testing techniques using selection criteria based on task descriptions, metadata, code fragments, and embeddings. We also propose strategies that estimate task difficulty using heuristic features or independent LLM-as-judge assessments. Our strategies select tasks without executing the target agent or using past results. We evaluate fourteen selection strategies, including random sampling, plus a historical-data baseline, across ten AI agent benchmarks with 12 to 101 agents per benchmark. We assess Success Rate estimation and early failure detection. No single strategy dominates both objectives. Adapted black-box regression-testing strategies are most effective for Success Rate estimation, with Category Partition obtaining the lowest median error on five benchmarks at the 20% task budget. LLM-as-judge selection is more effective for early failure detection. For GPT 5.2 Codex on SWE-bench Verified, Category Partition selects 100 instead of 500 tasks, reducing execution cost from \$225 to \$47, with a Success Rate estimation error of 0.8 percentage points. At the same budget, LLM-as-judge selection detects nearly twice as many failures as random sampling: 53.0% of selected tasks reveal failures, compared with 27.4% for random sampling.
English Summary
First empirical study of black-box test-case selection for agentic software systems: treat each benchmark task as a test case and select using only task descriptions, metadata, code fragments, and embeddings — no execution of the target agent, no past results. Fourteen strategies across ten AI agent benchmarks (12 to 101 agents each) are evaluated on two objectives — success-rate estimation and early failure detection — and no single strategy dominates both. Adapted regression-testing techniques estimate success rate best (Category Partition gives the lowest median error at 20% budget on five benchmarks); LLM-as-judge difficulty estimates expose failures earliest. Example: for GPT 5.2 Codex on SWE-bench Verified, selecting 100 of 500 tasks cuts evaluation cost from $225 to $47 with 0.8pp success-rate error, and equal-budget failure exposure reaches 53.0% versus 27.4% for random sampling.
证据与来源
opencli arxiv paper 2611.34617 -f json(2026-11-27 抓取,摘要全文在档)+ 论文流水线 2026-11-27 要点摘录。