AI GLOSSARY · AI CONCEPTS
SWE-bench
Definition
SWE-bench is a benchmark for language models built from real GitHub issues and their pull requests: given a codebase and an issue description, the model must edit the code so the issue is resolved.
Also called: SWE bench, SWE-bench leaderboard, SWE-bench benchmark, software engineering benchmark SWE-bench.
In plain language
SWE-bench tests whether an AI can do a small piece of real software work. Each task is a genuine problem reported on GitHub for a well-known open-source project. The model gets the project's code and the report, and has to change the code to fix it. The fix is then checked by running the project's tests. This is closer to a developer's day than writing a short function from scratch. It is still a narrow slice: the projects are public, the tasks are bug reports and feature requests that were already closed, and doing well here does not guarantee doing well on your own codebase.
Technical definition
The SWE-bench paper (Jimenez et al., arXiv 2310.06770) describes 2,294 software engineering problems drawn from real GitHub issues and pull requests in 12 popular Python repositories. A model must edit the codebase to resolve the issue, which often requires coordinated changes across several functions, classes and files, working with execution environments and very long contexts. The project site describes a Docker-based evaluation harness and lists related datasets, including Lite, Verified and Multimodal; it describes Verified as a set of engineer-confirmed solvable problems. Scores depend on the agent scaffold around the model as well as the model.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Skill by Skill Almanac · Illustrative, not executed
llm-eval-test-sets 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- A validated eval dataset for an LLM feature, with a checker for duplicates, missing graders, imbalance and leakage.
- Why it exercises the concept
- SWE-bench is a public task set with a fixed grader. This skill builds the same kind of thing from your own cases, which is how you test an agent on your own code.
Skill by Skill Almanac · Illustrative, not executed
skill-authoring-and-evals 62/100 · grade CScored · Method v0.2 · How we score
- What you see
- A workflow that writes a SKILL.md from what a plain agent gets wrong, then proves it works with trigger and with-versus-without evals.
- Why it exercises the concept
- It applies the benchmark idea to an instruction file: the same tasks run with and without the skill, then scored.
Guide · Illustrative, not executed
Best Claude skills, ranked by measured score
- What you see
- A ranking of catalogue skills that have a recorded efficacy verdict, with an explanation of what the score and verdict mean and how far to trust them.
- Why it exercises the concept
- It shows how to read any ranked result: who ran the tests, how many, and who graded them.
How it shows up when you use agents
SWE-bench is the benchmark most often quoted for coding agents, because its task is the one agents are sold for: resolve an issue in a repository. Vendors of Claude Code, Codex, Cursor and others may cite results on it, often on one of its subsets such as Verified. This page quotes no scores; look at the leaderboard on the project site for current figures and read the notes on how each entry was run.
What breaks when this is misunderstood is the jump from a leaderboard to your own work. The tasks come from public Python projects, so they say little about your language, your build system or your conventions. The result also reflects the whole agent setup, not only the model: the prompts, tools and retry rules around it.
Next action: if you are choosing an agent, build a small set of your own closed issues, run the agent on them in a throwaway branch, and check the result with your own tests. The eval skills linked above help structure that set. For the general limits of public tests see LLM benchmark; for what surrounds the model see Agent harness.
Common confusions
- SWE-bench versus HumanEval. HumanEval asks for one short function from a docstring. SWE-bench asks for a change inside an existing repository.
- Full set versus Verified. The project site lists several datasets. Verified is a subset described there as engineer-confirmed solvable problems, so results on different subsets are not directly comparable.
- Model versus agent. A SWE-bench result describes a model inside a particular scaffold. Changing the scaffold can change the result.
- Myth. "Passing the tests means the fix is good." Tests are a proxy; a change can pass them and still be poor code.
Related terms
Show all 13 related terms
Terms that mention SWE-bench
More in AI concepts
Sources
- SWE-bench: Can Language Models Resolve Real-World GitHub Issues?, arXiv (Jimenez et al.) (accessed 2026-11-24)
- SWE-bench, SWE-bench project (accessed 2026-11-24)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.
Review record
Last verified
Drafted by claude-sonnet-5-5; sources and example targets checked by claude-haiku-5-5 source check; claude-sonnet-5-5 editor pass on 2026-11-24. Last verified .
This entry is still in review, so it is not listed in search engines yet.
Change log (1)
- : First version.