Aligning Offline Metrics and Human Judgments of Value for Code Generation Models
Not on the map. Why?
Abstract (arXiv)
Large language models have demonstrated great potential to assist programmers in generating code. For such human-AI pair programming scenarios, we empirically demonstrate that while generated code is most often evaluated in terms of their functional correctness (i.e., whether generations pass available unit tests), correctness does not fully capture (e.g., may underestimate) the productivity gains these models may provide. Through a user study with N = 49 experienced programmers, we show that while correctness captures high-value generations, programmers still rate code that fails unit tests as valuable if it reduces the overall effort needed to complete a coding task. Finally, we propose a hybrid metric that combines functional correctness and syntactic similarity and show that it achieves a 14% stronger correlation with value and can therefore better represent real-world gains when evaluating and comparing models.
Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 26 of its 39 references that are in the map. First posted on arXiv 29 Oct 2022.
Builds on
26 of 39 references.
References · 26
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2022Competition-Level Code Generation with AlphaCodecited by 1,462
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
- 2021Measuring Coding Challenge Competence With APPScited by 902
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
- 2021Deduplicating Training Data Makes Language Models Bettercited by 714
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 498
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
- 2021Unified Pre-training for Program Understanding and Generationcited by 366
- 2022A Systematic Evaluation of Large Language Models of Codecited by 363
14 more
- 2019Measurement and Fairnesscited by 308
- 2020Unsupervised Translation of Programming Languagescited by 263
- 2020IntelliCode Compose: Code Generation Using Transformercited by 227
- 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 221
- 2019SPoC: Search-based Pseudocode to Codecited by 176
- 2020Tangled up in BLEU: Reevaluating the Evaluation of Automatic Machine Translation Evaluation Metricscited by 158
- 2018The Adverse Effects of Code Duplication in Machine Learning Models of Codecited by 126
- 2022Productivity Assessment of Neural Code Completioncited by 98
- 2022The Fallacy of AI Functionalitycited by 88
- 2017A parallel corpus of Python functions and documentation strings for automated code documentation and code generationcited by 57
- 2021Perfection Not Required? Human-AI Partnerships in Code Translationcited by 42
- 2020The Problem with Metrics is a Fundamental Problem for AIcited by 37
- 2022Deconstructing NLG Evaluation: Evaluation Practices, Assumptions, and Their Implicationscited by 32
- 2014Learning Natural Coding Conventionscited by 29
Built on by
Citing papers per year: 2024: 8; 2025: 4; 2026: 2.
14 papers.
Sort:
By area:
- 2024Magentic-One: A Generalist Multi-Agent System for Solving Complex Taskscited by 232
- 2024CyberMetric: A Benchmark Dataset based on Retrieval-Augmented Generation for Evaluating LLMs in Cybersecurity Knowledgecited by 55
- 2024The RealHumanEval: Evaluating Large Language Models' Abilities to Support Programmerscited by 30
- 2024Improving Steering and Verification in AI-Assisted Data Analysis with Interactive Task Decompositioncited by 29
- 2024CodeBenchGen: Creating Scalable Execution-based Code Generation Benchmarkscited by 23
- 2024Assessing and Verifying Task Utility in LLM-Powered Applicationscited by 16
- 2024On the Limitations of Embedding Based Methods for Measuring Functional Correctness for Code Generationcited by 6
- 2024Towards better Human-Agent Alignment: Assessing Task Utility in LLM-Powered Applicationscited by 5
- 2025The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMscited by 5
- 2026ProxyWar: Dynamic Assessment of LLM Code Generation in Game Arenascited by 3
- 2025David vs. Goliath: A comparative study of different-sized LLMs for code generation in the domain of automotive scenario generationcited by 1
- 2025GAPO: Robust Advantage Estimation for Real-World Code LLMscited by 0
- 2026Fine-grained Approaches for Confidence Calibration of LLMs in Automated Code Revision8 Apr 2026
- 2026ProxyWar: Dynamic Assessment of LLM Code Generation in Game Arenas4 Feb 2026
- 2025Evaluating LLMs for One-Shot Patching of Real and Artificial Vulnerabilities28 Nov 2025
- 2025GAPO: Robust Advantage Estimation for Real-World Code LLMs22 Oct 2025
- 2025David vs. Goliath: A comparative study of different-sized LLMs for code generation in the domain of automotive scenario generation15 Oct 2025
- 2025The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMs23 Jun 2025
- 2024Magentic-One: A Generalist Multi-Agent System for Solving Complex Tasks7 Nov 2024
- 2024Improving Steering and Verification in AI-Assisted Data Analysis with Interactive Task Decomposition2 Jul 2024
- 2024Assessing and Verifying Task Utility in LLM-Powered Applications3 May 2024
- 2024On the Limitations of Embedding Based Methods for Measuring Functional Correctness for Code Generation26 Apr 2024
- 2024The RealHumanEval: Evaluating Large Language Models' Abilities to Support Programmers3 Apr 2024
- 2024CodeBenchGen: Creating Scalable Execution-based Code Generation Benchmarks31 Mar 2024
- 2025GAPO: Robust Advantage Estimation for Real-World Code LLMs22 Oct 2025
- 2024The RealHumanEval: Evaluating Large Language Models' Abilities to Support Programmerscited by 30
- 2024Improving Steering and Verification in AI-Assisted Data Analysis with Interactive Task Decompositioncited by 29
- 2024CodeBenchGen: Creating Scalable Execution-based Code Generation Benchmarkscited by 23
- 2024Assessing and Verifying Task Utility in LLM-Powered Applicationscited by 16
- 2024On the Limitations of Embedding Based Methods for Measuring Functional Correctness for Code Generationcited by 6
- 2025The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMscited by 5
- 2026ProxyWar: Dynamic Assessment of LLM Code Generation in Game Arenascited by 3
- 2025David vs. Goliath: A comparative study of different-sized LLMs for code generation in the domain of automotive scenario generationcited by 1
- 2025Evaluating LLMs for One-Shot Patching of Real and Artificial Vulnerabilitiescited by 0
- 2026Fine-grained Approaches for Confidence Calibration of LLMs in Automated Code Revisioncited by 0
- 2026Fine-grained Approaches for Confidence Calibration of LLMs in Automated Code Revision8 Apr 2026
- 2026ProxyWar: Dynamic Assessment of LLM Code Generation in Game Arenas4 Feb 2026
- 2025Evaluating LLMs for One-Shot Patching of Real and Artificial Vulnerabilities28 Nov 2025
- 2025David vs. Goliath: A comparative study of different-sized LLMs for code generation in the domain of automotive scenario generation15 Oct 2025
- 2025The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMs23 Jun 2025
- 2024Improving Steering and Verification in AI-Assisted Data Analysis with Interactive Task Decomposition2 Jul 2024
- 2024Assessing and Verifying Task Utility in LLM-Powered Applications3 May 2024
- 2024On the Limitations of Embedding Based Methods for Measuring Functional Correctness for Code Generation26 Apr 2024
- 2024The RealHumanEval: Evaluating Large Language Models' Abilities to Support Programmers3 Apr 2024
- 2024CodeBenchGen: Creating Scalable Execution-based Code Generation Benchmarks31 Mar 2024
Similar, not cited
Close in wording, no citation either way
- 2026Beyond Problem Solving: UOJ-Bench for Evaluating Code Generation, Hacking, and Repair in Competitive Programming
- 2026More Code, Less Reuse: Investigating Code Quality and Reviewer Sentiment towards AI-generated Pull Requests
- 2025Correctness Assessment of Code Generated by Large Language Models Using Internal Representations
- 2025Human-Aligned Code Readability Assessment with Large Language Models ↗
- 2024Evaluating and Aligning CodeLLMs on Human Preference
- 2026Code Is More Than Text: Uncertainty Estimation for Code Generation
- 2025SWE-IF: Aligning Code Evaluation with Human Preference
- 2026Primal Generation, Dual Judgment: Self-Training from Test-Time Scaling