CodeApex: A Bilingual Programming Evaluation Benchmark for Large Language Models
Not on the map. Why?
Abstract (arXiv)
With the emergence of Large Language Models (LLMs), there has been a significant improvement in the programming capabilities of models, attracting growing attention from researchers. Evaluating the programming capabilities of LLMs is crucial as it reflects the multifaceted abilities of LLMs, and it has numerous downstream applications. In this paper, we propose CodeApex, a bilingual benchmark dataset focusing on the programming comprehension, code generation, and code correction abilities of LLMs. Programming comprehension task tests LLMs on multiple-choice exam questions covering conceptual understanding, commonsense reasoning, and multi-hop reasoning. The code generation task evaluates LLMs through completing C++ functions based on provided descriptions and prototypes. The code correction task asks LLMs to fix real-world erroneous code segments with different error messages. We evaluate 12 widely used LLMs, including both general-purpose and specialized models. GPT-4 exhibits the best programming capabilities, achieving approximate accuracy of 69%, 54%, and 66% on the three tasks, respectively. Compared to human performance, there is still significant room for improvement in LLM programming. We hope that CodeApex can serve as a reference for evaluating the coding capabilities of LLMs, further promoting their development and growth.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 40 of its 71 references that are in the map. First posted on arXiv 5 Sep 2023.
Builds on
40 of 71 references.
References · 40
- 2017Attention Is All You Needcited by 59,932
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
28 more
- 2019PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarizationcited by 1,100
- 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
- 2023Teaching Large Language Models to Self-Debugcited by 963
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 851
- 2019DialoGPT: Large-Scale Generative Pre-training for Conversational Response Generationcited by 842
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
- 2023StarCoder: may the source be with you!cited by 790
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
- 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 694
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
- 2022CodeT: Code Generation with Generated Testscited by 369
- 2023Efficient and Effective Text Encoding for Chinese LLaMA and Alpacacited by 302
- 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 294
- 2018code2vec: Learning Distributed Representations of Codecited by 249
- 2023Using an LLM to Help With Code Understandingcited by 222
- 2022DocPrompting: Generating Code by Retrieving the Docscited by 151
- 2023How Can Recommender Systems Benefit from Large Language Models: A Surveycited by 141
- 2019Fine-tune BERT for Extractive Summarizationcited by 122
- 2018AttentionXML: Label Tree-based Attention-Aware Deep Model for High-Performance Extreme Multi-Label Text Classificationcited by 101
- 2023Exploring the Impact of Instruction Data Scaling on Large Language Models: An Empirical Study on Real-World Use Casescited by 85
- 2023EduChat: A Large-Scale Language Model-based Chatbot System for Intelligent Educationcited by 80
- 2023ReLLa: Retrieval-enhanced Large Language Models for Lifelong Sequential Behavior Comprehension in Recommendationcited by 76
- 2022PanGu-Coder: Program Synthesis with Function-Level Language Modelingcited by 47
- 2023Exploring the Responses of Large Language Models to Beginner Programmers' Help Requestscited by 44
- 2023How Ready are Pre-trained Abstractive Models and LLMs for Legal Case Judgement Summarization?cited by 43
Built on by
Citing papers per year: 2023: 4; 2024: 4; 2025: 3; 2026: 4.
15 papers.
Sort:
By area:
- 2023MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual Contextscited by 1,582
- 2023LawBench: Benchmarking Legal Knowledge of Large Language Modelscited by 111
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
- 2024CyberMetric: A Benchmark Dataset based on Retrieval-Augmented Generation for Evaluating LLMs in Cybersecurity Knowledgecited by 55
- 2024Polymath: A Challenging Multi-modal Mathematical Reasoning Benchmarkcited by 22
- 2024VersiCode: Towards Version-controllable Code Generationcited by 14
- 2024CodeRepoQA: A Large-scale Benchmark for Software Engineering Question Answeringcited by 11
- 2025Software Development Life Cycle Perspective: A Survey of Benchmarks for Code Large Language Models and Agentscited by 11
- 2023CloudEval-YAML: A Practical Benchmark for Cloud Configuration Generationcited by 8
- 2026RepoReasoner: Evaluating Repository-Level Code Reasoning Ability of Long-Context Language Modelscited by 5
- 2025When Names Disappear: Revealing What LLMs Actually Understand About Codecited by 4
- 2026AdaptEval: A Benchmark for Evaluating Large Language Models on Code Snippet Adaptationcited by 1
3 more
- 2026DiffCold: A Diffusion-based Generative Model for Cold-Start Item Recommendationcited by 1
- 2025DebugTA: An LLM-Based Agent for Simplifying Debugging and Teaching in Programming Educationcited by 0
- 2026LogitsCoder: Towards Efficient Chain-of-Thought Path Search via Logits Preference Decoding for Code Generationcited by 0
- 2026RepoReasoner: Evaluating Repository-Level Code Reasoning Ability of Long-Context Language Models28 Jul 2026
- 2026DiffCold: A Diffusion-based Generative Model for Cold-Start Item Recommendation10 Jun 2026
- 2026LogitsCoder: Towards Efficient Chain-of-Thought Path Search via Logits Preference Decoding for Code Generation15 Feb 2026
- 2026AdaptEval: A Benchmark for Evaluating Large Language Models on Code Snippet Adaptation8 Jan 2026
- 2025DebugTA: An LLM-Based Agent for Simplifying Debugging and Teaching in Programming Education13 Oct 2025
- 2025When Names Disappear: Revealing What LLMs Actually Understand About Code3 Oct 2025
- 2025Software Development Life Cycle Perspective: A Survey of Benchmarks for Code Large Language Models and Agents8 May 2025
- 2024CodeRepoQA: A Large-scale Benchmark for Software Engineering Question Answering19 Dec 2024
- 2024Polymath: A Challenging Multi-modal Mathematical Reasoning Benchmark6 Oct 2024
- 2024VersiCode: Towards Version-controllable Code Generation11 Jun 2024
- 2024CyberMetric: A Benchmark Dataset based on Retrieval-Augmented Generation for Evaluating LLMs in Cybersecurity Knowledge12 Feb 2024
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Code14 Nov 2023
- 2023MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual Contextscited by 1,582
- 2024Polymath: A Challenging Multi-modal Mathematical Reasoning Benchmarkcited by 22
- 2026RepoReasoner: Evaluating Repository-Level Code Reasoning Ability of Long-Context Language Modelscited by 5
- 2026LogitsCoder: Towards Efficient Chain-of-Thought Path Search via Logits Preference Decoding for Code Generationcited by 0
- 2026RepoReasoner: Evaluating Repository-Level Code Reasoning Ability of Long-Context Language Models28 Jul 2026
- 2026LogitsCoder: Towards Efficient Chain-of-Thought Path Search via Logits Preference Decoding for Code Generation15 Feb 2026
- 2024Polymath: A Challenging Multi-modal Mathematical Reasoning Benchmark6 Oct 2024
- 2023MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual Contexts3 Oct 2023
- 2023LawBench: Benchmarking Legal Knowledge of Large Language Modelscited by 111
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
- 2024VersiCode: Towards Version-controllable Code Generationcited by 14
- 2024CodeRepoQA: A Large-scale Benchmark for Software Engineering Question Answeringcited by 11
- 2023CloudEval-YAML: A Practical Benchmark for Cloud Configuration Generationcited by 8
- 2025When Names Disappear: Revealing What LLMs Actually Understand About Codecited by 4
- 2026AdaptEval: A Benchmark for Evaluating Large Language Models on Code Snippet Adaptationcited by 1
- 2026AdaptEval: A Benchmark for Evaluating Large Language Models on Code Snippet Adaptation8 Jan 2026
- 2025When Names Disappear: Revealing What LLMs Actually Understand About Code3 Oct 2025
- 2024CodeRepoQA: A Large-scale Benchmark for Software Engineering Question Answering19 Dec 2024
- 2024VersiCode: Towards Version-controllable Code Generation11 Jun 2024
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Code14 Nov 2023
- 2023CloudEval-YAML: A Practical Benchmark for Cloud Configuration Generation10 Nov 2023
- 2023LawBench: Benchmarking Legal Knowledge of Large Language Models28 Sep 2023
Similar, not cited
Close in wording, no citation either way
- 2026CodeEval: A pedagogical approach for targeted evaluation of code-trained Large Language Models
- 2025Cross-Task Benchmarking and Evaluation of General-Purpose and Code-Specific Large Language Models ↗
- 2026CodeGolf Bench: A Multi-Language Benchmark for Evaluating Concise Code Generation Capabilities of Large Language Models
- 2024CS-Bench: A Comprehensive Benchmark for Large Language Models towards Computer Science Mastery
- 2023L2CEval: Evaluating Language-to-Code Generation Capabilities of Large Language Models
- 2025CodeJudgeBench: Benchmarking LLM-as-a-Judge for Coding Tasks
- 2024CodeMMLU: A Multi-Task Benchmark for Assessing Code Understanding & Reasoning Capabilities of CodeLLMs
- 2026Beyond Output Correctness: Benchmarking and Evaluating Large Language Model Reasoning in Coding Tasks