Research map / Large language models / Agents, code and math
FEA-Bench: A Benchmark for Evaluating Repository-Level Code Generation for Feature Implementation
Wei Li, Xin Zhang, Zhongxin Guo, Shaoguang Mao, Wen Luo, Guangyue Peng, Yangyu Huang, Houfeng Wang, Scarlett Li
Peking University · Microsoft Research Asia
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Generate edits as patches instead of natural before/after snippets (ablation) | GPT-4o · FEA-Bench, Oracle, Detailed | resolved ratio (%): 6.14 -> 1.86 | Hurt |
| Generate edits as patches instead of natural before/after snippets (ablation) | GPT-4 · FEA-Bench, Oracle, Detailed | resolved ratio (%): 4.71 -> 3.07 | Hurt |
| Generate edits as patches instead of natural snippets (apply rate) (ablation) | GPT-4o · FEA-Bench, Oracle, Detailed | edit apply rate (%): 66.38 -> 19.49 | Hurt |
| Increase BM25 prompt limit from 27K to 40K tokens (ablation) | GPT-4o · FEA-Bench, BM25, Detailed | resolved ratio (%): 5.28 -> 4.78 | Hurt |
| Increase BM25 prompt limit from 27K to 40K tokens (ablation) | GPT-4 · FEA-Bench, BM25, Detailed | resolved ratio (%): 3.14 -> 3.14 | No clear effect |
| Use Oracle retrieval instead of BM25 (27K) (ablation) | GPT-4 · FEA-Bench, Detailed | resolved ratio (%): 3.14 -> 4.71 | Improved |
| Use Detailed instead of Brief new-component hints (ablation) | DeepSeek-R1 · FEA-Bench, Oracle | resolved ratio (%): 8.35 -> 9.92 | Improved |
| Use Detailed instead of Brief new-component hints (ablation) | DeepSeek-R1 · FEA-Bench lite, Oracle | resolved ratio (%): 14.5 -> 14.5 | No clear effect |
| Use Detailed instead of Brief new-component hints (ablation) | Qwen2.5-Coder 32B · FEA-Bench lite, Oracle | resolved ratio (%): 5.5 -> 6.0 | Improved |
| Use Agentless instead of BM25 (27K) retrieval | o1 · FEA-Bench lite | resolved ratio (%): 5.0 -> 14.0 | Improved |
| Use Agentless instead of Oracle context | o1 · FEA-Bench lite | resolved ratio (%): 10.0 -> 14.0 | No clear effect |
| Increase number of added functions in the task | DeepSeek-R1 · FEA-Bench | resolved ratio (%): 18.96 (1 function) -> 8.24 (2) -> 5.47 (>=3) | Hurt |
Open problems this paper states
- “Benchmark includes only Python repositories.” → Tested on Python or a few languages, so other languages are untested. (an open problem in code generation benchmarks)
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- Turning the Tide: Repository-based Code Reflection (EMNLP 2025 · similarity 0.90)
- RepoBench: Benchmarking Repository-Level Code Auto-Completion Systems (ICLR 2024 · similarity 0.88)
- Code Graph Model (CGM): A Graph-Integrated Large Language Model for Repository-Level Software Engineering Tasks (NeurIPS 2025 · similarity 0.87)
- CoRe: Benchmarking LLMs’ Code Reasoning Capabilities through Static Analysis Tasks (NeurIPS 2025 · similarity 0.87)
- SWE-fficiency: Can Language Models Optimize Real-World Repositories on Real Workloads? (ICML 2026 · similarity 0.87)
- SWE-bench: Can Language Models Resolve Real-world Github Issues? (ICLR 2024 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.