Pith. sign in

REVIEW 20 cited by

CodeMonkeys: Scaling Test-Time Compute for Software Engineering

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2501.14723 v2 pith:C2OBP3ZJ submitted 2025-01-24 cs.LG

CodeMonkeys: Scaling Test-Time Compute for Software Engineering

classification cs.LG
keywords computetest-timecodemonkeyseditsscalingswe-benchcandidatecodebase
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved
0 comments
read the original abstract

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.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 20 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. EvoOtter: Evolutionary Reproduction Test Generator

    cs.SE 2026-07 conditional novelty 7.0

    EvoOtter combines evolutionary programming, rule-based mutants, successive halving, and batched LLM crossover to generate high-quality fail-to-pass bug reproduction tests cheaply.

  2. Rule2DRC: Benchmarking LLM Agents for DRC Script Synthesis with Execution-Guided Test Generation

    cs.LG 2026-05 unverdicted novelty 7.0

    Rule2DRC is a benchmark for LLM agents synthesizing DRC scripts from natural language rules, paired with SplitTester that improves Best-of-N selection via execution-guided discriminative test generation.

  3. Reproduction Test Generation for Java SWE Issues

    cs.SE 2026-05 unverdicted novelty 7.0

    Presents the first benchmark and adapted solution for generating reproduction tests from Java software issues.

  4. Self-Consistency from Only Two Samples: CoT-PoT Ensembling for Efficient LLM Reasoning

    cs.CL 2026-04 unverdicted novelty 7.0

    CoT-PoT ensembling achieves self-consistency accuracy in LLMs with only two samples for 78.6% of tasks, reducing computation by 9.3x compared to standard methods.

  5. Self-Consistency from Only Two Samples: CoT-PoT Ensembling for Efficient LLM Reasoning

    cs.CL 2026-04 accept novelty 7.0

    Cross-modal agreement between chain-of-thought and program-of-thought reasoning enables self-consistency with only two LLM samples, reducing sampling cost by 9.3x while improving accuracy.

  6. Vec-LUT: Vector Table Lookup for Parallel Ultra-Low-Bit LLM Inference on Edge Devices

    cs.DC 2025-12 conditional novelty 7.0

    Vec-LUT delivers up to 4.2x speedup over prior LUT methods for parallel ultra-low-bit LLM inference on edge devices by unifying lookups across tokens and adding cache-aware tensor layouts.

  7. Investigating Test Overfitting on SWE-bench

    cs.SE 2025-11 unverdicted novelty 7.0

    The first empirical study of test overfitting shows that auto-generated tests from issues can lead to code that passes observed tests but misses important cases or breaks functionality in SWE-bench issue resolution.

  8. Verifier-free Test-Time Sampling for Vision-Language-Action Models

    cs.RO 2025-10 conditional novelty 7.0

    A verifier-free test-time sampling method for vision-language-action models that selects actions by KL divergence to a condition-masked reference distribution, improving task success rates.

  9. PhoenixRepair: Rethinking Repair Strategy Exploration in Software Agents

    cs.AI 2026-07 conditional novelty 6.0

    A multi-agent repair framework that samples multiple edit locations and iteratively reflects on patch attempts reaches 76.0% Pass@1 on SWE-bench-Verified, up to a 7.8% relative gain over SWE-agent.

  10. SwarmResearch: Orchestrating Coding Agents for Open-Ended Discovery

    cs.AI 2026-07 conditional novelty 6.0

    An orchestrator-subagent coding harness with per-agent git branches finds better or comparable solutions than SOTA evolution and multi-agent systems on 13/15 open-ended optimization tasks via higher-level exploration.

  11. PACE: A Proxy for Agentic Capability Evaluation

    cs.AI 2026-07 unverdicted novelty 6.0

    PACE builds proxy benchmarks from non-agentic instances via relevance and global selection plus regression to predict agentic scores with MAE under 4%, Spearman correlation above 0.80, and 85% ranking accuracy at unde...

  12. PACE: A Proxy for Agentic Capability Evaluation

    cs.AI 2026-07 conditional novelty 6.0

    A dual local/global selection of ~100 non-agentic instances predicts four agentic benchmarks with LOOCV MAE under 4%, Spearman above 0.80, and ~85% pairwise ranking accuracy at under 1% of full agent cost.

  13. A Single Patch Is Not Enough: Deterministic Fusion of Repair Candidates

    cs.SE 2026-07 unverdicted novelty 6.0

    PatchFusion uses deterministic atomic evidence fusion on candidate patches to outperform ranking, test-filtering, and LLM-judge selectors on SWE-bench and Defects4J pools.

  14. Reproduction Test Generation for Java SWE Issues

    cs.SE 2026-05 unverdicted novelty 6.0

    Introduces the first benchmark for Java reproduction test generation from repository issues and adapts a prior Python tool to produce high performance on it.

  15. Can Old Tests Do New Tricks for Resolving SWE Issues?

    cs.SE 2025-10 conditional novelty 6.0

    TestPrune minimizes regression test suites to improve bug reproduction and patch validation in LLM-based agentic repair pipelines, delivering 6-13% relative gains on SWE-Bench benchmarks at low API cost.

  16. CodeChemist: Functional Knowledge Transfer for Low-Resource Code Generation via Test-Time Scaling

    cs.SE 2025-10 conditional novelty 6.0

    Using Python-generated test oracles and multi-temperature sampling, CodeChemist selects low-resource-language code by execution pass rate and improves Pass@1 up to 69.5% over vanilla sampling.

  17. ShinkaEvolve: Towards Open-Ended And Sample-Efficient Program Evolution

    cs.CL 2025-09 unverdicted novelty 6.0

    ShinkaEvolve improves sample efficiency in LLM-driven program evolution via parent sampling, code novelty rejection-sampling, and bandit LLM ensemble selection, achieving new SOTA circle packing with 150 samples and g...

  18. AlgoEvolve: LLM-driven Meta-evolution of Algorithmic Trading Programs

    cs.AI 2026-06 unverdicted novelty 5.0

    An LLM-driven evolutionary framework generates executable trading strategies as Python code and uses a meta-loop to evolve the prompts that guide synthesis.

  19. Sakana Fugu Technical Report

    cs.LG 2026-06 unverdicted novelty 5.0

    Sakana Fugu trains LLM orchestrators using fine-tuning, evolutionary algorithms, and RL to build query-adaptive multi-agent scaffolds, claiming SOTA results on benchmarks including SWE-Bench Pro and GPQA-Diamond.

  20. Rethinking the Value of Agent-Generated Tests for LLM-Based Software Engineering Agents

    cs.SE 2026-02 unverdicted novelty 5.0

    Agent-generated tests mainly act as observational feedback channels and do not meaningfully improve issue resolution success in current LLM software engineering agents.