arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.00780cs.SE
收藏

语言模型能否超越编程?评估语言模型构建现实系统的能力

Can Language Models Go Beyond Coding? Assessing the Capability of Language Models to Build Real-World Systems

Nankai University(南开大学);Haihe Laboratory of Information Technology Application Innovation(海河信息技术应用创新实验室);Key Laboratory of Data and Intelligent System Security, Ministry of Education(教育部数据与智能系统安全重点实验室);Tianjin Key Laboratory of Software Experience and Human Computer Interaction(天津市软件体验与人机交互重点实验室);Tsinghua University(清华大学)

Chenyu Zhao, Shenglin Zhang, Zeshun Huang, Weilin Jin, Yongqian Sun, Dan Pei, Chaoyun Zhang, Qingwei Lin, Chetan Bansal, Saravan Rajmohan, Minghua Ma

AI总结:

本文提出Build-bench基准,评估语言模型在跨指令集架构迁移中修复构建失败的能力,发现当前模型最大成功率为63.19%,并揭示了不同模型在工具使用上的差异。

摘要:

大型语言模型(LLMs)在软件工程中展现出增长的潜力,但很少有基准测试评估其在跨指令集架构(ISAs)迁移过程中修复软件的能力。跨ISAs迁移,如在x86_64和aarch64之间,需要处理复杂的依赖关系、异构工具链和长构建日志,同时确保可执行性验证。为此,我们提出了Build-bench,一个端到端的基准测试,系统地评估LLMs在跨ISAs设置中修复构建失败的能力。Build-bench收集了268个现实世界中失败的软件包,并整合了辅助工具,包括结构提取、文件内容提取、内容修改和构建验证,以支持自主、工具增强的推理。修复过程在一个迭代循环中进行,当出现失败时,模型会接收到更新的构建日志和之前的修复结果以优化后续尝试。通过在研究模型之间的比较评估,Build-bench揭示当前模型的最大构建成功率为63.19%,且不同模型在工具使用模式上存在显著差异。通过将真实的构建环境与可验证的结果相结合,Build-bench建立了首个架构感知的基准测试,用于研究基于LLM的软件构建和修复。

英文摘要:

Large language models (LLMs) have shown growing potential in software engineering, yet few benchmarks evaluate their ability to repair software during migration across instruction set architectures (ISAs). Cross-ISA migration, such as between x86_64 and aarch64, requires handling complex dependencies, heterogeneous toolchains, and long build logs while ensuring executable verification. To address this challenge, we present Build-bench, an end-to-end benchmark that systematically evaluates the capability of LLMs to repair build failures in cross-ISA settings. Build-bench collects 268 real-world failed packages and integrates auxiliary tools including Structure Extraction, File Content Extraction, Content Modification, and Build Verification to support autonomous, tool-augmented reasoning. The repair process operates in an iterative loop where, upon failure, the model receives updated build logs and previous repair outcomes to refine subsequent attempts. Through a comparative evaluation across the studied models, Build-bench reveals that current models achieve a maximum build success rate of 63.19% and tool usage patterns differ significantly across models. By coupling real build environments with verifiable outcomes, Build-bench establishes the first architecture-aware benchmark for studying LLM-based software build and repair.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑