CRUXEval-X: A Benchmark for Multilingual Code Reasoning, Understanding and Execution
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Code benchmarks such as HumanEval are widely adopted to evaluate Large Language Models' (LLMs) coding capabilities. However, there is an unignorable programming language bias in existing code benchmarks -- over 95% code generation benchmarks are dominated by Python, leaving the LLMs' capabilities in other programming languages such as Java and C/C++ unknown. Moreover, coding task bias is also crucial. Most benchmarks focus on code generation capability, while benchmarks for code reasoning (given input, reasoning output; and given output, reasoning input), an essential coding capability, are insufficient. Yet, constructing multi-lingual benchmarks can be expensive and labor-intensive, and codes in contest websites such as Leetcode suffer from data contamination during training. To fill this gap, we propose CRUXEVAL-X, a multi-lingual code reasoning benchmark that contains 19 programming languages. It comprises at least 600 subjects for each language, along with 19K content-consistent tests in total. In particular, the construction pipeline of CRUXEVAL-X works in a fully automated and test-guided manner, which iteratively generates and repairs based on execution feedback. Also, to cross language barriers (e.g., dynamic/static type systems in Python/C++), we formulated various transition rules between language pairs to facilitate translation. Our intensive evaluation of 24 representative LLMs reveals the correlation between language pairs. For example, TypeScript and JavaScript show a significant positive correlation, while Racket has less correlation with other languages. More interestingly, even a model trained solely on Python can achieve at most 34.4% Pass@1 in other languages, revealing the cross-language generalization of LLMs.
Key facts. Cited by 31 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 33 of its 44 references that are in the map. First posted on arXiv 23 Aug 2024.
Builds on
33 of 44 references.
Closest ancestors · 2
Same direction, newest first
- 2024Reasoning Runtime Behavior of a Program with LLM: How Far Are We?25 Mar
- 2023Teaching Large Language Models to Self-Debug11 Apr
Other references · 31
- 2023GPT-4 Technical Reportcited by 18,396
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2023Qwen Technical Reportcited by 3,344
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2024Qwen2 Technical Reportcited by 2,120
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
- 2023StarCoder: may the source be with you!cited by 799
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
19 more
- 2023Textbooks Are All You Needcited by 569
- 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 565
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
- 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 331
- 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 300
- 2022Multi-lingual Evaluation of Code Generation Modelscited by 159
- 2024Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step-by-stepcited by 127
- 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 125
- 2021Leveraging Automated Unit Tests for Unsupervised Code Translationcited by 82
- 2024DebugBench: Evaluating Debugging Capability of Large Language Modelscited by 76
- 2021AVATAR: A Parallel Corpus for Java-Python Program Translationcited by 59
- 2023CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translationcited by 57
- 2022XLCoST: A Benchmark Dataset for Cross-lingual Code Intelligencecited by 56
- 2024McEval: Massively Multilingual Code Evaluationcited by 44
- 2021CodeTrans: Towards Cracking the Language of Silicon's Code Through Self-Supervised Deep Learning and High Performance Computingcited by 28
- 2024Rectifier: Code Translation with Corrector via LLMscited by 20
- 2024Leveraging Print Debugging to Improve Code Generation in Large Language Modelscited by 15
- 2024Concerned with Data Contamination? Assessing Countermeasures in Code Language Modelcited by 14
- 2024JavaBench: A Benchmark of Object-Oriented Code Generation for Evaluating Large Language Modelscited by 10
Built on by
Citing papers per year: 2024: 3; 2025: 16; 2026: 12.
31 papers.
Sort:
By area:
- 2024Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvementcited by 61
- 2025A Survey of Multilingual Reasoning in Language Modelscited by 33
- 2025Thinking Longer, Not Larger: Enhancing Software Engineering Agents via Scaling Test-Time Computecited by 26
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
- 2025CodeSense: a Real-World Benchmark and Dataset for Code Semantic Reasoningcited by 13
- 2025Software Development Life Cycle Perspective: A Survey of Benchmarks for Code Large Language Models and Agentscited by 11
- 2024LLMs as Continuous Learners: Improving the Reproduction of Defective Code in Software Issuescited by 10
- 2024Helping LLMs Improve Code Generation Using Feedback from Testing and Static Analysiscited by 6
- 2025LLMs Lean on Priors, Not Programming Language Semanticscited by 6
- 2026MirrorCode: AI can rebuild entire programs from behavior alonecited by 6
- 2025EmbedAgent: Benchmarking Large Language Models in Embedded System Developmentcited by 5
19 more
- 2025Demystifying Errors in LLM Reasoning Traces: An Empirical Study of Code Execution Simulationcited by 5
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 4
- 2025CodeReasoner: Enhancing the Code Reasoning Ability with Reinforcement Learningcited by 4
- 2026Can LLMs Compress (and Decompress)? Evaluating Code Understanding and Execution via Invertibilitycited by 4
- 2025Across Programming Language Silos: A Study on Cross-Lingual Retrieval-augmented Code Generationcited by 3
- 2026Self-Execution Simulation Improves Coding Modelscited by 3
- 2025Sense and Sensitivity: Examining the Influence of Semantic Recall on Long Context Code Understandingcited by 2
- 2025Beyond Language Barriers: Multi-Agent Coordination for Multi-Language Code Generationcited by 2
- 2026Spec-Harness: Assessing and Guiding LLM-Synthesized Formal Specifications Beyond Verifiabilitycited by 2
- 2026Parallel-SFT: Improving Zero-Shot Cross-Programming-Language Transfer for Code RLcited by 2
- 2026StepCodeReasoner: Aligning Code Reasoning with Stepwise Execution Traces via Reinforcement Learningcited by 2
- 2025STEPWISE-CODEX-Bench: Evaluating Complex Multi-Function Comprehension and Fine-Grained Execution Reasoningcited by 1
- 2026Enhancing the Code Reasoning Capabilities of LLMs via Consistency-based Reinforcement Learningcited by 1
- 2026ITPEval: Benchmarking Formal Translation Across Interactive Theorem Proverscited by 1
- 2025CrossPL: Evaluating Large Language Models on Cross Programming Language Code Generationcited by 0
- 2026EvoCodeBench: A Human-Performance Benchmark for Self-Evolving LLM-Driven Coding Systemscited by 0
- 2026Where Larger Models Excel: The Primacy of Constraint-Guided Reasoningcited by 0
- 2026Don't Let Me Ask for It: LLMs Show Deficiencies in Active Multi-Turn Information Acquisition for Abductive Inferencecited by 0
- 2026Codoku: Renewable Program-Reasoning Challenges for Frontier Coding Agentscited by 0
- 2026Codoku: Renewable Program-Reasoning Challenges for Frontier Coding Agents28 Sep 2026
- 2026Don't Let Me Ask for It: LLMs Show Deficiencies in Active Multi-Turn Information Acquisition for Abductive Inference4 Aug 2026
- 2026ITPEval: Benchmarking Formal Translation Across Interactive Theorem Provers7 Jul 2026
- 2026MirrorCode: AI can rebuild entire programs from behavior alone29 Jun 2026
- 2026Enhancing the Code Reasoning Capabilities of LLMs via Consistency-based Reinforcement Learning18 May 2026
- 2026StepCodeReasoner: Aligning Code Reasoning with Stepwise Execution Traces via Reinforcement Learning12 May 2026
- 2026Where Larger Models Excel: The Primacy of Constraint-Guided Reasoning9 May 2026
- 2026Parallel-SFT: Improving Zero-Shot Cross-Programming-Language Transfer for Code RL22 Apr 2026
- 2026Spec-Harness: Assessing and Guiding LLM-Synthesized Formal Specifications Beyond Verifiability31 Mar 2026
- 2026Self-Execution Simulation Improves Coding Models11 Mar 2026
- 2026EvoCodeBench: A Human-Performance Benchmark for Self-Evolving LLM-Driven Coding Systems10 Feb 2026
- 2026Can LLMs Compress (and Decompress)? Evaluating Code Understanding and Execution via Invertibility19 Jan 2026
19 more
- 2025Demystifying Errors in LLM Reasoning Traces: An Empirical Study of Code Execution Simulation28 Nov 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System10 Oct 2025
- 2025LLMs Lean on Priors, Not Programming Language Semantics3 Oct 2025
- 2025Beyond Language Barriers: Multi-Agent Coordination for Multi-Language Code Generation24 Sep 2025
- 2025STEPWISE-CODEX-Bench: Evaluating Complex Multi-Function Comprehension and Fine-Grained Execution Reasoning7 Aug 2025
- 2025CrossPL: Evaluating Large Language Models on Cross Programming Language Code Generation26 Jul 2025
- 2025CodeReasoner: Enhancing the Code Reasoning Ability with Reinforcement Learning23 Jul 2025
- 2025Across Programming Language Silos: A Study on Cross-Lingual Retrieval-augmented Code Generation4 Jun 2025
- 2025CodeSense: a Real-World Benchmark and Dataset for Code Semantic Reasoning31 May 2025
- 2025Sense and Sensitivity: Examining the Influence of Semantic Recall on Long Context Code Understanding19 May 2025
- 2025Software Development Life Cycle Perspective: A Survey of Benchmarks for Code Large Language Models and Agents8 May 2025
- 2025EmbedAgent: Benchmarking Large Language Models in Embedded System Development19 Apr 2025
- 2025Thinking Longer, Not Larger: Enhancing Software Engineering Agents via Scaling Test-Time Compute31 Mar 2025
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Quality7 Mar 2025
- 2025A Survey of Multilingual Reasoning in Language Models13 Feb 2025
- 2024Helping LLMs Improve Code Generation Using Feedback from Testing and Static Analysis19 Dec 2024
- 2024LLMs as Continuous Learners: Improving the Reproduction of Defective Code in Software Issues21 Nov 2024
- 2024Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvement1 Nov 2024
- 2025A Survey of Multilingual Reasoning in Language Modelscited by 33
- 2025Thinking Longer, Not Larger: Enhancing Software Engineering Agents via Scaling Test-Time Computecited by 26
- 2025CodeSense: a Real-World Benchmark and Dataset for Code Semantic Reasoningcited by 13
- 2025LLMs Lean on Priors, Not Programming Language Semanticscited by 6
- 2025Demystifying Errors in LLM Reasoning Traces: An Empirical Study of Code Execution Simulationcited by 5
- 2025CodeReasoner: Enhancing the Code Reasoning Ability with Reinforcement Learningcited by 4
- 2025STEPWISE-CODEX-Bench: Evaluating Complex Multi-Function Comprehension and Fine-Grained Execution Reasoningcited by 1
- 2026Enhancing the Code Reasoning Capabilities of LLMs via Consistency-based Reinforcement Learningcited by 1
- 2026Where Larger Models Excel: The Primacy of Constraint-Guided Reasoningcited by 0
- 2026Don't Let Me Ask for It: LLMs Show Deficiencies in Active Multi-Turn Information Acquisition for Abductive Inferencecited by 0
- 2026Codoku: Renewable Program-Reasoning Challenges for Frontier Coding Agentscited by 0
- 2026Codoku: Renewable Program-Reasoning Challenges for Frontier Coding Agents28 Sep 2026
- 2026Don't Let Me Ask for It: LLMs Show Deficiencies in Active Multi-Turn Information Acquisition for Abductive Inference4 Aug 2026
- 2026Enhancing the Code Reasoning Capabilities of LLMs via Consistency-based Reinforcement Learning18 May 2026
- 2026Where Larger Models Excel: The Primacy of Constraint-Guided Reasoning9 May 2026
- 2025Demystifying Errors in LLM Reasoning Traces: An Empirical Study of Code Execution Simulation28 Nov 2025
- 2025LLMs Lean on Priors, Not Programming Language Semantics3 Oct 2025
- 2025STEPWISE-CODEX-Bench: Evaluating Complex Multi-Function Comprehension and Fine-Grained Execution Reasoning7 Aug 2025
- 2025CodeReasoner: Enhancing the Code Reasoning Ability with Reinforcement Learning23 Jul 2025
- 2025CodeSense: a Real-World Benchmark and Dataset for Code Semantic Reasoning31 May 2025
- 2025Thinking Longer, Not Larger: Enhancing Software Engineering Agents via Scaling Test-Time Compute31 Mar 2025
- 2025A Survey of Multilingual Reasoning in Language Models13 Feb 2025
- 2024Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvementcited by 61
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
- 2025Software Development Life Cycle Perspective: A Survey of Benchmarks for Code Large Language Models and Agentscited by 11
- 2025Beyond Language Barriers: Multi-Agent Coordination for Multi-Language Code Generationcited by 2
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System10 Oct 2025
- 2025Beyond Language Barriers: Multi-Agent Coordination for Multi-Language Code Generation24 Sep 2025
- 2025Software Development Life Cycle Perspective: A Survey of Benchmarks for Code Large Language Models and Agents8 May 2025
- 2024Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvement1 Nov 2024
- 2024LLMs as Continuous Learners: Improving the Reproduction of Defective Code in Software Issuescited by 10
- 2024Helping LLMs Improve Code Generation Using Feedback from Testing and Static Analysiscited by 6
- 2026MirrorCode: AI can rebuild entire programs from behavior alonecited by 6
- 2025EmbedAgent: Benchmarking Large Language Models in Embedded System Developmentcited by 5
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 4
- 2026Can LLMs Compress (and Decompress)? Evaluating Code Understanding and Execution via Invertibilitycited by 4
- 2026Self-Execution Simulation Improves Coding Modelscited by 3
- 2025Sense and Sensitivity: Examining the Influence of Semantic Recall on Long Context Code Understandingcited by 2
- 2026Spec-Harness: Assessing and Guiding LLM-Synthesized Formal Specifications Beyond Verifiabilitycited by 2
- 2026Parallel-SFT: Improving Zero-Shot Cross-Programming-Language Transfer for Code RLcited by 2
- 2026ITPEval: Benchmarking Formal Translation Across Interactive Theorem Proverscited by 1
- 2025CrossPL: Evaluating Large Language Models on Cross Programming Language Code Generationcited by 0
- 2026ITPEval: Benchmarking Formal Translation Across Interactive Theorem Provers7 Jul 2026
- 2026MirrorCode: AI can rebuild entire programs from behavior alone29 Jun 2026
- 2026Parallel-SFT: Improving Zero-Shot Cross-Programming-Language Transfer for Code RL22 Apr 2026
- 2026Spec-Harness: Assessing and Guiding LLM-Synthesized Formal Specifications Beyond Verifiability31 Mar 2026
- 2026Self-Execution Simulation Improves Coding Models11 Mar 2026
- 2026Can LLMs Compress (and Decompress)? Evaluating Code Understanding and Execution via Invertibility19 Jan 2026
- 2025CrossPL: Evaluating Large Language Models on Cross Programming Language Code Generation26 Jul 2025
- 2025Sense and Sensitivity: Examining the Influence of Semantic Recall on Long Context Code Understanding19 May 2025
- 2025EmbedAgent: Benchmarking Large Language Models in Embedded System Development19 Apr 2025
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Quality7 Mar 2025
- 2024Helping LLMs Improve Code Generation Using Feedback from Testing and Static Analysis19 Dec 2024
- 2024LLMs as Continuous Learners: Improving the Reproduction of Defective Code in Software Issues21 Nov 2024
Similar, not cited
Close in wording, no citation either way
- 2026CodeEval: A pedagogical approach for targeted evaluation of code-trained Large Language Models
- 2023CodeApex: A Bilingual Programming Evaluation Benchmark for Large Language Models
- 2026CodeGolf Bench: A Multi-Language Benchmark for Evaluating Concise Code Generation Capabilities of Large Language Models
- 2026Beyond Output Correctness: Benchmarking and Evaluating Large Language Model Reasoning in Coding Tasks
- 2025A Tool for In-depth Analysis of Code Execution Reasoning of Large Language Models
- 2026Evaluating LLMs Code Reasoning Under Real-World Context
- 2025CodeElo: Benchmarking Competition-level Code Generation of LLMs with Human-comparable Elo Ratings
- 2025CodeCriticBench: A Holistic Code Critique Benchmark for Large Language Models