AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Papers / LLMs

    SWE-bench (2023)

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

    Turned 2,294 real GitHub issues into tasks where a model must patch the repository so that the project's own tests pass.

    Why it matters

    It moved coding evaluation from self-contained puzzles to real repositories, and its near-zero scores invited the agent systems that followed. Its human-checked subset, SWE-bench Verified (2024), became the headline number for coding agents, and the same recipe was reused for more languages and harder sets.

    First page of “SWE-bench: Can Language Models Resolve Real-World GitHub Issues?”

    The first page, as published. Read the full paper, with summaries and discussion, on alphaxiv.org.

    Year
    2023
    Authors
    Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, Karthik Narasimhan
    Venue
    ICLR 2024
    Data
    SWE-bench

    The idea

    Take merged pull requests from 12 popular Python projects that close an issue and add tests. Keep those whose tests fail before the fix and pass after it, and that install and run cleanly. The model sees the issue text and the whole repository at the commit before the fix, writes a patch, and is graded by the hidden tests, which must start passing while the old ones keep passing.

    The result

    Given files picked by BM25 retrieval, the best model, Claude 2, resolved 1.96% of issues; GPT-4 resolved 1.3%. Even when handed exactly the files the real fix edited, Claude 2 reached only 4.8%. Longer contexts made models worse at finding what to change, and their patches were less than half the length of the developers'.

    The data

    SWE-bench

    2023

    2,294 GitHub issues from 12 Python projects; a fix counts only if the project's tests pass. (same year)

    django__django-16002 "NaN" can be stored in DecimalField but cannot be retrieved Description (last modified by Xabier Bello) Same a…

    Builds on

    • Codex (2021): A GPT model fine-tuned on GitHub code, and HumanEval, the benchmark that grades generated programs by running their unit tests.

    Led to

    • Agentless (2024): A fixed three-step pipeline, with no agent deciding what to do next, that fixed more GitHub issues than open-source agents at a fraction of the cost.
    • SWE-agent (2024): An agent that fixes GitHub issues by navigating, editing and testing a repository through commands designed for language models rather than people.
    • SWE-bench Pro (2025): A harder SWE-bench built from copyleft and private codebases, with multi-file changes that take a professional hours or days.
    • Terminal-Bench (2026): Hard, expert-written tasks that an agent must finish inside a real terminal, graded by testing the state it leaves behind.