Compact Documentation for Coding Agents: A Benchmark, an Optimizer, and Why It Does Not Transfer

Md Shohel Arman, Igor Molybog
9/25/2026
cs.SEcs.AIcs.CL
benchmark-dataset

No confident code implementation found for this paper.

Abstract

We investigate whether natural-language documentation helps coding agents resolve software issues, and we build the tools to construct and evaluate it. We introduce a roundtrip benchmark that scores code descriptions by whether code regenerated from them passes the original tests, and show that completeness, not length, drives a description's fidelity.

Show full abstract

Using the benchmark as an optimization signal, we discover a description-writing prompt that reaches full fidelity and generalizes to unseen files. We then test the hypothesis that motivated the work: that better documentation helps an agent resolve real repository issues. Across two model families and ten repositories, and against a positive control confirming that our evaluation can detect a genuine improvement, we find that it does not. When the source is present, neither static compact documentation nor retrieved context beats the issue alone. We report this negative result together with the benchmark and the optimizer, and we characterize the boundary at which documentation helps.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{arman2026compact,
  title  = {Compact Documentation for Coding Agents: A Benchmark, an Optimizer, and Why It Does Not Transfer},
  author = {Md Shohel Arman and Igor Molybog},
  year   = {2026},
  eprint = {2609.31587},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.31587v1}
}

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/2609.31587.svg)](https://codeofpaper.com/paper/2609.31587)

Discussion