TL;DR
While LLM coding agents show impressive performance on Python benchmarks like SWE-bench, real-world software engineering spans many languages and paradigms. Multi-SWE-bench introduces a rigorously verified, multilingual benchmark of 2,132 GitHub issues across 8 major languages (Python, Java, TypeScript, JavaScript, Go, Rust, C, and C++), complete with time-based human difficulty ratings. Evaluations of 12 frontier models across procedural and agentic frameworks reveal that current AI programmers suffer severe performance drops outside Python, especially on cross-file edits and tasks requiring more than 15 minutes of human effort.
What Problem Does This Paper Address?
Evaluating AI agents on repository-level code maintenance has largely centered around SWE-bench. However, SWE-bench is almost entirely restricted to Python. Real-world codebases rely on languages with vastly different memory management models, type systems, runtime behaviors, and asynchronous concurrency patterns (e.g., C/C++ memory mechanics, Rust lifetimes, or JavaScript event-driven paradigms).
Until now, it remained unclear whether modern coding agents actually generalize as software engineers across languages or if their apparent proficiency is simply an artifact of Python-specific benchmark optimization and training bias.
Datasets
The authors construct and release two key datasets:
- Multi-SWE-bench: A benchmark of 2,132 human-validated instances across 39 repositories and 8 languages: Python (500 instances from SWE-bench Verified), Java, TypeScript, JavaScript, Go, Rust, C, and C++ (1,632 newly curated instances). Each instance is classified into three difficulty tiers based on estimated human completion time: Easy ($\le 15$ min), Medium (15 min–1 hr), and Hard ($\ge 1$ hr).
- Multi-SWE-bench Mini: A 400-instance balanced evaluation subset (50 per language).
- Multi-SWE-RL: An unverified, containerized bootstrap dataset of 4,723 issue-resolving instances across 76 repositories intended for reinforcement learning (RL) training.
Methods
To ensure reproducibility and eliminate flaky evaluations, the authors developed a systematic five-stage curation pipeline:
- Repository Selection: Curated popular, actively maintained repos ($>500$ stars) with standard CI/CD configurations and functional clean builds.
- PR Harvesting: Crawled merged pull requests tied to specific GitHub issues that explicitly included modifications to test suites.
- Environment Isolation: Automatically generated Dockerized environments with repo-wide and PR-specific dependencies to ensure hermetic execution.
- Execution & Regression Filtering: Executed full test suites across three conditions (base repository, base + test patch, base + test patch + fix patch). Only PRs exhibiting genuine transitions from
FAILEDtoPASSEDwithout introducing regressions were kept. - Human Verification: Recruited 68 professional software engineers (dual-annotation plus cross-review and internal audit) to verify issue clarity, reproducible unit test coverage, and estimated completion time.
For benchmarking, the authors extended three established SWE frameworks to multilingual environments: MagentLess (procedural, fault-localization-driven), MSWE-agent (interactive agent-computer interface), and MopenHands (interactive bash/action agent). They evaluated 12 frontier LLMs, including Claude-3.7-Sonnet, GPT-4o, OpenAI-o1, OpenAI-o3-mini, Gemini-2.5-Pro, and DeepSeek-R1.
Key Insights and Ideas
- The Python Generalization Illusion: Models that score $>45\%$ on Python often collapse to single digits or low teens on languages like TypeScript, JavaScript, C, and C++. This gap stems from method-level tool design bias, higher difficulty ratios, and inherent language complexities (e.g., manual memory management or asynchronous runtimes).
- Hard Tasks Remain Unsolved: LLM success tracks human difficulty closely. Across frameworks, top models resolve 30–39% of Easy tasks ($\le 15$ minutes of human labor), but success drops to near 0–3% on Hard tasks ($\ge 1$ hour). Current agents are essentially quick-bug fixers, not general engineers.
- Cross-File Blindspots: Agent success plummets when patches modify more than one file or exceed 600 tokens. MagentLess excels on single-file repairs due to structured fault localization, but agentic frameworks struggle with multi-file reasoning and context retention.
- Issue Type Hierarchy: Models perform best on localized bug fixes, worse on new feature requests, and poorest on feature optimizations. Agents can spot local symptoms, but struggle with open-ended architectural changes.
Key Results
- Overall Performance: On Multi-SWE-bench across all languages:
- Gemini-2.5-Pro achieved the top score using MopenHands (21.62%) and MagentLess (18.01%).
- Claude-3.7-Sonnet followed closely, achieving 19.32% on MopenHands and leading MSWE-agent at 17.17%.
- In contrast, Python-specific resolved rates reached up to 52.20% (Claude-3.7-Sonnet on MopenHands) and 49.00% (Gemini-2.5-Pro on MagentLess).
- Cost vs. Performance: DeepSeek-V3, DeepSeek-R1, and Qwen2.5-72B-Instruct were the most cost-effective ($<\$0.03$ average cost per issue). OpenAI-o1 was by far the most expensive (up to $\$1.25$ per issue) while yielding lower multilingual success rates (6.10%–16.23% overall).
- Data Leakage Check: Evaluating Claude-3.5-Sonnet on issues before and after its pre-training cutoff date (2024-04-01) showed no significant performance degradation on post-cutoff instances, indicating memorization is not the primary driver of performance.
Limitations and Future Work
- Framework Tooling Brittleness: Current agent frameworks frequently fail on non-Python ecosystem quirks: syntax-parsing tools like Tree-sitter struggle with loosely bound JavaScript arrow functions, background daemons (e.g.,
pnpm dev) crash non-interactive subshells, and compiled binary artifacts in C/C++ interfere withgit apply. - Localization Bottlenecks: A major failure mode across all methods was incorrect fault localization. The authors propose integrating traditional Software Engineering techniques like Spectrum-Based Fault Localization (SBFL) into agentic loops.
- Future Expansion: The authors plan to expand Multi-SWE-bench beyond 8 languages and integrate other software engineering challenges, including bug reproduction, autonomous environment setup, and multimodal GUI issue resolving.
Summary updated