CodeScore: Evaluating Code Generation by Learning Code Execution
Not on the map. Why?
Abstract (arXiv)
A proper code evaluation metric (CEM) profoundly impacts the evolution of code generation, which is an important research field in NLP and software engineering. Prevailing match-based CEMs (e.g., BLEU, Accuracy, and CodeBLEU) suffer from two significant drawbacks. 1. They primarily measure the surface differences between codes without considering their functional equivalence. However, functional equivalence is pivotal in evaluating the effectiveness of code generation, as different codes can perform identical operations. 2. They are predominantly designed for the Ref-only input format. However, code evaluation necessitates versatility in input formats. Aside from Ref-only, there are NL-only and Ref&NL formats, which existing match-based CEMs cannot effectively accommodate. In this paper, we propose CodeScore, a large language model (LLM)-based CEM, which estimates the functional correctness of generated code on three input types. To acquire CodeScore, we present UniCE, a unified code generation learning framework, for LLMs to learn code execution (i.e., learning PassRatio and Executability of generated code) with unified input. Extensive experimental results on multiple code evaluation datasets demonstrate that CodeScore absolutely improves up to 58.87% correlation with functional correctness compared to other CEMs, achieves state-of-the-art performance, and effectively handles three input formats.
Key facts. Cited by 66 papers in the map (data through 7 Oct 2026). First posted on arXiv 22 Jan 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 7; 2024: 21; 2025: 23; 2026: 15.
66 papers.
Sort:
By area:
- 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solvingcited by 177
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
- 2024Generalization or Memorization: Data Contamination and Trustworthy Evaluation for Large Language Modelscited by 119
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agentscited by 77
- 2025Paper2Code: Automating Code Generation from Scientific Papers in Machine Learningcited by 67
- 2023CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translationcited by 55
- 2024SOEN-101: Code Generation by Emulating Software Process Models Using Large Language Model Agentscited by 34
- 2024Prompting Techniques for Secure Code Generation: A Systematic Investigationcited by 33
- 2023AgentCoder: Multi-Agent-based Code Generation with Iterative Testing and Optimisationcited by 31
- 2025CODESIM: Multi-Agent Code Generation and Problem Solving through Simulation-Driven Planning and Debuggingcited by 31
- 2023CodeCoT: Tackling Code Syntax Errors in CoT Reasoning for Code Generationcited by 29
- 2024RethinkMCTS: Refining Erroneous Thoughts in Monte Carlo Tree Search for Code Generationcited by 25
38 more
- 2025CodeRL+: Improving Code Generation via Reinforcement with Execution Semantics Alignmentcited by 22
- 2025Principled Personas: Defining and Measuring the Intended Effects of Persona Prompting on Task Performancecited by 17
- 2025MAPRO: Recasting Multi-Agent Prompt Optimization as Maximum a Posteriori Inferencecited by 15
- 2023FRANC: A Lightweight Framework for High-Quality Code Generationcited by 14
- 2025CodeCrash: Exposing LLM Fragility to Misleading Natural Language in Code Reasoningcited by 14
- 2024What can Large Language Models Capture about Code Functional Equivalence?cited by 13
- 2025Saber: An Efficient Sampling with Adaptive Acceleration and Backtracking Enhanced Remasking for Diffusion Language Modelcited by 13
- 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidancecited by 12
- 2024Towards Collaborative Intelligence: Propagating Intentions and Reasoning for Multi-Agent Coordination with Large Language Modelscited by 10
- 2025Execution Guided Line-by-Line Code Generationcited by 10
- 2024OOP: Object-Oriented Programming Evaluation Benchmark for Large Language Modelscited by 8
- 2024Harnessing Business and Media Insights with Large Language Modelscited by 7
- 2024Planning-Driven Programming: A Large Language Model Programming Workflowcited by 7
- 2025Large Language Model Guided Self-Debugging Code Generationcited by 7
- 2025Efficient LLM Collaboration via Planningcited by 7
- 2023FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categories and Test Code Repaircited by 6
- 2023Bridging Code Semantic and LLMs: Semantic Chain-of-Thought Prompting for Code Generationcited by 6
- 2024On the Limitations of Embedding Based Methods for Measuring Functional Correctness for Code Generationcited by 6
- 2025RobuNFR: Evaluating the Robustness of Large Language Models on Non-Functional Requirements Aware Code Generationcited by 5
- 2026SEMAG: Self-Evolutionary Multi-Agent Code Generationcited by 5
- 2024DOCE: Finding the Sweet Spot for Execution-Based Code Generationcited by 4
- 2024CodeSift: An LLM-Based Reference-Less Framework for Automatic Code Validationcited by 4
- 2024SeCodePLT: A Unified Platform for Evaluating the Security of Code GenAIcited by 4
- 2025NL-Debugging: Exploiting Natural Language as an Intermediate Representation for Code Debuggingcited by 4
- 2025GeoCAD: Local Geometry-Controllable CAD Generation with Large Language Modelscited by 4
- 2025MERA Code: A Unified Framework for Evaluating Code Generation Across Taskscited by 4
- 2025When Names Disappear: Revealing What LLMs Actually Understand About Codecited by 4
- 2026Multi-agent Collaboration with State Managementcited by 4
- 2023Neural Machine Translation for Code Generationcited by 3
- 2024Exploring Data-Efficient Adaptation of Large Language Models for Code Generationcited by 3
- 2024Thinking Before Running! Efficient Code Generation with Thorough Exploration and Optimal Refinementcited by 3
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 3
- 2025Understanding and Bridging the Planner-Coder Gap: A Systematic Study on the Robustness of Multi-Agent Systems for Code Generationcited by 3
- 2026CodeCircuit: Toward Inferring LLM-Generated Code Correctness via Attribution Graphscited by 3
- 2024Exploring Language Model's Code Generation Ability with Auxiliary Functionscited by 2
- 2025MoT: Modularization-of-Thought Prompting for Effective Code Generationcited by 2
- 2025Rethinking the Capability of Fine-Tuned Language Models for Automated Vulnerability Repaircited by 2
- 2026RefineEvo: Planning-Guided Heuristic Evolution with Bidirectional Experiencecited by 2
50 most cited of 66 All 66 (JSON)
- 2026Ideation Arena: Evaluating LLM Generated Research Ideas with Battle-style Human Expert Assessment30 Aug 2026
- 2026Archer: Adaptive Reuse of Cached Hidden States for Efficient Rollback in Diffusion Language Models8 Aug 2026
- 2026Who Grades the Grader? Co-Evolving Evaluation Metrics and Skills for Self-Improving LLM Agents14 Jul 2026
- 2026RefineEvo: Planning-Guided Heuristic Evolution with Bidirectional Experience13 Jul 2026
- 2026Multi-agent Collaboration with State Management19 May 2026
- 2026PRISM: A Benchmark for Programmatic Spatial-Temporal Reasoning19 May 2026
- 2026Beyond Execution: Static-Analysis Rewards and Hint-Conditioned Diffusion RL for Code Generation16 May 2026
- 2026RuC: HDL-Agnostic Rule Completion Benchmark Generation30 Apr 2026
- 2026CollabCoder: Plan-Code Co-Evolution via Collaborative Decision-Making for Efficient Code Generation15 Apr 2026
- 2026SEMAG: Self-Evolutionary Multi-Agent Code Generation16 Mar 2026
- 2026AI-for-Science Low-code Platform with Bayesian Adversarial Multi-Agent Framework3 Mar 2026
- 2026Rethinking Code Similarity for Automated Algorithm Design with LLMs3 Mar 2026
38 more
- 2026CodeCircuit: Toward Inferring LLM-Generated Code Correctness via Attribution Graphs6 Feb 2026
- 2026Adaptive Confidence Gating in Multi-Agent Collaboration for Efficient and Optimized Code Generation29 Jan 2026
- 2026LLM Security and Safety: Insights from Homotopy-Inspired Prompt Obfuscation20 Jan 2026
- 2025Rethinking the Capability of Fine-Tuned Language Models for Automated Vulnerability Repair27 Dec 2025
- 2025MATCH: Task-Driven Code Evaluation through Contrastive Learning27 Oct 2025
- 2025CodeRL+: Improving Code Generation via Reinforcement with Execution Semantics Alignment21 Oct 2025
- 2025Saber: An Efficient Sampling with Adaptive Acceleration and Backtracking Enhanced Remasking for Diffusion Language Model20 Oct 2025
- 2025Understanding and Bridging the Planner-Coder Gap: A Systematic Study on the Robustness of Multi-Agent Systems for Code Generation12 Oct 2025
- 2025MAPRO: Recasting Multi-Agent Prompt Optimization as Maximum a Posteriori Inference8 Oct 2025
- 2025When Names Disappear: Revealing What LLMs Actually Understand About Code3 Oct 2025
- 2025Principled Personas: Defining and Measuring the Intended Effects of Persona Prompting on Task Performance27 Aug 2025
- 2025MERA Code: A Unified Framework for Evaluating Code Generation Across Tasks16 Jul 2025
- 2025code_transformed: The Influence of Large Language Models on Code13 Jun 2025
- 2025Efficient LLM Collaboration via Planning13 Jun 2025
- 2025Execution Guided Line-by-Line Code Generation12 Jun 2025
- 2025GeoCAD: Local Geometry-Controllable CAD Generation with Large Language Models12 Jun 2025
- 2025CODE-DITING: A Reasoning-Based Metric for Functional Alignment in Code Evaluation26 May 2025
- 2025NL-Debugging: Exploiting Natural Language as an Intermediate Representation for Code Debugging21 May 2025
- 2025Paper2Code: Automating Code Generation from Scientific Papers in Machine Learning24 Apr 2025
- 2025CodeCrash: Exposing LLM Fragility to Misleading Natural Language in Code Reasoning19 Apr 2025
- 2025RobuNFR: Evaluating the Robustness of Large Language Models on Non-Functional Requirements Aware Code Generation28 Mar 2025
- 2025MoT: Modularization-of-Thought Prompting for Effective Code Generation16 Mar 2025
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Quality7 Mar 2025
- 2025Mitigating Sensitive Information Leakage in LLMs4Code through Machine Unlearning9 Feb 2025
- 2025CODESIM: Multi-Agent Code Generation and Problem Solving through Simulation-Driven Planning and Debugging8 Feb 2025
- 2025Large Language Model Guided Self-Debugging Code Generation5 Feb 2025
- 2024Thinking Before Running! Efficient Code Generation with Thorough Exploration and Optimal Refinement30 Dec 2024
- 2024Planning-Driven Programming: A Large Language Model Programming Workflow21 Nov 2024
- 2024SeCodePLT: A Unified Platform for Evaluating the Security of Code GenAI14 Oct 2024
- 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidance2 Oct 2024
- 2024RethinkMCTS: Refining Erroneous Thoughts in Monte Carlo Tree Search for Code Generation15 Sep 2024
- 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep 2024
- 2024CodeSift: An LLM-Based Reference-Less Framework for Automatic Code Validation28 Aug 2024
- 2024DOCE: Finding the Sweet Spot for Execution-Based Code Generation25 Aug 2024
- 2024What can Large Language Models Capture about Code Functional Equivalence?20 Aug 2024
- 2024Towards Collaborative Intelligence: Propagating Intentions and Reasoning for Multi-Agent Coordination with Large Language Models17 Jul 2024
- 2024FuncEvalGMN: Evaluating Functional Correctness of SQL via Graph Matching Network9 Jul 2024
- 2024Prompting Techniques for Secure Code Generation: A Systematic Investigation9 Jul 2024
50 newest of 66 All 66 (JSON)
- 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solvingcited by 177
- 2023CodeCoT: Tackling Code Syntax Errors in CoT Reasoning for Code Generationcited by 29
- 2024RethinkMCTS: Refining Erroneous Thoughts in Monte Carlo Tree Search for Code Generationcited by 25
- 2025CodeCrash: Exposing LLM Fragility to Misleading Natural Language in Code Reasoningcited by 14
- 2024Towards Collaborative Intelligence: Propagating Intentions and Reasoning for Multi-Agent Coordination with Large Language Modelscited by 10
- 2025Efficient LLM Collaboration via Planningcited by 7
- 2023Bridging Code Semantic and LLMs: Semantic Chain-of-Thought Prompting for Code Generationcited by 6
- 2024Thinking Before Running! Efficient Code Generation with Thorough Exploration and Optimal Refinementcited by 3
- 2025MoT: Modularization-of-Thought Prompting for Effective Code Generationcited by 2
- 2025Rethinking the Capability of Fine-Tuned Language Models for Automated Vulnerability Repaircited by 2
- 2025CODE-DITING: A Reasoning-Based Metric for Functional Alignment in Code Evaluationcited by 1
- 2026Rethinking Code Similarity for Automated Algorithm Design with LLMscited by 1
12 most cited of 14 All 14 (JSON)
- 2026PRISM: A Benchmark for Programmatic Spatial-Temporal Reasoning19 May 2026
- 2026Rethinking Code Similarity for Automated Algorithm Design with LLMs3 Mar 2026
- 2026Adaptive Confidence Gating in Multi-Agent Collaboration for Efficient and Optimized Code Generation29 Jan 2026
- 2025Rethinking the Capability of Fine-Tuned Language Models for Automated Vulnerability Repair27 Dec 2025
- 2025Efficient LLM Collaboration via Planning13 Jun 2025
- 2025CODE-DITING: A Reasoning-Based Metric for Functional Alignment in Code Evaluation26 May 2025
- 2025CodeCrash: Exposing LLM Fragility to Misleading Natural Language in Code Reasoning19 Apr 2025
- 2025MoT: Modularization-of-Thought Prompting for Effective Code Generation16 Mar 2025
- 2024Thinking Before Running! Efficient Code Generation with Thorough Exploration and Optimal Refinement30 Dec 2024
- 2024RethinkMCTS: Refining Erroneous Thoughts in Monte Carlo Tree Search for Code Generation15 Sep 2024
- 2024Towards Collaborative Intelligence: Propagating Intentions and Reasoning for Multi-Agent Coordination with Large Language Models17 Jul 2024
- 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solving18 May 2024
12 newest of 14 All 14 (JSON)
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agentscited by 77
- 2024SOEN-101: Code Generation by Emulating Software Process Models Using Large Language Model Agentscited by 34
- 2023AgentCoder: Multi-Agent-based Code Generation with Iterative Testing and Optimisationcited by 31
- 2025CODESIM: Multi-Agent Code Generation and Problem Solving through Simulation-Driven Planning and Debuggingcited by 31
- 2025MAPRO: Recasting Multi-Agent Prompt Optimization as Maximum a Posteriori Inferencecited by 15
- 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidancecited by 12
- 2026SEMAG: Self-Evolutionary Multi-Agent Code Generationcited by 5
- 2026Multi-agent Collaboration with State Managementcited by 4
- 2025Understanding and Bridging the Planner-Coder Gap: A Systematic Study on the Robustness of Multi-Agent Systems for Code Generationcited by 3
- 2026Who Grades the Grader? Co-Evolving Evaluation Metrics and Skills for Self-Improving LLM Agentscited by 1
- 2026AI-for-Science Low-code Platform with Bayesian Adversarial Multi-Agent Frameworkcited by 0
- 2026Who Grades the Grader? Co-Evolving Evaluation Metrics and Skills for Self-Improving LLM Agents14 Jul 2026
- 2026Multi-agent Collaboration with State Management19 May 2026
- 2026SEMAG: Self-Evolutionary Multi-Agent Code Generation16 Mar 2026
- 2026AI-for-Science Low-code Platform with Bayesian Adversarial Multi-Agent Framework3 Mar 2026
- 2025Understanding and Bridging the Planner-Coder Gap: A Systematic Study on the Robustness of Multi-Agent Systems for Code Generation12 Oct 2025
- 2025MAPRO: Recasting Multi-Agent Prompt Optimization as Maximum a Posteriori Inference8 Oct 2025
- 2025CODESIM: Multi-Agent Code Generation and Problem Solving through Simulation-Driven Planning and Debugging8 Feb 2025
- 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidance2 Oct 2024
- 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep 2024
- 2024SOEN-101: Code Generation by Emulating Software Process Models Using Large Language Model Agents23 Mar 2024
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agents1 Jan 2024
- 2023AgentCoder: Multi-Agent-based Code Generation with Iterative Testing and Optimisation20 Dec 2023
- 2025Saber: An Efficient Sampling with Adaptive Acceleration and Backtracking Enhanced Remasking for Diffusion Language Modelcited by 13
- 2026Beyond Execution: Static-Analysis Rewards and Hint-Conditioned Diffusion RL for Code Generationcited by 0
- 2026Archer: Adaptive Reuse of Cached Hidden States for Efficient Rollback in Diffusion Language Modelscited by 0
- 2026Archer: Adaptive Reuse of Cached Hidden States for Efficient Rollback in Diffusion Language Models8 Aug 2026
- 2026Beyond Execution: Static-Analysis Rewards and Hint-Conditioned Diffusion RL for Code Generation16 May 2026
- 2025Saber: An Efficient Sampling with Adaptive Acceleration and Backtracking Enhanced Remasking for Diffusion Language Model20 Oct 2025
- 2024Generalization or Memorization: Data Contamination and Trustworthy Evaluation for Large Language Modelscited by 119
- 2025Paper2Code: Automating Code Generation from Scientific Papers in Machine Learningcited by 67
- 2023CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translationcited by 55
- 2024Prompting Techniques for Secure Code Generation: A Systematic Investigationcited by 33
- 2025CodeRL+: Improving Code Generation via Reinforcement with Execution Semantics Alignmentcited by 22
- 2025Principled Personas: Defining and Measuring the Intended Effects of Persona Prompting on Task Performancecited by 17
- 2023FRANC: A Lightweight Framework for High-Quality Code Generationcited by 14
- 2024What can Large Language Models Capture about Code Functional Equivalence?cited by 13
- 2025Execution Guided Line-by-Line Code Generationcited by 10
- 2024OOP: Object-Oriented Programming Evaluation Benchmark for Large Language Modelscited by 8
- 2024Harnessing Business and Media Insights with Large Language Modelscited by 7
- 2024Planning-Driven Programming: A Large Language Model Programming Workflowcited by 7
12 most cited of 36 All 36 (JSON)
- 2026Ideation Arena: Evaluating LLM Generated Research Ideas with Battle-style Human Expert Assessment30 Aug 2026
- 2026RefineEvo: Planning-Guided Heuristic Evolution with Bidirectional Experience13 Jul 2026
- 2026RuC: HDL-Agnostic Rule Completion Benchmark Generation30 Apr 2026
- 2026CollabCoder: Plan-Code Co-Evolution via Collaborative Decision-Making for Efficient Code Generation15 Apr 2026
- 2026CodeCircuit: Toward Inferring LLM-Generated Code Correctness via Attribution Graphs6 Feb 2026
- 2026LLM Security and Safety: Insights from Homotopy-Inspired Prompt Obfuscation20 Jan 2026
- 2025MATCH: Task-Driven Code Evaluation through Contrastive Learning27 Oct 2025
- 2025CodeRL+: Improving Code Generation via Reinforcement with Execution Semantics Alignment21 Oct 2025
- 2025When Names Disappear: Revealing What LLMs Actually Understand About Code3 Oct 2025
- 2025Principled Personas: Defining and Measuring the Intended Effects of Persona Prompting on Task Performance27 Aug 2025
- 2025MERA Code: A Unified Framework for Evaluating Code Generation Across Tasks16 Jul 2025
- 2025code_transformed: The Influence of Large Language Models on Code13 Jun 2025
12 newest of 36 All 36 (JSON)