Beyond Pass Rate: A Multilingual, Execution-Grounded Evaluation of Open Code LLMs
This paper presents a large-scale, multilingual, execution-grounded evaluation of nine open code LLMs on over 2,700 LeetCode problems, revealing that current models significantly lag behind human performance and that their rankings and failure modes vary substantially across languages and problem difficulties, thereby highlighting the limitations of single-metric leaderboards.
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 are the head coach of a coding team, and you need to hire a new assistant programmer. The standard way to interview candidates is to give them a single, short puzzle and see if they solve it. If they get it right, they get a "pass." If they get it wrong, they get a "fail."
This paper argues that this "pass/fail" method is like judging a chef only by whether they can boil an egg. It tells you very little about whether they can cook a complex meal, handle spicy ingredients, or keep their kitchen clean.
Here is what the researchers did, explained simply:
The Big Experiment: A Massive Coding Olympics
Instead of a single puzzle, the researchers set up a massive "Coding Olympics."
- The Contestants: They invited 9 different open-source AI models (the "assistants") to compete.
- The Arena: They used 2,707 free coding problems from LeetCode (a popular site for coding practice).
- The Languages: They didn't just use one language (like English); they tested the AIs in 12 different programming languages (like Python, Java, C++, etc.).
- The Scale: In total, they ran over 325,000 attempts. That's like having every contestant try every puzzle in every language.
The Findings: It's Complicated
The researchers found that there is no single "best" AI. Who wins depends entirely on what you are looking for.
1. The "Generalist" vs. The "Specialist"
- Yi-Coder-9B-Chat was the most consistent "average" performer. If you asked it to solve a random mix of problems, it got the highest number of them right overall.
- Qwen2.5-Coder-14B-Instruct was the "hard-mode" specialist. It didn't win the most easy problems, but when the puzzles got really difficult, this AI was the one to beat. It also managed to solve the widest variety of different problems, even if it didn't get every single one perfect.
- Gemma-2-27B-IT was the "neat freak." While it didn't solve the most problems, the code it wrote was the cleanest and followed the most rules.
2. The Human Gap
Even the best AI in the study only solved about 23% of the problems correctly on average. In comparison, a human programmer would solve about 57% of them. This means the AIs are still far from being reliable enough to work alone; they are more like junior interns who need a lot of supervision.
3. The "Compile Error" Wall
The researchers looked at why the AIs failed. They found a surprising pattern: 63% of the failures happened before the code even ran.
Think of it like a car that won't start because the engine block is cracked. You can't even test if the car drives fast or slow because it won't turn on. Most AIs were failing because they wrote code with basic syntax errors (typos, missing brackets) rather than logic errors. They were failing to "compile" (turn into a working program) long before they could be tested for correctness.
4. The "Clean Code" Paradox
Here is the twist: The AI that wrote the cleanest code (Gemma) wasn't the one that solved the most problems. Conversely, the AI that solved the most problems (Qwen) wrote code that was "messier" and had more warnings from a code-cleaning tool.
- Analogy: Imagine two students taking a test. Student A writes a very neat, perfectly formatted essay but gets the answer wrong. Student B writes a messy, scribbled essay with crossed-out words, but gets the answer right.
- The paper shows that "functional success" (getting the answer right) and "static quality" (writing neat code) are two different things. You can't assume a model that writes clean code will solve your problem, and a model that solves your problem might write messy code.
5. Language Matters
An AI that is great at writing in Python might be terrible at writing in C++. The rankings changed depending on which language the AI was asked to use. This proves you can't just say "Model X is the best." You have to say "Model X is the best for Python, but Model Y is better for Java."
The Bottom Line
The paper concludes that we need to stop looking at a single "score" to judge coding AIs. Just like you wouldn't judge a doctor only by their ability to stitch a wound (ignoring their ability to diagnose a disease), we shouldn't judge coding AIs only by a "pass rate."
To truly understand these tools, we need to look at:
- Which languages they speak well.
- How they handle hard problems.
- Whether they fail because of typos or bad logic.
- Whether the code they write is clean enough to maintain.
The researchers built a massive, detailed database of these results so that others can see exactly how and why these models succeed or fail, rather than just seeing a single number on a leaderboard.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.