arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.08604cs.CLcs.SE
收藏

提示大型语言模型应对完整软件开发生命周期:一项案例研究

Prompting Large Language Models to Tackle the Full Software Development Lifecycle: A Case Study

Shanghai AI Laboratory(上海人工智能实验室);Nanjing University(南京大学);BUPT(北京邮电大学);Dartmouth College(达特茅斯学院);Princeton University(普林斯顿大学);The University of Hong Kong(香港大学);Tsinghua University(清华大学);Alibaba Group(阿里巴巴集团);ByteDance(字节跳动)

Bowen Li, Wenhan Wu, Ziwei Tang, Lin Shi, John Yang, Jinyang Li, Shunyu Yao, Chen Qian, Binyuan Hui, Qicheng Zhang, Zhiyin Yu, He Du, Ping Yang, Dahua Lin, Chao Peng, Kai Chen

AI总结:

本研究通过DevEval基准评估LLMs在完整软件开发生命周期中的表现,发现包括GPT-4在内的现有模型无法应对其挑战,并为未来开发提供见解。

摘要:

大型语言模型(LLMs)的最新进展显著提升了其编码能力。然而,现有基准主要聚焦于编码的简化或孤立方面,如单文件代码生成或仓库问题调试,未能全面衡量真实世界编程活动所带来的各种挑战。在本案例研究中,我们通过DevEval探索了LLMs在整个软件开发生命周期中的表现,涵盖软件设计、环境搭建、实现、验收测试和单元测试等阶段。DevEval具有四种编程语言、多个领域、高质量数据收集以及为每项任务精心设计和验证的指标。实证研究表明,当前LLMs(包括GPT-4)无法解决DevEval中提出的挑战。我们的发现为未来LLMs向真实世界编程应用发展提供了可操作的见解。

英文摘要:

Recent advancements in large language models (LLMs) have significantly enhanced their coding capabilities. However, existing benchmarks predominantly focused on simplified or isolated aspects of coding, such as single-file code generation or repository issue debugging, falling short of measuring the full spectrum of challenges raised by real-world programming activities. In this case study, we explore the performance of LLMs across the entire software development lifecycle with DevEval, encompassing stages including software design, environment setup, implementation, acceptance testing, and unit testing. DevEval features four programming languages, multiple domains, high-quality data collection, and carefully designed and verified metrics for each task. Empirical studies show that current LLMs, including GPT-4, fail to solve the challenges presented within DevEval. Our findings offer actionable insights for the future development of LLMs toward real-world programming applications.

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

↑