mlsanityData to 7 Oct 2026

Execution-based Evaluation for Data Science Code Generation Models

arXiv 2211.09374 ↗First posted 17 Nov 2022cs.SE cs.CLcited by 31

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  4. 2021Program Synthesis with Large Language Modelscited by 3,509
  5. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  6. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
  7. 2021Measuring Coding Challenge Competence With APPScited by 879
  8. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  9. 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
  10. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  11. 2019Release Strategies and the Social Impacts of Language Modelscited by 505
  12. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
12 more
  1. 2020Unsupervised Translation of Programming Languagescited by 262
  2. 2019SPoC: Search-based Pseudocode to Codecited by 176
  3. 2018Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflowcited by 165
  4. 2018Mapping Language to Code in Programmatic Contextcited by 104
  5. 2018NL2Bash: A Corpus and Semantic Parser for Natural Language Interface to the Linux Operating Systemcited by 97
  6. 2020PyMT5: multi-mode translation of natural language and Python code with transformerscited by 80
  7. 2020Deep Learning for Source Code Modeling and Generation: Models, Applications and Challengescited by 55
  8. 2019JuICe: A Large Scale Distantly Supervised Dataset for Open Domain Context-based Code Generationcited by 49
  9. 2022Training and Evaluating a Jupyter Notebook Data Science Assistantcited by 31
  10. 2018NAPS: Natural Program Synthesis Datasetcited by 14
  11. 2021HAConvGNN: Hierarchical Attention Based Convolutional Graph Neural Network for Code Documentation Generation in Jupyter Notebookscited by 6
  12. 2022A Survey on Artificial Intelligence for Source Code: A Dialogue Systems Perspectivecited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 3; 2023: 8; 2024: 11; 2025: 8; 2026: 1.

31 papers.

Sort:

By area:

  1. 2024A Survey on Large Language Models for Code Generationcited by 646
  2. 2023InterCode: Standardizing and Benchmarking Interactive Coding with Execution Feedbackcited by 229
  3. 2023CodeBERTScore: Evaluating Code Generation with Pretrained Models of Codecited by 101
  4. 2022Execution-Based Evaluation for Open-Domain Code Generationcited by 89
  5. 2022Natural Language to Code Generation in Interactive Data Science Notebookscited by 86
  6. 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
  7. 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
  8. 2024Are LLMs Capable of Data-based Statistical and Causal Reasoning? Benchmarking Advanced Quantitative Reasoning with Datacited by 61
  9. 2023xCodeEval: A Large Scale Multilingual Multitask Benchmark for Code Understanding, Generation, Translation and Retrievalcited by 46
  10. 2023SelfEvolve: A Code Evolution Framework via Large Language Modelscited by 43
  11. 2023Data Contamination Through the Lens of Timecited by 39
  12. 2023CodeScope: An Execution-based Multilingual Multitask Multidimensional Benchmark for Evaluating LLMs on Code Understanding and Generationcited by 39
19 more
  1. 2024On the Impacts of Contexts on Repository-Level Code Generationcited by 21
  2. 2022Python Code Generation by Asking Clarification Questionscited by 16
  3. 2024What can Large Language Models Capture about Code Functional Equivalence?cited by 13
  4. 2025SWE-Dev: Evaluating and Training Autonomous Feature-Driven Software Developmentcited by 13
  5. 2025CoDet-M4: Detecting Machine-Generated Code in Multi-Lingual, Multi-Generator and Multi-Domain Settingscited by 11
  6. 2024MMMT-IF: A Challenging Multimodal Multi-Turn Instruction Following Benchmarkcited by 8
  7. 2024DACO: Towards Application-Driven and Comprehensive Data Analysis via Code Generationcited by 6
  8. 2024On the Limitations of Embedding Based Methods for Measuring Functional Correctness for Code Generationcited by 6
  9. 2025On Code-Induced Reasoning in LLMscited by 5
  10. 2023Capture the Flag: Uncovering Data Insights with Large Language Modelscited by 4
  11. 2024SimBench: A Framework for Evaluating and Diagnosing LLM-Based Digital-Twin Generation for Multi-Physics Simulationcited by 3
  12. 2025SURGE: On the Potential of Large Language Models as General-Purpose Surrogate Code Executorscited by 3
  13. 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 3
  14. 2024ScriptSmith: A Unified LLM Framework for Enhancing IT Operations via Automated Bash Script Generation, Assessment, and Refinementcited by 2
  15. 2025LLM-Supported Natural Language to Bash Translationcited by 2
  16. 2024Can Large Language Models Replace Data Scientists in Biomedical Research?cited by 1
  17. 2025CRABS: A syntactic-semantic pincer strategy for bounding LLM interpretation of Python notebookscited by 1
  18. 2025Self-Bootstrapping Automated Program Repair: Using LLMs to Generate and Evaluate Synthetic Training Data for Bug Repaircited by 0
  19. 2026ORCA: Evaluating LLMs on Data Science Code Translationcited by 0