Doc2Feat-Bench: Evaluating Documentation-Driven Feature Addition
Open Access
- 7 October 2026
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 2447-2459
Abstract
Documentation changes in mature software projects often describe newly introduced or modified behavior. This makes them a natural basis for documentation-driven feature addition, where software engineering agents implement features from public-facing documentation updates. However, existing benchmarks for agentic software development primarily rely on issue reports written for maintainer coordination and often contain implementation-level details. Motivated by this observation, this work introduces Doc2Feat-bench, a benchmark for documentation-driven feature addition. Doc2Feat-bench consists of 634 tasks across 10 mature open-source software projects, involving about 114k code changes in total. Each task pairs a documentation change with the corresponding implementation and developer-written tests, enabling evaluation of whether a software engineering agent can implement the feature described by the documentation diff. The benchmark is constructed through a five-phase pipeline, starting from release notes, and offers broad coverage across libraries, developer tools, and frameworks while preserving real-world development settings. To facilitate lightweight and reliable evaluation under limited resources, we further curate a human-validated subset named Doc2Feat-bench Verified. It contains 114 high-quality instances whose task clarity and evaluation validity are manually verified. We use Doc2Feat-bench to assess a range of state-of-the-art software engineering agents with two widely used scaffolds. Experimental results show that despite significant token consumption, the best task success rate remains as low as 37.72% (OpenHands with Qwen3-Coder-480B). Our analysis reveals that software engineering agents face key challenges in performing cross-file edits, understanding existing code modules, and correctly interpreting documentation semantics.Keywords
Funding Information
- National Natural Science Foundation of China (92582107)
- Zhejiang Provincial Natural Science Foundation of China (LZ25F020003)
- German Research Foundation (492507603)
- German Research Foundation (516334526)
- German Research Foundation (526259073)
This publication has 19 references indexed in Scilit:
- Issue Localization via LLM-Driven Iterative Code Graph Searching2025
- Evaluating Agent-Based Program Repair at Google2025
- An Empirical Study of Release Note Production and Usage in PracticeIEEE Transactions on Software Engineering, 2020
- The significance of bug report elementsEmpirical Software Engineering, 2020
- A Study of Bug Management Using the Stack Exchange Question and Answering PlatformIEEE Transactions on Software Engineering, 2020
- Assessing the quality of the steps to reproduce in bug reports2019
- Software Documentation Issues Unveiled2019
- Got issues? Who cares about it? A large scale investigation of issue trackers from GitHub2013
- What do large commits tell us?2008
- Frequently forgotten fundamental facts about software engineeringIEEE Software, 2001