mlsanityData to 14 Oct 2026

CRUXEval-X: A Benchmark for Multilingual Code Reasoning, Understanding and Execution

arXiv 2408.13001 ↗First posted 23 Aug 2024cs.AIcited by 31

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

  1. 2024Reasoning Runtime Behavior of a Program with LLM: How Far Are We?25 Mar
  2. 2023Teaching Large Language Models to Self-Debug11 Apr

Other references · 31

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  3. 2021Program Synthesis with Large Language Modelscited by 3,637
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  5. 2023Qwen Technical Reportcited by 3,344
  6. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  7. 2024Qwen2 Technical Reportcited by 2,120
  8. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
  9. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
  10. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
  11. 2023StarCoder: may the source be with you!cited by 799
  12. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
19 more
  1. 2023Textbooks Are All You Needcited by 569
  2. 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 565
  3. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
  4. 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 331
  5. 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 300
  6. 2022Multi-lingual Evaluation of Code Generation Modelscited by 159
  7. 2024Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step-by-stepcited by 127
  8. 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 125
  9. 2021Leveraging Automated Unit Tests for Unsupervised Code Translationcited by 82
  10. 2024DebugBench: Evaluating Debugging Capability of Large Language Modelscited by 76
  11. 2021AVATAR: A Parallel Corpus for Java-Python Program Translationcited by 59
  12. 2023CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translationcited by 57
  13. 2022XLCoST: A Benchmark Dataset for Cross-lingual Code Intelligencecited by 56
  14. 2024McEval: Massively Multilingual Code Evaluationcited by 44
  15. 2021CodeTrans: Towards Cracking the Language of Silicon's Code Through Self-Supervised Deep Learning and High Performance Computingcited by 28
  16. 2024Rectifier: Code Translation with Corrector via LLMscited by 20
  17. 2024Leveraging Print Debugging to Improve Code Generation in Large Language Modelscited by 15
  18. 2024Concerned with Data Contamination? Assessing Countermeasures in Code Language Modelcited by 14
  19. 2024JavaBench: A Benchmark of Object-Oriented Code Generation for Evaluating Large Language Modelscited by 10

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 16; 2026: 12.

31 papers.

Sort:

By area:

  1. 2024Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvementcited by 61
  2. 2025A Survey of Multilingual Reasoning in Language Modelscited by 33
  3. 2025Thinking Longer, Not Larger: Enhancing Software Engineering Agents via Scaling Test-Time Computecited by 26
  4. 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
  5. 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
  6. 2025CodeSense: a Real-World Benchmark and Dataset for Code Semantic Reasoningcited by 13
  7. 2025Software Development Life Cycle Perspective: A Survey of Benchmarks for Code Large Language Models and Agentscited by 11
  8. 2024LLMs as Continuous Learners: Improving the Reproduction of Defective Code in Software Issuescited by 10
  9. 2024Helping LLMs Improve Code Generation Using Feedback from Testing and Static Analysiscited by 6
  10. 2025LLMs Lean on Priors, Not Programming Language Semanticscited by 6
  11. 2026MirrorCode: AI can rebuild entire programs from behavior alonecited by 6
  12. 2025EmbedAgent: Benchmarking Large Language Models in Embedded System Developmentcited by 5
19 more
  1. 2025Demystifying Errors in LLM Reasoning Traces: An Empirical Study of Code Execution Simulationcited by 5
  2. 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 4
  3. 2025CodeReasoner: Enhancing the Code Reasoning Ability with Reinforcement Learningcited by 4
  4. 2026Can LLMs Compress (and Decompress)? Evaluating Code Understanding and Execution via Invertibilitycited by 4
  5. 2025Across Programming Language Silos: A Study on Cross-Lingual Retrieval-augmented Code Generationcited by 3
  6. 2026Self-Execution Simulation Improves Coding Modelscited by 3
  7. 2025Sense and Sensitivity: Examining the Influence of Semantic Recall on Long Context Code Understandingcited by 2
  8. 2025Beyond Language Barriers: Multi-Agent Coordination for Multi-Language Code Generationcited by 2
  9. 2026Spec-Harness: Assessing and Guiding LLM-Synthesized Formal Specifications Beyond Verifiabilitycited by 2
  10. 2026Parallel-SFT: Improving Zero-Shot Cross-Programming-Language Transfer for Code RLcited by 2
  11. 2026StepCodeReasoner: Aligning Code Reasoning with Stepwise Execution Traces via Reinforcement Learningcited by 2
  12. 2025STEPWISE-CODEX-Bench: Evaluating Complex Multi-Function Comprehension and Fine-Grained Execution Reasoningcited by 1
  13. 2026Enhancing the Code Reasoning Capabilities of LLMs via Consistency-based Reinforcement Learningcited by 1
  14. 2026ITPEval: Benchmarking Formal Translation Across Interactive Theorem Proverscited by 1
  15. 2025CrossPL: Evaluating Large Language Models on Cross Programming Language Code Generationcited by 0
  16. 2026EvoCodeBench: A Human-Performance Benchmark for Self-Evolving LLM-Driven Coding Systemscited by 0
  17. 2026Where Larger Models Excel: The Primacy of Constraint-Guided Reasoningcited by 0
  18. 2026Don't Let Me Ask for It: LLMs Show Deficiencies in Active Multi-Turn Information Acquisition for Abductive Inferencecited by 0
  19. 2026Codoku: Renewable Program-Reasoning Challenges for Frontier Coding Agentscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026CodeEval: A pedagogical approach for targeted evaluation of code-trained Large Language Models
  2. 2023CodeApex: A Bilingual Programming Evaluation Benchmark for Large Language Models
  3. 2026CodeGolf Bench: A Multi-Language Benchmark for Evaluating Concise Code Generation Capabilities of Large Language Models
  4. 2026Beyond Output Correctness: Benchmarking and Evaluating Large Language Model Reasoning in Coding Tasks
  5. 2025A Tool for In-depth Analysis of Code Execution Reasoning of Large Language Models
  6. 2026Evaluating LLMs Code Reasoning Under Real-World Context
  7. 2025CodeElo: Benchmarking Competition-level Code Generation of LLMs with Human-comparable Elo Ratings
  8. 2025CodeCriticBench: A Holistic Code Critique Benchmark for Large Language Models