paperbot · PL 论文追踪

全部论文 待读 收藏

Revisiting LLMs on New Feature Implementation in Real-World Software Development Practices

重新审视LLM在真实世界软件开发实践中的新功能实现
ASE Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering2026引用 0 inbox
Jia Li, Tingxuan Huang, Tiankuo Zhao, Yiming Wang, Yiran Zhang, Anshun Hu, Kechi Zhang, Lecheng Wang, Zinan Sheng, Kui Liu, Ge Li, Zhi Jin
crossref: 2026-10-09

AI 速览

一句话:构建贴近真实实践的新功能实现基准NFEI,分阶段评估LLM并揭示其能力瓶颈与失败模式。

新功能实现是软件开发中的关键活动,但现有LLM评测基准偏离真实实践:它们向模型提供目标代码签名、文件路径等开发者实际无法获取的信息,且仅用功能测试评估最终代码,忽视需求理解与实现规划等中间步骤。为此,本文基于活跃GitHub仓库中已合入的特性PR构建NFEI基准,每个目标特性涉及跨代码片段的多处修改,评测中仅提供特性描述与目标仓库。作者还为需求澄清和实现规划等中间步骤标注细粒度标签,支持三种粒度、七个指标的阶段性评估。实验在两种开发范式与三种生成策略下评测七种流行LLM,结果显示新功能实现仍极具挑战,平均测试通过率仅29.84%;中间步骤质量与最终代码表现密切相关,注入真实中间产物可带来约18%的绝对提升,但性能仍然有限。定性错误分析进一步识别出三类反复出现的失败模式。

问题
现有LLM新功能实现基准提供了真实开发中不可得的目标签名与文件路径,且只评估最终代码,难以忠实衡量模型能力并诊断其弱点。
方法
构建NFEI基准,数据来自已合入的特性PR,仅向模型提供特性描述与目标仓库,并为需求澄清、实现规划等中间步骤标注细粒度标签,设计三粒度七指标的分阶段评测。
评估
在两种开发范式和三种生成策略下评测七种流行LLM,统计测试通过率与中间步骤指标,并通过注入真实中间产物和定性错误分析考察失败模式。
原文摘要(Abstract)

Implementing new features in existing repositories is a key activity in software development. With the rapid advances in large language models (LLMs), benchmarking their capability in this task has attracted growing attention. However, existing benchmarks deviate from real-world practices in two aspects. First, they provide LLMs with unrealistic information such as target code signatures and file paths, which developers do not have access to in practice. Second, they only evaluate the final generated code using functional tests, without examining intermediate steps like requirement understanding and implementation planning. These limitations make it difficult to faithfully assess LLMs’ actual capabilities and diagnose their weaknesses. To address the above limitations, we conduct a systematic evaluation to revisit the capability of large language models (LLMs) in new feature implementation, with a task setup strictly aligned with real-world software development practices. Our evaluation is built on NFEI, a curated benchmark sourced from merged feature pull requests of active GitHub repositories, where each target feature involves cross-snippet multiple code modifications, and LLMs are only provided with the feature description and the target repository throughout the evaluation. Beyond the realistic input settings, we further annotate fine-grained labels for the intermediate steps of the development workflow, including requirement clarification and implementation planning. This enables our evaluation to support a comprehensive stage-wise assessment across three granularities with seven dedicated metrics. We evaluate seven popular LLMs under two development paradigms and three generation strategies. Results show that new feature implementation remains highly challenging, with an overall average Test Pass Rate of only 29.84%. Our stage-wise analysis reveals that intermediate step quality is closely linked to final code performance, and injecting ground-truth intermediate artifacts yields an average absolute gain of about 18%, yet performance remains limited. Qualitative error analysis further identifies three recurrent failure patterns, suggesting that new feature implementation of LLMs adhering to real-world world software development practices remains challenges.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot12228,
  title = {Revisiting LLMs on New Feature Implementation in Real-World Software Development Practices},
  author = {Jia Li and Tingxuan Huang and Tiankuo Zhao and Yiming Wang and Yiran Zhang and Anshun Hu and Kechi Zhang and Lecheng Wang and Zinan Sheng and Kui Liu and Ge Li and Zhi Jin},
  booktitle = {ASE},
  year = {2026},
  doi = {10.1145/3832783.3837511}
}