SWE-Compass:面向大型语言模型智能体编码能力的统一评估
SWE-Compass: Towards Unified Evaluation of Agentic Coding Abilities for Large Language Models
AI总结:
针对LLM软件工程评估的狭窄任务覆盖、语言偏见等问题,提出综合基准SWE-Compass,统一异构代码评估,覆盖多任务、场景和语言,为诊断和提升LLM智能体编码能力提供严谨基础。
摘要:
大型语言模型(LLMs)在软件工程领域的评估受限于任务覆盖范围狭窄、语言偏见以及与现实开发者工作流对齐不足。现有基准常聚焦算法问题或Python-centric的bug修复,导致软件工程的关键维度未被充分探索。为解决这些差距,我们引入SWE-Compass1,一个综合基准,将异构代码相关评估统一到结构化且与生产对齐的框架中。该基准涵盖8种任务类型、8种编程场景和10种编程语言,包含2000个从真实GitHub拉取请求中精选并经系统筛选验证的高质量实例。我们在SWE-Agent和Claude Code两种智能体框架下对10个最先进的LLM进行了基准测试,揭示了任务类型、语言和场景间的明显难度层级。此外,通过与现实开发者实践对齐,SWE-Compass为诊断和提升LLM的智能体编码能力提供了严谨且可复现的基础。
英文摘要:
Evaluating large language models (LLMs) for software engineering has been limited by narrow task coverage, language bias, and insufficient alignment with real-world developer workflows. Existing benchmarks often focus on algorithmic problems or Python-centric bug fixing, leaving critical dimensions of software engineering underexplored. To address these gaps, we introduce SWE-Compass1, a comprehensive benchmark that unifies heterogeneous code-related evaluations into a structured and production-aligned framework. SWE-Compass spans 8 task types, 8 programming scenarios, and 10 programming languages, with 2000 high-quality instances curated from authentic GitHub pull requests and refined through systematic filtering and validation. We benchmark ten state-of-the-art LLMs under two agentic frameworks, SWE-Agent and Claude Code, revealing a clear hierarchy of difficulty across task types, languages, and scenarios. Moreover, by aligning evaluation with real-world developer practices, SWE-Compass provides a rigorous and reproducible foundation for diagnosing and advancing agentic coding capabilities in large language models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。