Where Do LLMs Still Struggle? An In-Depth Analysis of Code Generation Benchmarks
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have achieved remarkable success in code generation, and the race to improve their performance has become a central focus of AI research. Benchmarks and leaderboards are increasingly popular, offering quantitative rankings of LLMs. However, they provide limited insight into the tasks that LLMs consistently fail to solve - information that is crucial for understanding current limitations and guiding the development of more capable models. To address this gap, we examined code generation tasks across four popular benchmarks, identifying those that major LLMs are most likely to fail. To understand the causes of these failures, we investigated whether the static complexity of solution code contributes to them, followed by a systematic inspection of 114 tasks that LLMs consistently struggled with. Our analysis revealed four recurring patterns of weaknesses in LLMs, as well as common complications within benchmark tasks that most often lead to failure.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 8 of its 13 references that are in the map. First posted on arXiv 6 Nov 2025.
Builds on
8 of 13 references.
References · 8
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
- 2024HumanEval Pro and MBPP Pro: Evaluating Large Language Models on Self-invoking Code Generationcited by 39
- 2024Towards Understanding the Characteristics of Code Generation Errors Made by Large Language Modelscited by 28
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026Permission Denied: Policy-Graded Evaluation of Coding Agents in Hardened Environmentscited by 2
- 2026AnCoder: Anchored Code Generation via Discrete Diffusion Modelscited by 1
- 2026FailureScope: Cross-Regime Behavioral Diagnosis of Language Model Weaknessescited by 0
- 2026COMPAS: Difficulty-Aware Joint Search for Optimizing Code Generationcited by 0
- 2026From Dead Code and Static Requirements to Working Engines: Software Revival with Coding Agentscited by 0
- 2026From Dead Code and Static Requirements to Working Engines: Software Revival with Coding Agents28 Sep 2026
- 2026COMPAS: Difficulty-Aware Joint Search for Optimizing Code Generation5 Aug 2026
- 2026Permission Denied: Policy-Graded Evaluation of Coding Agents in Hardened Environments2 Aug 2026
- 2026FailureScope: Cross-Regime Behavioral Diagnosis of Language Model Weaknesses3 Jun 2026
- 2026AnCoder: Anchored Code Generation via Discrete Diffusion Models5 Feb 2026