paper-with-me

Papers

Evaluating Repository-level Software Documentation via Question Answering and Feature-Driven Development

2026-04-08 · Xinchen Wang, Ruida Hu, Cuiyun Gao, Pengfei Gao, Chao Peng arxiv

Software documentation is crucial for repository comprehension. While Large Language Models (LLMs) advance documentation generation from code snippets to entire repositories, existing benchmarks have two key limitations: (1) they lack a holistic, repository-level assessment, and (2) they rely on unreliable evaluation strategies, such as LLM-as-a-judge, which suffers from vague criteria and limited repository-level knowledge. To address these issues, we introduce SWD-Bench, a novel benchmark for evaluating repository-level software documentation. Inspired by documentation-driven development, our strategy evaluates documentation quality by assessing an LLM's ability to understand and implement functionalities using the documentation, rather than by directly scoring it. This is measured through function-driven Question Answering (QA) tasks. SWD-Bench comprises three interconnected QA tasks: (1) Functionality Detection, to determine if a functionality is described; (2) Functionality Localization, to evaluate the accuracy of locating related files; and (3) Functionality Completion, to measure the comprehensiveness of implementation details. We construct the benchmark, containing 4,170 entries, by mining high-quality Pull Requests and enriching them with repository-level context. Experiments reveal limitations in current documentation generation methods and show that source code provides complementary value. Notably, documentation from the best-performing method improves the issue-solving rate of SWE-Agent by 20.00%, which demonstrates the practical value of high-quality documentation in supporting documentation-driven development.

📄 PDF Abstract BibTeX arXiv:2604.06793

Code (0)

등록된 구현이 없습니다.

Tasks

Question Answering

Similar Papers 제목 키워드 기반

Code-QA-Bench: Separating Code Reasoning from Documentation Memorization in Repository-Level QA

2026-05-28 · Jun Zhang, JianYing Qu, Hanwen Du, Zhongkai Sun 외 arxiv

We present Code-QA-Bench, a fully automated framework for synthesizing repository-level code understanding benchmarks that separates genuine code comprehension from documentation recall and pretraining memorization. The …

CIAO - Code In Architecture Out - Automated Software Architecture Documentation with Large Language Models

2026-04-09 · Marco De Luca, Tiziano Santilli, Domenico Amalfitano, Anna Rita Fasolino 외 arxiv

Software architecture documentation is essential for system comprehension, yet it is often unavailable or incomplete. While recent LLM-based techniques can generate documentation from code, they typically address local a…

RepoAgent: An LLM-Powered Open-Source Framework for Repository-level Code Documentation Generation

2024-02-26 · Qinyu Luo, Yining Ye, Shihao Liang, Zhong Zhang 외

Generative models have demonstrated considerable potential in software engineering, particularly in tasks such as code generation and debugging. However, their utilization in the domain of code documentation generation r…

Code Documentation GenerationCode GenerationLanguage ModelingLanguage Modelling+1

Remember Your Trace: Memory-Guided Long-Horizon Agentic Framework for Consistent and Hierarchical Repository-Level Code Documentation

2026-05-14 · Suyoung Bae, Jaehoon Lee, Changkyu Choi, YunSeok Choi 외 arxiv

Automated code documentation is essential for modern software development, providing the contextual grounding that both human developers and coding agents rely on to navigate large codebases. Existing repository-level ap…

ReCUBE: Evaluating Repository-Level Context Utilization in Code Generation

2026-03-26 · Jiseung Hong, Benjamin G. Ascoli, Jinho D. Choi arxiv

Large Language Models (LLMs) have recently emerged as capable coding assistants that operate over large codebases through either agentic exploration or full-context generation. Existing benchmarks capture a broad range o…

Code Generation