Senior SWE-bench
A benchmark for evaluating coding agents on senior-level engineering work: building features from realistic instructions, investigating bugs that require runtime investigation, and shipping code that aligns to existing codebase conventions.

Most software-engineering benchmarks evaluate AI agents like junior engineers, over-specified requirements graded against a fixed test suite. Senior SWE-Bench reframes the problem around the senior-level work deployed coding agents are actually expected to do, sourced from real pull requests across twelve open-source projects.
Headline finding: Even the top-performing frontier model still fails to complete tasks with senior-level correctness and taste over 65% of the time.
At a glance
100
tasks (50 public/ 50 private)
12
6
evaluation gates per task
15+
agents evaluated
100+
PR-author commits required
Leaderboard
|
Rank
|
Model
|
Harness
|
Effort
|
Tasteful Solve Rate
(Pass@1) |
Basic Solve Rate
(Pass@1) |
Avg Steps
|
Output Tokens
|
Output Cost
|
Total Cost
|
Rubric
|
Avg Bloat
|
Avg Practice
|
Avg Rel Taste
|
Avg Duration
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Claude Fable 5 | Mini-SWE-Agent |
34.7%
|
53.7%
|
119 | 58.4K | $2.92 | $14.30 | 0.67 | 2.1x | 3.5/5 | 2.8/5 | 54m 38s | |
| 2 | Claude Opus 5 | Mini-SWE-Agent |
34.7%
|
62.1%
|
141 | 71.0K | $1.77 | $9.28 | 0.8 | 3.7x | 3.6/5 | 2.9/5 | 46m 12s | |
| 3 | GPT-5.6 Sol | Mini-SWE-Agent |
34.7%
|
53.7%
|
50 | 32.7K | $0.98 | $3.43 | 0.64 | 1.8x | 3.5/5 | 2.8/5 | 25m 32s | |
| 4 | Claude Opus 4.8 | Mini-SWE-Agent |
30.5%
|
44.2%
|
138 | 134.2K | $3.36 | $11.98 | 0.64 | 3.2x | 3.2/5 | 2.8/5 | 52m 21s | |
| 5 | GPT-5.5 | Mini-SWE-Agent |
29.5%
|
52.6%
|
85 | 36.1K | $1.08 | $4.86 | 0.63 | 2.4x | 3.4/5 | 2.7/5 | 25m 26s | |
| 6 | Claude Sonnet 5 | Mini-SWE-Agent | max |
28%
|
50.5%
|
318 | 180.7K | $2.71 | $23.43 | 0.62 | 3.5x | 3.2/5 | 2.8/5 | 77m 53s |
| 7 | GPT-5.6 Terra | Mini-SWE-Agent |
27.4%
|
36.8%
|
36 | 18.2K | $0.27 | $0.66 | 0.59 | 1.8x | 3.4/5 | 2.8/5 | 18m 9s | |
| 8 | Grok 4.5 | Mini-SWE-Agent |
23.2%
|
50.5%
|
72 | 21.2K | $0.13 | $1.01 | 0.63 | 3.6x | 3.1/5 | 2.6/5 | 21m 47s | |
| 9 | MiniMax M3 | Mini-SWE-Agent | adaptive |
21.1%
|
41.1%
|
335 | 75.8K | $0.09 | $1.27 | 0.57 | 2.1x | 3.1/5 | 2.6/5 | 58m 49s |
| 10 | Kimi K3 | Mini-SWE-Agent | max |
20.2%
|
40.4%
|
224 | 54.8K | $0.82 | $7.02 | 0.62 | 4.0x | 3.2/5 | 2.6/5 | 83m 6s |
| 11 | Claude Opus 4.7 | Mini-SWE-Agent | max |
18.1%
|
46.8%
|
285 | 100.9K | $2.52 | $21.95 | 0.62 | 3.4x | 3.1/5 | 2.6/5 | 52m 35s |
| 12 | GLM-5.2 | Mini-SWE-Agent | max |
17.9%
|
35.8%
|
194 | 66.2K | $0.09 | $0.64 | 0.56 | 1.7x | 3.1/5 | 2.5/5 | 58m 2s |
| 13 | GPT-5.4 | Mini-SWE-Agent | xhigh |
16.8%
|
41.1%
|
86 | 53.9K | $0.81 | $3.07 | 0.62 | 4.1x | 3.3/5 | 2.7/5 | 24m 9s |
| 14 | GPT-5.6 Luna | Mini-SWE-Agent | low |
8.1%
|
20.3%
|
14 | 2.6K | $0.02 | $0.03 | 0.34 | 1.0x | 3.2/5 | 2.5/5 | 11m 42s |
| 15 | Gemini 3.5 Flash | Mini-SWE-Agent | high |
6.3%
|
22.1%
|
231 | 70.4K | $0.63 | $4.37 | 0.44 | 0.6x | 2.9/5 | 2.3/5 | 39m 16s |
| 16 | Gemini 3.1 Pro | Mini-SWE-Agent | high |
2.1%
|
9.5%
|
108 | 17.3K | $0.21 | $1.33 | 0.4 | 124.9x | 2.8/5 | 2.1/5 | 24m 35s |
| 17 | Inkling | Mini-SWE-Agent | max |
0%
|
3.2%
|
51 | 3.4K | n/a | n/a | 0.25 | 0.2x | 3.0/5 | 1.8/5 | 19m 1s |
Basic solve rate is the share of an agent's runs that pass every pre-written verifier and automated validation test. Tasteful solve rate requires all of that and clears every additional quality gate: rubric, bloat, codebase practice, and relative taste vs. an expert reference.
The top-performing frontier models
Source repositories
Twelve open-source projects sampled across libraries, tools, services, and full applications. Most Senior SWE-Bench tasks are based on PRs authored by engineers with 100 commits in the respective repository, with maintainer-authored PRs oversampled.
| Repository | Languages | Type | Description | LOC | Started | Stars |
|---|---|---|---|---|---|---|
| electric-sql/electric | Elixir, TypeScript | Service | Postgres real-time sync | 345k | 2022 | 10.2k |
| go-gitea/gitea | Go | Application | Self-hosted Git forge | 397k | 2016 | 56.3k |
| PostHog/posthog | Python, TypeScript | Application | Product analytics platform | 3.8M | 2020 | 35.1k |
| PrefectHQ/prefect | Python | Library | Workflow orchestration | 664k | 2018 | 22.6k |
| better-auth/better-auth | TypeScript | Library | Authentication framework | 289k | 2024 | 28.7k |
| gravitational/teleport | Go, TypeScript | Application | Infrastructure access platform | 2.8M | 2015 | 20.5k |
| vercel/turborepo | Rust, TypeScript | Tool | Monorepo build system | 215k | 2021 | 30.6k |
| plausible/analytics | Elixir | Application | Privacy-friendly web analytics | 228k | 2018 | 27.2k |
| firezone/firezone | Elixir, Rust | Application | Zero-trust access platform | 247k | 2020 | 8.7k |
| paperless-ngx/paperless-ngx | Python, TypeScript | Application | Document management system | 148k | 2022 | 42.2k |
| immich-app/immich | TypeScript | Application | Self-hosted photo backup | 542k | 2022 | 103.6k |
| harbor-framework/harbor | Python | Tool | Agent evaluation harness | 219k | 2025 | 2.5k |
Sample tasks
All 50 public task families across twelve open-source projects. Each task ships with a sandboxed environment, an expert-authored validation spec, and a reference solution. Tasteful Solve is the share of frontier-agent attempts that pass both the functional verifier and the taste review.
Realistic vs. over-specified instructions
For comparison, here are two bug-task instructions from real-world source PRs. Senior SWE-Bench frames bugs as natural-language behavioral reports; SWE-Bench Pro spells out full reproduction steps and expected behavior. Behavioral testing lets the realistic version stay short without sacrificing reliable grading.
549 chars
~0 code symbols
5,888 chars
~32 code symbols
Illustrative samples. Senior SWE-Bench instructions read like an issue report on Slack; verifier-driven benchmarks lean on rigid, over-specified reproduction steps. Note: instructions do not represent the same task.
Comparison to other benchmarks
Several recent benchmarks make progress on behavioral testing and instruction realism. The following table provides a brief comparison.
Benchmark
Task style and source
Instruction realism
Reward mechanisms
Open source
Senior SWE-Bench
Real-world PRs
High (natural language message)
- Verifiers (behavioral)
- Validation agent
- Task rubrics
- Taste judge
Yes
SWE-Bench Pro
Real-world PRs
Low (full specs)
- Verifiers (implementation-specific)
- Rubric
Yes
DeepSWE
Invented tasks in real repos
Mixed (some full specs)
- Verifiers (behavioral)
Yes
FrontierCode
Real-world PRs
Unknown (examples are mixed)
- Verifiers (behavioral)
- LLM-adapted verifiers
- Agent-written tests (reverse)
- Code quality judge
No
ProgramBench
Full program recreation
—
- Verifiers (behavioral)
No
Methodology
Metrics
Pass@1 on the Mini-SWE-Agent harness (Harbor-compatible). Tasteful Solve Rate requires all six gates (verifiers + validation + rubric + bloat + practice + relative taste) to pass simultaneously; Basic Solve Rate removes the taste-related gates and measures correctness only.
For feature tasks, an agent (Mini-SWE-Agent with Claude Sonnet 4.6) writes behavioral tests adapted to each submitted solution using an expert-authored recipe. Each task is calibrated by running 3× on the oracle patch and 3× on no-op, rejected if pass³ < 1 on oracle or pass³ > 0 on no-op. Wall-clock time overhead 6–20% (median 11%); token cost overhead 2–16% (median 6%). Measured on Claude Opus 4.8 trials. In practice, less than 5% of trials are discarded.
A two-judge panel (Claude Sonnet 4.6 + GPT-5.4, averaged) grades each patch against the expert reference solution along two axes: relative code quality (minimality, approach, hygiene, fluency, craftsmanship) and codebase practice alignment (style consistency, pattern adherence, library usage, abstraction level, documentation fit). Thresholds set conservatively (any score > 2/5) and calibrated against human reviewers.
QUALITY CONTROL
Every task passes three layers of review: automated LLM-based checks, research-team review for overall design and implementation quality, and SWE-expert review via the Snorkel AI expert network using an extensive rubric. Each task includes a "guided" variant whose instruction adds optional hints (useful for performance diagnosis or curriculum learning) without prescribing the solution.
Acknowledgments
Senior SWE-Bench is led by Henry Kiss Ehrenberg with contributions from Vincent Sunn Chen at Snorkel AI; Austin W. Hanjie and Karthik Narasimhan at Princeton University; and Gabriel Orlanski and Frederic Sala at the University of Wisconsin–Madison.
All tasks are created and reviewed by contributing research staff and software engineers from the Snorkel AI expert network, in concert with specialized coding and evaluation agents. The benchmark is open source and Harbor-compatible.

