# Thinking Longer, Not Larger: Enhancing Software Engineering Agents via Scaling Test-Time Compute

- **ID:** 460
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2503.23803
- **Authors:** Yingwei Ma, Yongbin Li, Yihong Dong, Xue Jiang, Rongyu Cao, Jue Chen, Fei Huang, Binhua Li
- **Venue:** arXiv / Tongyi Lab, Alibaba
- **Published:** 2025
- **Source:** arxiv
- **Language:** en
- **Access:** free
- **License:** arXiv perpetual non-exclusive license 1.0
- **License family:** Other (auto-classified)
- **Tags:** swe-bench, test-time-compute, swe-reasoner, qwen2.5-coder, tongyi, long-cot, prm, agent
- **Topics:** software engineering agents, test-time compute
- **Added:** 2026-08-14
- **Verified:** 2026-08-14
- **Research status:** done
- **Needs deep evaluation:** no
- **Page:** https://papers.projxon.ai/entries/460

## Summary

Unified TTC for SWE agents: internal TTC (development-contextualized long-CoT trajectories bootstrapped with DeepSeek R1 from GitHub issues, then rejection-sampled) plus external TTC (PRM-guided search at repository understanding, fault localization, and patch generation, with execution verification and a DPO ORM). On SWE-bench Verified, Qwen2.5-Coder-32B SWE-Reasoner reports 37.6% with internal TTC and 46% at external budget 8, matching Claude 3.5 Sonnet v2 and beating o1/DeepSeek-R1 in the paper's 2025 comparison. Code https://github.com/yingweima2022/SWE-Reasoner.

## Attributes

- **Purpose:** Make personally deployable open-source SWE agents competitive by scaling inference-time compute instead of model size
- **Scale:** Trajectory synthesis 9,000 issues from 300 repos (>1000 stars, SWE-bench-excluded); eval SWE-bench Verified 500 issues; Qwen2.5-Coder 32B; external TTC budget 8
- **Used for:** Unknown
- **Time period:** 2025-03-31 (arXiv 2503.23803 v1); last revised 2025-04-08 (v2)
- **Author type:** human

## From the source (fetched 2026-10-03)

- **Published:** Mar 31, 2025 (arXiv)
- **Last revised:** Apr 8, 2025 (arXiv)
- **arXiv categories:** cs.SE, cs.AI (arXiv)
- **Citations:** 26 (2 influential) (Semantic Scholar)
- **References:** 56 (Semantic Scholar)
- **Published in:** International Conference on Automated Software Engineering (Semantic Scholar)

## Abstract

Recent advancements in software engineering agents have demonstrated promising capabilities in automating program improvements. However, their reliance on closed-source or resource-intensive models introduces significant deployment challenges in private environments, prompting a critical question: \textit{How can personally deployable open-source LLMs achieve comparable code reasoning performance?} To this end, we propose a unified Test-Time Compute scaling framework that leverages increased inference-time computation instead of larger models. Our framework incorporates two complementary strategies: internal TTC and external TTC. Internally, we introduce a \textit{development-contextualized trajectory synthesis} method leveraging real-world software repositories to bootstrap multi-stage reasoning processes, such as fault localization and patch generation. We further enhance trajectory quality through rejection sampling, rigorously evaluating trajectories along accuracy and complexity. Externally, we propose a novel \textit{development-process-based search} strategy guided by reward models and execution verification. This approach enables targeted computational allocation at critical development decision points, overcoming limitations of existing "end-point only" verification methods. Evaluations on SWE-bench Verified demonstrate our \textbf{32B model achieves a 46\% issue resolution rate}, surpassing significantly larger models such as DeepSeek R1 671B and OpenAI o1. Additionally, we provide the empirical validation of the test-time scaling phenomenon within SWE agents, revealing that \textbf{models dynamically allocate more tokens to increasingly challenging problems}, effectively enhancing reasoning capabilities. We publicly release all training data, models, and code to facilitate future research. https://github.com/yingweima2022/SWE-Reasoner

## Research notes

- Primary: arxiv abs (default nonexclusive-distrib 1.0, cs.SE/AI). Tongyi Lab Alibaba; corresponding Yongbin Li (mayingwei.myw@alibaba-inc.com). Dong and Jiang interned from Peking University. Code https://github.com/yingweima2022/SWE-Reasoner (25 stars at check). Paper claims public release of training data/models; an Apr 2025 HF issue still asked for Hub checkpoints. 46% SOTA claim is the authors' 2025 comparison. HTML still has leftover ACM template (Woodstock 2018). Discord posted abs link.

## Similar entries

- [Mid-Harness: Scaling Actions Between Model and Harness for Terminal Agents](https://papers.projxon.ai/entries/1229) (paper, #1229)
- [The Illusion of Diminishing Returns: Measuring Long Horizon Execution in LLMs](https://papers.projxon.ai/entries/546) (paper, #546)
- [Anchor: Augmented Cross-Layer Recurrent State for Long-Context Retrieval in Test-Time Training](https://papers.projxon.ai/entries/1519) (paper, #1519)
- [How I got the highest score on ARC-AGI again swapping Python for English](https://papers.projxon.ai/entries/613) (other, #613)
- [Reasoning Models Can Be Effective Without Thinking](https://papers.projxon.ai/entries/551) (paper, #551)
- [daVinci-Env: Open SWE Environment Synthesis at Scale](https://papers.projxon.ai/entries/1126) (paper, #1126)
