Writing Bug Reports for Software Repair Agents: What Information Matters Most?

📅 2026-07-10
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This study addresses the unclear dependency of existing AI-based program repair agents on bug reports. It presents the first systematic quantification of how different types of information in real-world bug reports influence the repair success rates of multiple large language model (LLM) agents—specifically GPT-5-mini, MiniMax M2.5, and Gemini 3 Flash. Through manual annotation, binomial logistic regression modeling, and ablation experiments, the work demonstrates that localization cues and suggested fixes significantly enhance repair performance, whereas reproduction steps—traditionally emphasized for human developers—contribute minimally. These findings reveal a critical divergence between the informational needs of AI repair agents and those of human developers, offering empirical guidance for crafting bug reports optimized for AI-driven repair systems.
📝 Abstract
Software development is increasingly moving toward agentic-first workflows. This includes AI agents responsible for generating initial fixes for submitted issue reports. In this setting, issue reports are no longer merely documentation for human maintainers; they become the primary task specification for the agent. However, little is known about how such reports should be written to maximize the agent's chances of producing a correct fix. We study what makes a bug report agent-ready. Starting from the SWE-bench Verified benchmark (i.e., a collection of 500 real repository issues with human-written gold patches and test suites for evaluating generated fixes) we manually classify each issue by change type (e.g., bug fix vs refactoring) and annotate each sentence with its information type, such as observed behavior, expected behavior, reproduction steps, localization cues, and suggested fixes. We focus on the 441 issues representing bug reports, and we run on them mini-swe-agent using three LLM backbones (i.e., GPT-5-mini, MiniMax M2.5, and Gemini 3 Flash). We then fit a binomial regression model to estimate the incremental association between each information type and agent success, controlling for confounding factors. Our results suggest that agentic-first reports benefit most from information that narrows the agent's search and repair space. Localization cues, such as references to affected code areas, are positively associated with successful repairs, while suggested fixes, expressed either in code or natural language, show some of the strongest positive associations with pass probability. An ablation study removing selected information types confirms that agents benefit less from information traditionally useful to humans, such as reproduction steps, and more from sentences that expose a repair direction, either through bug localization or a suggested fix.
Problem

Research questions and friction points this paper is trying to address.

bug reports
software repair agents
agent-ready
information types
repair success
Innovation

Methods, ideas, or system contributions that make the work stand out.

agent-ready bug reports
software repair agents
localization cues
suggested fixes
information type annotation
🔎 Similar Papers
No similar papers found.