SWE-bench: Can Language Models Resolve Real-World GitHub Issues?

AI-generated keywords: Language models Evaluation SWE-bench Software engineering Reproducibility

AI-generated Key Points

  • Language models have advanced rapidly, making it challenging to evaluate them effectively.
  • Exploring the capabilities of language models is crucial for further development.
  • Real-world software engineering provides a rich testbed for assessing next-generation language models.
  • SWE-bench is an evaluation framework with 2,294 software engineering problems from real GitHub issues and pull requests in Python repositories.
  • Language models in SWE-bench edit codebases to address specific issues, requiring complex reasoning and interaction with execution environments.
  • Even state-of-the-art models like Claude 2 and GPT-4 achieve low success rates on SWE-bench tasks.
  • Progress on SWE-bench indicates advancements towards more practical and intelligent language models for software engineering tasks.
  • The reproducibility statement emphasizes thorough documentation for transparency and future reference.
  • The plan to release SWE-bench as an open-source repository aligns with ethical considerations for accessibility and reproducibility in research.
  • Related work highlights various approaches in evaluating language models but points out limitations in focusing narrowly on individual tasks or domains.
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, Karthik Narasimhan

Data, code, and leaderboard are available at https://www.swebench.com
License: CC BY 4.0

Abstract: Language models have outpaced our ability to evaluate them effectively, but for their future development it is essential to study the frontier of their capabilities. We consider real-world software engineering to be a rich, sustainable, and challenging testbed for evaluating the next generation of language models. We therefore introduce SWE-bench, an evaluation framework including $2,294$ software engineering problems drawn from real GitHub issues and corresponding pull requests across $12$ popular Python repositories. Given a codebase along with a description of an issue to be resolved, a language model is tasked with editing the codebase to address the issue. Resolving issues in SWE-bench frequently requires understanding and coordinating changes across multiple functions, classes, and even files simultaneously, calling for models to interact with execution environments, process extremely long contexts and perform complex reasoning that goes far beyond traditional code generation. Our evaluations show that both state-of-the-art proprietary models and our fine-tuned model SWE-Llama can resolve only the simplest issues. Claude 2 and GPT-4 solve a mere $4.8$% and $1.7$% of instances respectively, even when provided with an oracle retriever. Advances on SWE-bench represent steps towards LMs that are more practical, intelligent, and autonomous.

Submitted to arXiv on 10 Oct. 2023

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2310.06770v1

Language models have advanced at a rapid pace, surpassing our ability to effectively evaluate them. To further develop these models, it is crucial to explore the frontier of their capabilities. Real-world software engineering provides a rich and challenging testbed for assessing the next generation of language models. Introducing SWE-bench, an evaluation framework comprising 2,294 software engineering problems sourced from real GitHub issues and pull requests across 12 popular Python repositories. In this framework, a language model is tasked with editing codebases to address specific issues, often requiring understanding and coordinating changes across multiple functions, classes, and files simultaneously. This demands interaction with execution environments, processing of extensive contexts, and complex reasoning beyond traditional code generation. Evaluation results reveal that even state-of-the-art proprietary models and the fine-tuned SWE-Llama can only resolve simple issues. Claude 2 and GPT-4 achieve success rates of only 4.8% and 1.7%, respectively, even when provided with an oracle retriever. Progress on SWE-bench signifies advancements towards more practical, intelligent, and autonomous language models in software engineering tasks. In addition to the main findings discussed above,<nl>the reproducibility statement emphasizes the thorough documentation provided alongside the source code submission for transparency and future reference.</nl> The plan to release SWE-bench as an open-source repository aligns with ethical considerations for increased accessibility and reproducibility in research endeavors. Furthermore,<nl>related work in evaluating language models highlights various approaches taken by recent studies but points out limitations in focusing narrowly on individual tasks or domains.</nl> A qualitative analysis of generations from SWE-Llama sheds light on the quality of task resolutions under an "oracle" retrieval setting through detailed examples and analyses presented in accompanying sections.
Created on 14 Aug. 2024

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.