Skip to main content
Evaluation & ObservabilityProduction

SWE-bench

SWE-bench / SWE-bench

A software-engineering benchmark and evaluation harness built from real GitHub issues and their pull requests, testing whether a model can produce a patch that passes the tests.

6.2k stars 1066 forks Python Language MIT License Last push 2026-09-18

Why choose it

  • Tasks come from real repositories and issues.
  • Passing tests is the success criterion, not a judge model.
  • A standard baseline for coding agents.

Not for

You need a quick smoke test for a chat model.
You cannot run repository test suites in isolation.
Repository mirrors and evaluation environments take disk; the first run is not cheap.

Minimum setup

  1. Run one repository’s test suite on the base commit.
  2. Evaluate one agent patch and inspect the failure logs.
  3. Record the harness version, test command and environment.

Dependencies and cost

Check runtime, model weights and external service dependencies in the README.

License and usage boundaries

Code is MIT; model weights, training data and generated content may have separate terms — check each before commercial use.

Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.

Alternatives and neighbors

  • LM Evaluation Harness — Production,A standard LLM evaluation harness covering hundreds of tasks, few-shot settings, log-likelihood and generative metrics, with HF, vLLM and API backends.
  • Inspect AI — Niche,An evaluation framework from the UK AI Safety Institute for rigorous, reproducible task evaluation.
  • Ragas — Start here,A RAG evaluation library covering retrieval relevance, answer faithfulness and context recall.

Next steps

  • Open GitHub and read the README, LICENSE, latest release and issues first.
  • Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
  • Run a small sample first, then decide on production; never start with production data.

GitHub repository ↗ Docs ↗ Add to compare

Snapshot: stars / forks / language / license / pushed_at come from the GitHub API snapshot on 2026-11-20; later changes are not written back. Tags and “fit / not fit” are editorial judgments, not GitHub metadata.
No endorsement: this site only indexes and flags risks; it does not audit code, guarantee security or make license decisions for you. Review repository scripts and model weights yourself.