FEA-Bench: A Benchmark for Evaluating Repository-Level Code Generation for Feature Implementation

Wei Li, Xin Zhang, Zhongxin Guo, Shaoguang Mao, Wen Luo +4 more
3/9/2025
cs.SEcs.CL

No official code found. Best implementation: microsoft/FEA-Bench (57 stars, MIT, last commit 2026-01-28).

Abstract

Implementing new features in repository-level codebases is a crucial application of code generation models. However, current benchmarks lack a dedicated evaluation framework for this capability. To fill this gap, we introduce FEA-Bench, a benchmark designed to assess the ability of large language models (LLMs) to perform incremental development within code repositories. We collect pull requests from 83 GitHub repositories and use rule-based and intent-based filtering to construct task instances focused on new feature development. Each task instance containing code changes is paired with relevant unit test files to ensure that the solution can be verified. The feature implementation requires LLMs to simultaneously possess code completion capabilities for new components and code editing abilities for other relevant parts in the code repository, providing a more comprehensive evaluation method of LLMs' automated software engineering capabilities. Experimental results show that LLMs perform significantly worse in the FEA-Bench, highlighting considerable challenges in such repository-level incremental code development.

View on arXivView PDF

Code Implementations(1)

MIT

[ACL25] FEA-Bench: A Benchmark for Evaluating Repository-Level Code Generation for Feature Implementation

578PythonFeb 21, 20258 months agoMIT

Similar Papers

Cite this paper

@article{li2025feabench,
  title  = {FEA-Bench: A Benchmark for Evaluating Repository-Level Code Generation for Feature Implementation},
  author = {Wei Li and Xin Zhang and Zhongxin Guo and Shaoguang Mao and Wen Luo and Guangyue Peng and Yangyu Huang and Houfeng Wang and Scarlett Li},
  year   = {2025},
  eprint = {2503.06680},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.06680v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.06680.svg)](https://codeofpaper.com/paper/2503.06680)

Discussion