arXiv cs.AI· Shuangjie Yao, Hao Wang, Koushik Sen, Simin Chen, Baishakhi Ray, Dawn Song·· 9 天前AI 评分62
TestJack:通过评估器演化审计编码基准,约34.4%被判正确的模型试验违反任务要求
TestJack: Should you trust the results in coding benchmarks? Agentic Coding Benchmarks Auditing via Evaluator Evolution
AI 导读
论文提出 TestJack,一个超越固定单元测试的补丁评估框架:针对每个试验生成覆盖提示词要求的测试,只保留真实补丁能通过的测试,并重新检查失败的试验,使每个确认的失败都有可回放的测试支撑。
正文 · 原文
Abstract:Large language model (LLM) agents are rapidly reshaping software engineering, accompanied by an explosion of new code benchmarks. Yet nearly all existing benchmarks still rely on the same decades-old criterion: a solution is correct if it passes a fixed set of unit tests. Such tests are often insufficient: they check only part of what the task requires, so agents can reward hack them or silently miss required behavior while still passing every test. As a result, higher benchmark scores may partly reflect better adaptation to the evaluator rather than better problem solving. Existing works focus on static test augmentation: they strengthen each task's tests once, before any trial is seen, and thus overlook how real trials actually fail. We introduce TestJack, a scalable framework for evaluating patches beyond fixed tests. For each trial, TestJack generates tests targeting prompt requirements the patch may violate, retains only tests passed by the ground-truth patch, and re-examines any trial failures. Each confirmed failure is thus supported by a replayable test. To reduce evaluation cost, we also introduce a lightweight variant which audits a random sample of trials in depth and reuses the resulting tests across all trials for the same task. Across 6 frontier model backends and 5 benchmarks such as DeepSWE and SWE Marathon, we find that about 34.4% of the model trials currently judged correct violate the task requirements, lowering the overall resolution rate from 50.6% to 33.2%. Our results reveal a fundamental limitation of current coding-agent evaluation: as LLMs become better at optimizing against fixed evaluators, those evaluators themselves must become more adaptive.
| Subjects: | Software Engineering (cs.SE); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.10619 [cs.SE] |
| (or arXiv:2610.10619v1 [cs.SE] for this version) | |
| https://doi.org/10.48550/arXiv.2610.10619 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Shuangjie Yao [view email]
[v1]
Wed, 7 Oct 2026 07:58:04 UTC (389 KB)
来源:arXiv cs.AI · arxiv.org