Reproduce “SWE-bench: Can Language Models Resolve Real-World GitHub Issues?” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, Karthik Narasimhan
SWE-bench evaluates repository-level code repair by giving models real GitHub issues and codebases, then testing generated patches against repository tests. It retains tasks whose reference fixes turn at least one failing test into a passing test. In early Python baselines, Claude 3 Opus resolves 3.79% with BM25; resolution requires all associated tests to pass, but does not establish patch quality.
Key insights
- Large Language Models (LMs) currently struggle immensely with complex, real-world software engineering tasks, achieving very low success rates even with state-of-the-art models.
- LMs exhibit a 'lost in the middle' phenomenon, where performance decreases as input context length increases, suggesting difficulty in effectively utilizing long, noisy code contexts.
- Models provided with perfect 'oracle' context (only relevant files) still demonstrate low performance, indicating limitations in reasoning and generating correct solutions beyond just context retrieval.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.