As LLM-based agents exhibit exceptional capabilities in addressing complex problems, there is a growing focus on developing coding agents to tackle increasingly sophisticated tasks. Despite their promising performance, these coding agents often produce programs or modifications that contain runtime errors, which can cause code failures and are difficult for static analysis tools to detect. Enhancing the ability of coding agents to statically identify such errors could significantly improve their overall performance. In this work, we introduce Execution-free Runtime Error Detection for COding Agents (REDO), a method that integrates LLMs with static analysis tools to detect runtime errors for coding agents, without code execution. Additionally, we propose a benchmark task, SWE-Bench-Error-Detection (SWEDE), based on SWE-Bench (lite), to evaluate error detection in repository-level problems with complex external dependencies. Finally, through both quantitative and qualitative analyses across various error detection tasks, we demonstrate that REDO outperforms current state-of-the-art methods by achieving a 11.0% higher accuracy and 9.1% higher weighted F1 score; and provide insights into the advantages of incorporating LLMs for error detection.
Gistify! Codebase-Level Understanding via Runtime Execution
University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);Microsoft Research(微软研究院);Cornell University(康奈尔大学);University of California San Diego(加州大学圣地亚哥分校);University of Texas at Austin(德克萨斯大学奥斯汀分校)
A Taxonomy of Runtime Faults in Model Context Protocol Servers
Jheronimus Academy of Data Science and Tilburg University(赫伦尼姆数据科学学院和蒂尔堡大学);Jheronimus Academy of Data Science(赫伦尼姆数据科学学院);University of Sannio(萨尼亚大学);University of Luxembourg(卢森堡大学);University of Naples Federico II(那不勒斯费德里科二世大学)
GA4GC: Greener Agent for Greener Code via Multi-Objective Configuration Optimization
University of Leeds(利兹大学);TurinTech AI(都灵科技AI);Harbin Normal University(哈尔滨师范大学);Universidad Politécnica de Madrid(马德里理工大学);University of Trieste(特里este大学);King’s College London(伦敦国王学院);University College London(伦敦大学学院)
SWE Context Bench: A Benchmark for Context Learning in Coding
Independent Researcher(独立研究员);University of Oxford(牛津大学);University of Edinburgh(爱丁堡大学);Technical University of Munich(慕尼黑工业大学);MemoraX AI;National University of Singapore(新加坡国立大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Carnegie Mellon University(卡内基梅隆大学)
GameXpert-Bench: How Far Are Coding Agents from Expert Game Development?
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Tsinghua University(清华大学);The Hong Kong University of Science and Technology(香港科技大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Lightspeed Studios, Tencent(腾讯光速工作室)
SWE-Game: Can Coding Agents Build the Games We Want?
Shanghai Jiao Tong University(上海交通大学);Zhongguancun Academy(中关村学院);Shanghai Innovation Institute(上海创新研究院);Shenzhen University(深圳大学);Beijing University of Posts and Telecommunications(北京邮电大学);Elbetech Technology(埃尔贝特科技)
Closed-loop evaluation of LLM agents for embedded software development
Lucentia Research, Department of Software and Computing Systems, University of Alicante(阿利坎特大学软件与计算系统系卢森西亚研究);Universitary Institute of Materials Technology (IUTM), Universitat Politècnica de València(巴伦西亚理工大学材料技术大学研究所)
AgentSWE: Can Coding Agents Build the Agent You Actually Want?
Beijing Academy of Artificial Intelligence(北京人工智能研究院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Renmin University of China(中国人民大学)
Ouroboros: A Self-Developing Frontier Coding Agent with Reviewed Core Evolution
Lomonosov Moscow State University(莫斯科罗蒙诺索夫国立大学);Skolkovo Institute of Science and Technology(斯科尔科沃科学技术研究所);Artificial Intelligence Research Institute(人工智能研究所)
CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Tasks
IBM Research(IBM研究院);MIT-IBM Watson AI Lab(MIT-IBM沃森人工智能实验室);IBM Worldwide Ecosystems(IBM全球生态系统)
在过去的几十年里,软件已经融入了我们社会的各个方面。随着软件开发的激增和企业应用程序的代码基础设施的老化,现在比以往任何时候都更重要的是提高软件开发生产力和现代化遗留应用程序。深度学习和机器学习算法的进步实现了许多突破,激励研究人员利用人工智能技术来提高软件开发效率。因此,快速崛起的AI for Code研究领域已经引起了新的兴趣并获得了动力。在本文中,我们提出了一个大规模数据集CodeNet,由超过1400万个代码样本和55种不同程序设计语言的约5亿行代码组成,旨在教AI编码。除了规模庞大之外,CodeNet还拥有丰富的高质量注释集,可以对各种关键编码任务进行基准测试,并帮助加速AI技术的研究,包括代码相似性和分类,各种程序设计语言之间的代码翻译,以及代码性能(运行时和内存)改进技术。此外,CodeNet为98.5%的代码样本提供了样本输入和输出测试集,这些测试集可以用作确定代码正确性的预言,并可能指导强化学习提高代码质量。作为一个可用性功能,我们在CodeNet中提供了几个预处理工具,将源代码转换为可以随时用作机器学习模型输入的表示。使用CodeNet数据集的代码分类和代码相似性实验的结果作为参考。我们希望CodeNet的规模,多样性和丰富,高质量的注释将在人工智能和软件工程的交叉点提供前所未有的研究机会。