TL;DR
This paper provides the first comprehensive survey of LLM-based issue resolution, mapping out how autonomous coding agents navigate complex, multi-file repositories to fix real-world software bugs. By establishing a structured taxonomy across data pipelines, training-free agent frameworks, and training-based methods, the authors highlight the shift from simple code generation to full-scale software maintenance while identifying critical frontiers like agent behavioral pathologies and data quality.
What Problem Does This Paper Address?
Traditional AI coding benchmarks focused primarily on isolated, function-level code generation (such as writing a single Python function in HumanEval). However, real-world software engineering is vastly more complex. It requires developers to understand entire codebases, reproduce bugs, navigate multi-file dependencies, interact with dynamic development environments, and validate changes using test suites.
The introduction of benchmarks like SWE-bench shifted the research frontier toward issue resolution—the task of taking a raw, natural-language issue description from GitHub and automatically synthesizing a valid code patch. Because this field has exploded with fragmented approaches over the last couple of years, this paper provides a unifying taxonomy to organize data construction, agent architectures, and evaluation methodologies.
Methods
The paper categorizes issue resolution methodologies into two main paradigms:
- Training-free Methods: These rely on prompting and external scaffolding around frozen, off-the-shelf LLMs. They are structured into:
- Frameworks: High-level architectures that dictate agent interaction, spanning single-agent setups (like SWE-agent), multi-agent teams (like MAGIS), and rigid, linear workflows (like Agentless).
- Tool Modules: Specialized tools that agents invoke to perform specific software engineering tasks, such as bug reproduction, fault localization (e.g., SBFL), codebase search, patch generation, and patch validation.
- Memory Modules: Mechanisms to store historical interaction context or abstract high-level policies from successful and failed attempts.
- Inference-time Scaling: Search and parallelization strategies (like Monte Carlo Tree Search) that explore multiple solution paths without changing model weights.
- Training-based Methods: These fine-tune models specifically for repository-level engineering using two main approaches:
- Supervised Fine-Tuning (SFT): Grounding models using massive data scaling, curriculum learning (phased training from broad trajectories to specialized tasks), and rejection sampling.
- Reinforcement Learning (RL): Optimizing multi-turn agent behaviors using algorithms like GRPO or PPO combined with environmental feedback.
Datasets
The survey tracks the evolution of datasets across two primary categories:
- Evaluation Datasets: Moving beyond the initial Python-centric SWE-bench and its manually validated subset SWE-bench Verified, the field has expanded to Multi-PL (multilingual) benchmarks (e.g., Multi-SWE-bench, SWE-PolyBench) and Multimodal benchmarks that incorporate visual data like UI screenshots and diagrams (e.g., OmniGIRL, Visual SWE-bench).
- Training Datasets: These include static textual issue-PR pairs, interactive Training Environments (like R2E-Gym and SWE-Gym) that provide execution feedback, and Trajectory Datasets that record step-by-step tool invocations and feedback loops.
Key Insights and Ideas
- The Shift to Process-Oriented Rewards: In RL training, relying solely on sparse outcome rewards (e.g., a binary test pass/fail signal at the very end) makes credit assignment difficult across complex multi-turn actions. The cutting edge is moving toward dense, process-oriented rewards that incentivize good intermediate behaviors like effective context management and trajectory search.
- Agent Behavioral Pathologies: Simply giving agents more autonomy or longer context windows can backfire. Researchers have identified "analysis paralysis" and "rogue actions," where agents enter loops of prolonged internal deliberation instead of executing necessary environmental interactions.
- Data Contamination and Benchmark Inflation: A significant portion of agent performance gains on early benchmarks may be driven by solution leakage or models memorizing code from training data cutoffs, highlighting the urgent need for live, dynamic benchmarks (like SWE-bench-Live).
- Rigid Workflows vs. Full Autonomy: While single-agent autonomous frameworks pioneered the field, completely unconstrained autonomy is often too expensive and error-prone. Combining flexible agent reasoning with rigid, linear pipeline constraints (localization $\rightarrow$ repair $\rightarrow$ validation) currently yields more stable and cost-effective results.
Key Results
- Foundation Models: State-of-the-art closed foundation models (such as MiMo-V2-Flash and KAT-Coder) achieve resolved rates around 73.4% on issue resolution benchmarks when paired with advanced inference scaffolds like Agentless or Claude Code.
- Specialized Models: Smaller, specialized models (7B to 32B parameters) optimized via SFT or RL can achieve highly competitive performance against much larger general baselines. For example, FoldAgent-36B achieves a 58.0% resolved rate using process-based rewards, and SWE-Swiss-32B reaches 60.2%, demonstrating that domain-specific alignment can compensate for raw parameter scale.
Limitations and Future Work
- High Computational Overhead: Running concurrent sandboxed containers for online reinforcement learning or data verification requires massive storage footprints and high computational costs.
- Lack of Efficiency Metrics: Current evaluation heavily over-indexes on "resolved rate" while ignoring the massive API costs and inference times required to achieve those fixes. Future benchmarks must integrate efficiency-aware evaluation.
- Context Rot: Multi-turn, long-horizon interactions lead to bloated context windows and performance degradation. Autonomous context compression mechanisms are needed to proactively curate interaction history.
- Real-World Trust Gap: Real-world development lacks "gold tests" to verify a patch. Future agents must incorporate intrinsic validation mechanisms like automated regression testing and dependency analysis to prevent feature regression and gain human trust.
Summary updated