SWE-MERA: A Dynamic Benchmark for Agenticly Evaluating Large Language Models on Software Engineering Tasks
To address critical data contamination and inadequate test cases in existing benchmarks like SWE-bench, the paper introduces SWE-MERA, a dynamic and continuously updated benchmark that leverages an automated pipeline to curate real-world GitHub issues, offering a rigorous and reliable evaluation framework for Large Language Models on software engineering tasks.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you're trying to teach a robot how to fix a broken video game. For a long time, the best way to test the robot was to give it a specific list of broken levels that everyone had already seen. But here's the problem: the robot was just memorizing the answers instead of actually learning how to fix things. It was like a student who memorized the answer key for last year's math test but fails the new one because the numbers changed.
This is exactly what happened with the famous SWE-bench, a popular test for AI coding skills. The paper reveals that this old test was leaking answers. About 32.67% of the "successful" fixes were just the AI copying solutions it had already seen, and another 31.08% passed because the tests were too weak to catch real mistakes. It was a broken ruler.
Enter SWE-MERA, the new, dynamic challenger. Think of SWE-MERA not as a static textbook, but as a live, breathing video game server that updates every single month. Instead of using old, memorized puzzles, it constantly hunts for brand-new, real-world problems from the internet (specifically from GitHub, where millions of people share code).
How the New Test Works
The authors built a super-organized robot pipeline to find these fresh problems. It's like a high-tech scavenger hunt with seven strict rules to make sure the clues are real:
- Pick the right playground: It only looks at popular, active Python projects (with at least 10 stars and 10 forks).
- Match the clues: It finds a specific problem (an "issue") and the exact solution (a "pull request") that fixed it, making sure they are a perfect one-to-one pair.
- Check the size: It ignores tiny notes and huge, messy projects, keeping only the ones that are just right.
- Verify the fix: It checks that the solution actually changes the code and adds a test to prove it works.
- Build the lab: It tries to build the project in a safe, isolated container (like a digital sandbox) to see if the tests pass.
- Run the full mission: It runs the whole task from start to finish to make sure it's reproducible.
- The AI Judge: Finally, another AI (a Qwen3-32B model) acts as a strict teacher, grading the task on a scale of 1 to 10 for correctness and completeness. If a task is too easy, too hard, or poorly explained, it gets tossed out.
The result? A massive collection of about 10,000 potential tasks, with 728 high-quality samples ready to go right now.
The Results: Who Actually Wins?
The researchers put a dozen of the smartest coding AIs to the test on these fresh problems. They didn't just ask the AI to solve it once; they gave it six attempts to fix the bug, with chances to think and re-check its work.
The results were eye-opening:
- The Top Performer: The DeepSeek-R1-0528 model was the champion, fixing about 27.8% of the problems on its very first try and 40.2% within six tries.
- The Runner-Up: Devstral-Small-2505 came in second, solving 17.2% on the first try and 28.2% overall.
- The Strugglers: Even the big, powerful models like Llama-3.3-70B (which is great at chatting but not specifically built for code) only managed 8.7% on the first try. The smallest model, Qwen2.5-Coder-7B, could only fix 2.7% on the first try.
The paper suggests that these new, dynamic tests are much better at telling the difference between a smart AI and a memorizing one. For instance, some models that looked great on old tests actually did worse on the new 2025 tasks, suggesting they were just memorizing the old answers.
What This Test Doesn't Do
It's important to know what this new benchmark leaves out. The paper explicitly states that this test does not measure how readable, maintainable, or secure the code is. It also doesn't test teamwork or how well a human and a robot work together. It's strictly about: "Can the robot fix the bug and make the tests pass?"
Also, the authors warn that because these problems are automatically collected, some might be a bit weird or lack the creative nuance of a human-written puzzle. There's also a small risk that the AI might have seen a similar problem in its training data, even though the system tries to prevent that.
The Big Picture
The authors are confident that SWE-MERA is a much fairer way to measure progress. By constantly refreshing the test with new, unseen challenges, it stops the AI from cheating by memorizing answers. They have even built a public leaderboard where anyone can see how their coding robot stacks up against the best in the world, with a slider that lets you see how performance changes over time.
In short, SWE-MERA is the "fresh air" the field needed. It moves away from dusty, memorized textbooks and into a dynamic, ever-changing arena where only the truly adaptable coding agents can survive.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.