mlsanityData to 14 Oct 2026

Holistic Evaluation of State-of-the-Art LLMs for Code Generation

arXiv 2512.18131 ↗First posted 19 Dec 2025cs.SE cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

This study presents a comprehensive empirical evaluation of six state-of-the-art large language models (LLMs) for code generation, including both general-purpose and code-specialized models. Using a dataset of 944 real-world LeetCode problems across five programming languages, we assess model performance using rigorous metrics: compile-time errors, runtime errors, functional failures, and algorithmic suboptimalities. The results reveal significant performance variations, with DeepSeek-R1 and GPT-4.1 consistently outperform others in terms of correctness, efficiency, and robustness. Through detailed case studies, we identify common failure scenarios such as syntax errors, logical flaws, and suboptimal algorithms, highlighting the critical role of prompt engineering and human oversight in improving results. Based on these findings, we provide actionable recommendations for developers and practitioners, emphasizing that successful LLM deployment depends on careful model selection, effective prompt design, and context-aware usage to ensure reliable code generation in real-world software development tasks.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 17 of its 42 references that are in the map. First posted on arXiv 19 Dec 2025.

Builds on

17 of 42 references.

References · 17

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  4. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  5. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  6. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  7. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
  8. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
  9. 2024A Survey on Large Language Models for Code Generationcited by 658
  10. 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 431
  11. 2025LeetCodeDataset: A Temporal Dataset for Robust Evaluation and Efficient Training of Code LLMscited by 70
  12. 2024LLM-Based Test-Driven Interactive Code Generation: User Study and Empirical Evaluationcited by 49
5 more
  1. 2024A Performance Study of LLM-Generated Code on Leetcodecited by 49
  2. 2024Can We Trust Large Language Models Generated Code? A Framework for In-Context Learning, Security Patterns, and Code Evaluations Across Diverse LLMscited by 19
  3. 2025Proving the Coding Interview: A Benchmark for Formally Verified Code Generationcited by 19
  4. 2023GPT-Fathom: Benchmarking Large Language Models to Decipher the Evolutionary Path towards GPT-4 and Beyondcited by 14
  5. 2024An evaluation of LLM code generation capabilities through graded exercisescited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Beyond Synthetic Benchmarks: Evaluating LLM Performance on Real-World Class-Level Code Generation
  2. 2025Evaluating Large Language Models for Functional and Maintainable Code in Industrial Settings: A Case Study at ASML
  3. 2025Towards Advancing Code Generation with Large Language Models: A Research Roadmap
  4. 2025Evaluating and Improving Large Language Models for Competitive Program Generation
  5. 2024Understanding Defects in Generated Codes by Language Models
  6. 2025LLM4VV: Evaluating Cutting-Edge LLMs for Generation and Evaluation of Directive-Based Parallel Programming Model Compiler Tests ↗
  7. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code
  8. 2024DevEval: A Manually-Annotated Code Generation Benchmark Aligned with Real-World Code Repositories