Papers › FEA-Bench: A Benchmark for Evaluating Repository-Level Code Generation for Feature...

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

9 Mar 2025arXiv:2503.06680archive 2025-07-28

Wei Li, Xin Zhang, Zhongxin Guo, Shaoguang Mao, Wen Luo, Guangyue Peng, Yangyu Huang, Houfeng Wang, Scarlett Li

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.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2503.06680")

Code

Syntology Ran 0 of 16 code samples harvested from 1 repository linked to this paper; 16 have no recorded run.

By repository: found in paper text by Syntology: 16 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

microsoft/FEA-Bench found in paper text by SyntologyMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 0 ran; 0 honoured the contract we drafted; 16 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

16unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from microsoft/FEA-Bench. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

add_lines microsoft/FEA-Bench/feabench/collect/make_instructions.py found in paper text by Syntology unverified MIT (permissive) · ff2548d09259cc4f · report
add_lines_list microsoft/FEA-Bench/feabench/collect/make_instructions.py found in paper text by Syntology unverified MIT (permissive) · 15fc850decd38c0e · report
calc_cost microsoft/FEA-Bench/feabench/prediction/prediction_openai.py found in paper text by Syntology unverified MIT (permissive) · 6a251b76292312e2 · report
call_chat microsoft/FEA-Bench/feabench/prediction/prediction_openai.py found in paper text by Syntology unverified MIT (permissive) · 7eea2e9c7d73b624 · report
cl100k microsoft/FEA-Bench/feabench/collect/make_instructions.py found in paper text by Syntology unverified MIT (permissive) · 9a7e9f7c41d4f4e3 · report
find_matches microsoft/FEA-Bench/feabench/prediction/patch_process.py found in paper text by Syntology unverified MIT (permissive) · 9e041acdfbfb5dd6 · report
get_default_branch microsoft/FEA-Bench/feabench/get_dataset.py found in paper text by Syntology unverified MIT (permissive) · 211c8776b6934d53 · report
get_model_limits_huggingface microsoft/FEA-Bench/feabench/prediction/prediction_vllm.py found in paper text by Syntology unverified MIT (permissive) · fdb9a6e7c7dfd837 · report
get_tokenizer_online microsoft/FEA-Bench/feabench/prediction/tokenizer_online.py found in paper text by Syntology unverified MIT (permissive) · 3878579948b74212 · report
gpt_tokenize microsoft/FEA-Bench/feabench/prediction/tokenizer_online.py found in paper text by Syntology unverified MIT (permissive) · dd9b2adb8a5ef900 · report
is_test_file microsoft/FEA-Bench/feabench/collect/utils.py found in paper text by Syntology unverified MIT (permissive) · cbd300cf44ebcf38 · report
parse_hunk_header microsoft/FEA-Bench/feabench/prediction/patch_process.py found in paper text by Syntology unverified MIT (permissive) · 050d848429c3c4b5 · report
parse_model_args microsoft/FEA-Bench/feabench/run_prediction.py found in paper text by Syntology unverified MIT (permissive) · 266a34e05903a0dd · report
process_datum_openai microsoft/FEA-Bench/feabench/prediction/prediction_openai.py found in paper text by Syntology unverified MIT (permissive) · 85ea28b3cf26e6e6 · report
remove_comments_and_whitespace microsoft/FEA-Bench/feabench/get_dataset.py found in paper text by Syntology unverified MIT (permissive) · 744a9f4f56892e94 · report
run_command microsoft/FEA-Bench/feabench/get_dataset.py found in paper text by Syntology unverified MIT (permissive) · ae38c85f79ffb235 · report

Tasks

Code CompletionCode Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections