paper-with-me

홈 › Papers

CodeMonkeys: Scaling Test-Time Compute for Software Engineering

2025-01-24 · Ryan Ehrlich, Bradley Brown, Jordan Juravsky, Ronald Clark, Christopher Ré, Azalia Mirhoseini

Scaling test-time compute is a promising axis for improving LLM capabilities. However, test-time compute can be scaled in a variety of ways, and effectively combining different approaches remains an active area of research. Here, we explore this problem in the context of solving real-world GitHub issues from the SWE-bench dataset. Our system, named CodeMonkeys, allows models to iteratively edit a codebase by jointly generating and running a testing script alongside their draft edit. We sample many of these multi-turn trajectories for every issue to generate a collection of candidate edits. This approach lets us scale "serial" test-time compute by increasing the number of iterations per trajectory and "parallel" test-time compute by increasing the number of trajectories per problem. With parallel scaling, we can amortize up-front costs across multiple downstream samples, allowing us to identify relevant codebase context using the simple method of letting an LLM read every file. In order to select between candidate edits, we combine voting using model-generated tests with a final multi-turn trajectory dedicated to selection. Overall, CodeMonkeys resolves 57.4% of issues from SWE-bench Verified using a budget of approximately 2300 USD. Our selection method can also be used to combine candidates from different sources. Selecting over an ensemble of edits from existing top SWE-bench Verified submissions obtains a score of 66.2% and outperforms the best member of the ensemble on its own. We fully release our code and data at https://scalingintelligence.stanford.edu/pubs/codemonkeys.

📄 PDF Abstract BibTeX arXiv:2501.14723

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

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

2025-03-31 · Yingwei Ma, Yongbin Li, Yihong Dong, Xue Jiang 외

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…

Fault localization

ScaleRTL: Scaling LLMs with Reasoning Data and Test-Time Compute for Accurate RTL Code Generation

2025-06-05 · Chenhui Deng, Yun-Da Tsai, Guan-Ting Liu, Zhongzhi Yu 외

Recent advances in large language models (LLMs) have enabled near-human performance on software coding benchmarks, but their effectiveness in RTL code generation remains limited due to the scarcity of high-quality traini…

Code Generation

SWE-Replay: Efficient Test-Time Scaling for Software Engineering Agents

2026-01-29 · Yifeng Ding, Lingming Zhang arxiv

Test-time scaling has been widely adopted to enhance the capabilities of Large Language Model (LLM) agents in software engineering (SWE) tasks. However, the standard approach of repeatedly sampling trajectories from scra…

It's Not That Simple. An Analysis of Simple Test-Time Scaling

2025-07-19 · Guojun Wu arxiv

Prior work proposed simple test-time scaling, a method for replicating this scaling behavior with models distilled from o1-like models by manually controlling test-time compute: either scaling down by enforcing a maximum…

Reinforcement Learning

ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memory

2025-09-29 · Siru Ouyang, Jun Yan, I-Hung Hsu, Yanfei Chen 외 arxiv

With the growing adoption of large language model agents in persistent real-world roles, they naturally encounter continuous streams of tasks. A key limitation, however, is their failure to learn from the accumulated int…