Execution-based Evaluation for Data Science Code Generation Models
Not on the map. Why?
Abstract (arXiv)
Code generation models can benefit data scientists' productivity by automatically generating code from context and text descriptions. An important measure of the modeling progress is whether a model can generate code that can correctly execute to solve the task. However, due to the lack of an evaluation dataset that directly supports execution-based model evaluation, existing work relies on code surface form similarity metrics (e.g., BLEU, CodeBLEU) for model selection, which can be inaccurate. To remedy this, we introduce ExeDS, an evaluation dataset for execution evaluation for data science code generation tasks. ExeDS contains a set of 534 problems from Jupyter Notebooks, each consisting of code context, task description, reference program, and the desired execution output. With ExeDS, we evaluate the execution performance of five state-of-the-art code generation models that have achieved high surface-form evaluation scores. Our experiments show that models with high surface-form scores do not necessarily perform well on execution metrics, and execution-based metrics can better capture model code generation errors. Source code and data can be found at https://github.com/Jun-jie-Huang/ExeDS
Key facts. Cited by 31 papers in the map (data through 7 Oct 2026). Builds on 24 of its 38 references that are in the map. First posted on arXiv 17 Nov 2022.
Builds on
24 of 38 references.
References · 24
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
- 2019Release Strategies and the Social Impacts of Language Modelscited by 505
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
12 more
- 2020Unsupervised Translation of Programming Languagescited by 262
- 2019SPoC: Search-based Pseudocode to Codecited by 176
- 2018Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflowcited by 165
- 2018Mapping Language to Code in Programmatic Contextcited by 104
- 2018NL2Bash: A Corpus and Semantic Parser for Natural Language Interface to the Linux Operating Systemcited by 97
- 2020PyMT5: multi-mode translation of natural language and Python code with transformerscited by 80
- 2020Deep Learning for Source Code Modeling and Generation: Models, Applications and Challengescited by 55
- 2019JuICe: A Large Scale Distantly Supervised Dataset for Open Domain Context-based Code Generationcited by 49
- 2022Training and Evaluating a Jupyter Notebook Data Science Assistantcited by 31
- 2018NAPS: Natural Program Synthesis Datasetcited by 14
- 2021HAConvGNN: Hierarchical Attention Based Convolutional Graph Neural Network for Code Documentation Generation in Jupyter Notebookscited by 6
- 2022A Survey on Artificial Intelligence for Source Code: A Dialogue Systems Perspectivecited by 3
Built on by
Citing papers per year: 2022: 3; 2023: 8; 2024: 11; 2025: 8; 2026: 1.
31 papers.
Sort:
By area:
- 2024A Survey on Large Language Models for Code Generationcited by 646
- 2023InterCode: Standardizing and Benchmarking Interactive Coding with Execution Feedbackcited by 229
- 2023CodeBERTScore: Evaluating Code Generation with Pretrained Models of Codecited by 101
- 2022Execution-Based Evaluation for Open-Domain Code Generationcited by 89
- 2022Natural Language to Code Generation in Interactive Data Science Notebookscited by 86
- 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
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
- 2024Are LLMs Capable of Data-based Statistical and Causal Reasoning? Benchmarking Advanced Quantitative Reasoning with Datacited by 61
- 2023xCodeEval: A Large Scale Multilingual Multitask Benchmark for Code Understanding, Generation, Translation and Retrievalcited by 46
- 2023SelfEvolve: A Code Evolution Framework via Large Language Modelscited by 43
- 2023Data Contamination Through the Lens of Timecited by 39
- 2023CodeScope: An Execution-based Multilingual Multitask Multidimensional Benchmark for Evaluating LLMs on Code Understanding and Generationcited by 39
19 more
- 2024On the Impacts of Contexts on Repository-Level Code Generationcited by 21
- 2022Python Code Generation by Asking Clarification Questionscited by 16
- 2024What can Large Language Models Capture about Code Functional Equivalence?cited by 13
- 2025SWE-Dev: Evaluating and Training Autonomous Feature-Driven Software Developmentcited by 13
- 2025CoDet-M4: Detecting Machine-Generated Code in Multi-Lingual, Multi-Generator and Multi-Domain Settingscited by 11
- 2024MMMT-IF: A Challenging Multimodal Multi-Turn Instruction Following Benchmarkcited by 8
- 2024DACO: Towards Application-Driven and Comprehensive Data Analysis via Code Generationcited by 6
- 2024On the Limitations of Embedding Based Methods for Measuring Functional Correctness for Code Generationcited by 6
- 2025On Code-Induced Reasoning in LLMscited by 5
- 2023Capture the Flag: Uncovering Data Insights with Large Language Modelscited by 4
- 2024SimBench: A Framework for Evaluating and Diagnosing LLM-Based Digital-Twin Generation for Multi-Physics Simulationcited by 3
- 2025SURGE: On the Potential of Large Language Models as General-Purpose Surrogate Code Executorscited by 3
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 3
- 2024ScriptSmith: A Unified LLM Framework for Enhancing IT Operations via Automated Bash Script Generation, Assessment, and Refinementcited by 2
- 2025LLM-Supported Natural Language to Bash Translationcited by 2
- 2024Can Large Language Models Replace Data Scientists in Biomedical Research?cited by 1
- 2025CRABS: A syntactic-semantic pincer strategy for bounding LLM interpretation of Python notebookscited by 1
- 2025Self-Bootstrapping Automated Program Repair: Using LLMs to Generate and Evaluate Synthetic Training Data for Bug Repaircited by 0
- 2026ORCA: Evaluating LLMs on Data Science Code Translationcited by 0
- 2026ORCA: Evaluating LLMs on Data Science Code Translation25 Sep 2026
- 2025On Code-Induced Reasoning in LLMs25 Sep 2025
- 2025CRABS: A syntactic-semantic pincer strategy for bounding LLM interpretation of Python notebooks15 Jul 2025
- 2025SWE-Dev: Evaluating and Training Autonomous Feature-Driven Software Development22 May 2025
- 2025Self-Bootstrapping Automated Program Repair: Using LLMs to Generate and Evaluate Synthetic Training Data for Bug Repair12 May 2025
- 2025CoDet-M4: Detecting Machine-Generated Code in Multi-Lingual, Multi-Generator and Multi-Domain Settings17 Mar 2025
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Quality7 Mar 2025
- 2025SURGE: On the Potential of Large Language Models as General-Purpose Surrogate Code Executors16 Feb 2025
- 2025LLM-Supported Natural Language to Bash Translation7 Feb 2025
- 2024Can Large Language Models Replace Data Scientists in Biomedical Research?28 Oct 2024
- 2024MMMT-IF: A Challenging Multimodal Multi-Turn Instruction Following Benchmark26 Sep 2024
- 2024ScriptSmith: A Unified LLM Framework for Enhancing IT Operations via Automated Bash Script Generation, Assessment, and Refinement12 Sep 2024
19 more
- 2024SimBench: A Framework for Evaluating and Diagnosing LLM-Based Digital-Twin Generation for Multi-Physics Simulation21 Aug 2024
- 2024What can Large Language Models Capture about Code Functional Equivalence?20 Aug 2024
- 2024On the Impacts of Contexts on Repository-Level Code Generation17 Jun 2024
- 2024A Survey on Large Language Models for Code Generation1 Jun 2024
- 2024On the Limitations of Embedding Based Methods for Measuring Functional Correctness for Code Generation26 Apr 2024
- 2024DACO: Towards Application-Driven and Comprehensive Data Analysis via Code Generation4 Mar 2024
- 2024Are LLMs Capable of Data-based Statistical and Causal Reasoning? Benchmarking Advanced Quantitative Reasoning with Data27 Feb 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
- 2023Capture the Flag: Uncovering Data Insights with Large Language Models21 Dec 2023
- 2023CodeScope: An Execution-based Multilingual Multitask Multidimensional Benchmark for Evaluating LLMs on Code Understanding and Generation14 Nov 2023
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Code14 Nov 2023
- 2023Data Contamination Through the Lens of Time16 Oct 2023
- 2023InterCode: Standardizing and Benchmarking Interactive Coding with Execution Feedback26 Jun 2023
- 2023SelfEvolve: A Code Evolution Framework via Large Language Models5 Jun 2023
- 2023xCodeEval: A Large Scale Multilingual Multitask Benchmark for Code Understanding, Generation, Translation and Retrieval6 Mar 2023
- 2023CodeBERTScore: Evaluating Code Generation with Pretrained Models of Code10 Feb 2023
- 2022Execution-Based Evaluation for Open-Domain Code Generation20 Dec 2022
- 2022Python Code Generation by Asking Clarification Questions19 Dec 2022
- 2022Natural Language to Code Generation in Interactive Data Science Notebooks19 Dec 2022
- 2024A Survey on Large Language Models for Code Generationcited by 646
- 2023InterCode: Standardizing and Benchmarking Interactive Coding with Execution Feedbackcited by 229
- 2023CodeBERTScore: Evaluating Code Generation with Pretrained Models of Codecited by 101
- 2022Execution-Based Evaluation for Open-Domain Code Generationcited by 89
- 2022Natural Language to Code Generation in Interactive Data Science Notebookscited by 86
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
- 2023xCodeEval: A Large Scale Multilingual Multitask Benchmark for Code Understanding, Generation, Translation and Retrievalcited by 46
- 2023SelfEvolve: A Code Evolution Framework via Large Language Modelscited by 43
- 2023Data Contamination Through the Lens of Timecited by 39
- 2023CodeScope: An Execution-based Multilingual Multitask Multidimensional Benchmark for Evaluating LLMs on Code Understanding and Generationcited by 39
- 2024On the Impacts of Contexts on Repository-Level Code Generationcited by 21
- 2022Python Code Generation by Asking Clarification Questionscited by 16
12 most cited of 27 All 27 (JSON)
- 2026ORCA: Evaluating LLMs on Data Science Code Translation25 Sep 2026
- 2025CRABS: A syntactic-semantic pincer strategy for bounding LLM interpretation of Python notebooks15 Jul 2025
- 2025SWE-Dev: Evaluating and Training Autonomous Feature-Driven Software Development22 May 2025
- 2025CoDet-M4: Detecting Machine-Generated Code in Multi-Lingual, Multi-Generator and Multi-Domain Settings17 Mar 2025
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Quality7 Mar 2025
- 2025SURGE: On the Potential of Large Language Models as General-Purpose Surrogate Code Executors16 Feb 2025
- 2025LLM-Supported Natural Language to Bash Translation7 Feb 2025
- 2024Can Large Language Models Replace Data Scientists in Biomedical Research?28 Oct 2024
- 2024MMMT-IF: A Challenging Multimodal Multi-Turn Instruction Following Benchmark26 Sep 2024
- 2024ScriptSmith: A Unified LLM Framework for Enhancing IT Operations via Automated Bash Script Generation, Assessment, and Refinement12 Sep 2024
- 2024SimBench: A Framework for Evaluating and Diagnosing LLM-Based Digital-Twin Generation for Multi-Physics Simulation21 Aug 2024
- 2024What can Large Language Models Capture about Code Functional Equivalence?20 Aug 2024
12 newest of 27 All 27 (JSON)