The Alternatives Issue For tool owners Sign in

SWE-bench

SWE-bench is the standard benchmark for autonomous coding agents — real GitHub issues from popular Python repos paired with the actual fix commit; the agent must produce a patch that passes the hidden test suite.

In more detail

What it means

SWE-bench was introduced in 2023 (Princeton) and quickly became the SWE agent leaderboard. Each task: an issue from a real OSS repo, repository state at the time, hidden test suite. The agent gets the issue + repo, must produce a diff that makes the hidden tests pass. Variants: SWE-bench Lite (filtered for solvable), SWE-bench Verified (human-vetted), SWE-bench Multilingual. As of 2026 top scores cluster around 60-70% on Verified; humans hit ~95%. Production caveat: SWE-bench performance is necessary but not sufficient — agents that score high can still flop on real-world tickets due to dependency setup, multi-repo context, or ambiguous specs.

Part 1 of 2

When to use it, and when not

Use it for

  • Comparing autonomous coding agents.
  • Tracking progress over time.

Part 2 of 2

Common mistakes

  • Reading SWE-bench scores as production capability — real tickets are harder.

FAQ

Questions readers ask.

What is swe-bench?

SWE-bench is the standard benchmark for autonomous coding agents — real GitHub issues from popular Python repos paired with the actual fix commit; the agent must produce a patch that passes the hidden test suite.

When should you use swe-bench?

Comparing autonomous coding agents. Tracking progress over time.

What are the common mistakes with swe-bench?

Reading SWE-bench scores as production capability — real tickets are harder.

Last updated: 2026-06-01. Raw markdown: https://promtable.com/glossary/swe-bench.md. Found a mistake? Tell us.