2026-01-08 · 进阶 · 软件工程 · 机器学习

Agentic Rubrics as Contextual Verifiers for SWE Agents

本文提出了Agentic Rubrics,一种基于代码库上下文的打分机制,用于软件工程(SWE)代理的验证,通过专家代理与代码库交互创建评分清单,从而实现对候选补丁的快速、可扩展和细粒度的验证。

更新于 2026-01-09。作者:Mohit Raghavendra、Anisha Gunjal、Bing Liu、Yunzhong He。

中文摘要

验证对于提升智能体至关重要:它为强化学习提供奖励信号,并通过测试时间缩放(TTS)实现推理时的性能提升。尽管验证在软件工程(SWE)智能体环境中非常重要,但通常依赖于代码执行,由于环境设置的开销,这很难进行扩展。虽然存在可扩展的替代方案,如补丁分类器和启发式方法,但它们在代码库上下文中的基础较弱,且难以解释。为此,我们探索了智能体评分标准:专家智能体与代码库互动,创建一个基于上下文的评分标准清单,然后候选补丁将根据此清单进行评分,而无需执行测试。在SWE-Bench Verified中进行并行TTS评估时,Agentic Rubrics在Qwen3-Coder-30B-A3B上获得了54.2%的评分,在Qwen3-32B上获得了40.6%,相较于我们比较集中的最强基线至少提高了3.5个百分点。我们进一步分析了评分标准的行为,表明评分标准与真实测试结果一致,同时也指出了测试未能捕捉到的问题。我们的消融实验表明,智能体上下文收集对于产生特定于代码库的、明确的评价标准至关重要。总之,这些结果表明Agentic Rubrics为SWE智能体提供了一种高效、可扩展且细致的验证信号。

英文摘要

Verification is critical for improving agents: it provides the reward signal for Reinforcement Learning and enables inference-time gains through Test-Time Scaling (TTS). Despite its importance, verification in software engineering (SWE) agent settings often relies on code execution, which can be difficult to scale due to environment setup overhead. Scalable alternatives such as patch classifiers and heuristic methods exist, but they are less grounded in codebase context and harder to interpret. To this end, we explore Agentic Rubrics: an expert agent interacts with the repository to create a context-grounded rubric checklist, and candidate patches are then scored against it without requiring test execution. On SWE-Bench Verified under parallel TTS evaluation, Agentic Rubrics achieve a score of 54.2% on Qwen3-Coder-30B-A3B and 40.6% on Qwen3-32B, with at least a +3.5 percentage-point gain over the strongest baseline in our comparison set. We further analyze rubric behavior, showing that rubric scores are consistent with ground-truth tests while also flagging issues that tests do not capture. Our ablations show that agentic context gathering is essential for producing codebase-specific, unambiguous criteria. Together, these results suggest that Agentic Rubrics provide an efficient, scalable, and granular verification signal for SWE agents.

解读

一句话总结

本文提出了Agentic Rubrics,一种基于代码库上下文的打分机制,用于软件工程(SWE)代理的验证,通过专家代理与代码库交互创建评分清单,从而实现对候选补丁的快速、可扩展和细粒度的验证。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源