Real-SWE: Benchmarking AI models on private, real-world, enterprise codebases
TL;DR Highlight
On 25 private enterprise tasks, 17 models were tested and the best resolved only 56.8%.
Who Should Read
A backend developer choosing models and harnesses for coding agents to adopt on an in-house codebase
Core Mechanics
- 17 models tested on private real-world code
- 25 tasks come from licensed production codebases of real companies.
- The codebases span TypeScript, Go, Python, Ruby and Java.
- Even the top model, Opus 5.5, resolves 56.80%
- Sonnet 5.5 is second at 51.20% and GPT 6.1 Sol third at 47.20%.
- The rate is pass@1 averaged over five runs per task, at the highest effort possible for each model.
- Unverified assumptions are the top failure
- Across all models, unverified assumptions account for 33.1% of failures and missed requirements for 29.4%.
- For GPT 6 Astra it is 55.1% of failures, and for GPT 6.1 Sol 53.0%.
- Cost varies widely
- Estimated cost per rollout ranges from $0.08 (GPT 6 Luna) to $14.24 (Fable 5.1).
- GPT 6.1 Sol hits 47.20% at $0.79, while Opus 5.5 hits 56.80% at $13.95.
- Tasks are short instructions with many-file changes
- The median instruction is 1,208 characters, shorter than DeepSWE's 1,975.
- Reference solutions edit 10.2 files on average versus 6 for FrontierCode and DeepSWE.
- Each model ran in its native harness
- Claude models used Claude Code, GPT models Codex CLI, and Gemini 4 Argon Antigravity CLI.
- DeepSeek V4.1 Flash, Hy4, Inkling, Seed and Nemotron used mini-swe-agent.
Community Reactions
- Commenter built the same kind of bench on own repos
- They cut git history just before a change, gave the ticket as the prompt, and graded against the accepted PR.
- Finding good examples took the most time.
- Commenter paired Fable with Sol as advisor
- Fable throws out unchecked assumptions and Sol verifies them and alerts Fable.
- Reversing the roles made Fable just say it sounds good.
- Opinion that private codebases may not be private
- A commenter suspects many large private codebases have already been exposed via Claude Code and Codex.
- Another reported measuring contamination every time when running a different bench.
- Pushback that task specs may be weak
- Without a human baseline, it is hard to separate model skill from task quality.
- The commenter reads about 60% failures from bad assumptions and missed requirements as underspecified tasks.
How to Apply
- Run a mini benchmark on one recent merged PR
- Check out the PR's parent commit and give the agent the original ticket as the prompt.
- Compare the result with the real PR and mark where it guessed.
- Add an assumption-check step to your prompt
- Make the agent list assumptions to verify and cite file locations before implementing.
- Pin this in the system prompt since unverified assumptions are the top failure.
- Compare resolution rate and cost together when picking a model
- Run the same tasks on a cheap and a top model and put both in a table.
- Start with the cheap model in a review role.
- Label failure types in your internal task set
- Classify failed runs as unverified assumption, missed requirement, wrong file and so on.
- Tune prompts and checklists to the most frequent type.
Try It
# Paste into Claude Code or ChatGPT (simplified version of the paper's method: assumption-check-first prompt)
You are an engineer modifying an existing codebase. Before implementing the requirements below, do the following.
1. Split the requirements into numbered items.
2. For each item, list the assumptions it depends on (function behavior, config values, external service contracts) and cite the file and line you checked directly. Mark unchecked assumptions as 'unverified'.
3. Verify unverified assumptions by reading or running code before implementing.
4. Look for existing code that already does the same thing (duplicate paths) and follow the company's existing coding patterns.
5. After implementing, check each item number for satisfaction and confirm with tests that existing behavior is not broken.
Requirements: {{ticket content}}
Next step: run the same ticket once more without this prompt and compare the number of missed requirements and wrong assumptions.Terminology
Related Papers
Gemini 4 Neon is the new #1 on the Models Engineering Index
Gemini 4 Neon ranks first on the Models Engineering Index with 68.0, combining multiple benchmarks.
LLMs can read and write executables byte by byte from a hex dump
Given only a hex dump and no tools, an LLM analyzed, patched and wrote working executables.
Claude was trained on protein sequences at scale
Next-amino-acid tests on obscure proteins show only the latest Claude models predict them
Remembered as Brief: Stored Preferences SilentlyRemove Decision-Critical Information
A stored 'keep it short' preference silently drops warnings; listing must-know points first restores content.
All AI-generated code should be Open Source
A blog argues AI-generated code should be open source; most HN commenters disagreed.
What thousands of conversations look like inside a language model
Mapping Qwen3-1.7B states showed Chinese sitting apart from English, while German and Croatian overlapped it.
AI, activity, and outcomes in software engineering
AI sped up writing code, but shipping speed did not rise as much, says a talk
LLMs Play Zachtronics' TIS-100
16 LLMs played TIS-100 and set 133 new Pareto frontier points across 18 puzzles