A large-scale study on research code quality and execution
Not on the map. Why?
Abstract (arXiv)
This article presents a study on the quality and execution of research code from publicly-available replication datasets at the Harvard Dataverse repository. Research code is typically created by a group of scientists and published together with academic papers to facilitate research transparency and reproducibility. For this study, we define ten questions to address aspects impacting research reproducibility and reuse. First, we retrieve and analyze more than 2000 replication datasets with over 9000 unique R files published from 2010 to 2020. Second, we execute the code in a clean runtime environment to assess its ease of reuse. Common coding errors were identified, and some of them were solved with automatic code cleaning to aid code execution. We find that 74% of R files crashed in the initial execution, while 56% crashed when code cleaning was applied, showing that many errors can be prevented with good coding practices. We also analyze the replication datasets from journals' collections and discuss the impact of the journal policy strictness on the code re-execution rate. Finally, based on our results, we propose a set of recommendations for code dissemination aimed at researchers, journals, and repositories.
Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). First posted on arXiv 23 Mar 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 3; 2024: 2; 2025: 7; 2026: 8.
22 papers.
Sort:
By area:
- 2024CORE-Bench: Fostering the Credibility of Published Research Through a Computational Reproducibility Agent Benchmarkcited by 115
- 2025Paper2Agent: Reimagining Research Papers As Interactive and Reliable AI Agentscited by 19
- 2025Security and Quality in LLM-Generated Code: A Multi-Language, Multi-Model Analysiscited by 18
- 2024PromSec: Prompt Optimization for Secure Generation of Functional Source Code with Large Language Models (LLMs)cited by 17
- 2023When Good and Reproducible Results are a Giant with Feet of Clay: The Importance of Software Quality in NLPcited by 14
- 2025Reflections on the Reproducibility of Commercial LLM Performance in Empirical Software Engineering Studiescited by 12
- 2022Quantum Advantage Seeker with Kernels (QuASK): a software framework to speed up the research in quantum machine learningcited by 11
- 2026Automating Computational Reproducibility in Social Science: Comparing Prompt-Based and Agent-Based Approachescited by 4
- 2026Benchmark of Benchmarks: Unpacking Influence and Code Repository Quality in LLM Safety Benchmarkscited by 3
- 2025System Log Parsing with Large Language Models: A Reviewcited by 2
- 2021MLDev: Data Science Experiment Automation and Reproducibility Softwarecited by 1
- 2026LLM-Assisted Replication for Quantitative Social Sciencecited by 1
10 more
- 2026Do Papers Tell the Whole Story? A Benchmark and Framework for Uncovering Hidden Implementation Gaps in Bioinformaticscited by 1
- 2026An Agentic Approach Towards Replication Package Quality Evaluationcited by 1
- 2023How much can ChatGPT really help Computational Biologists in Programming?cited by 0
- 2023An End-to-End System for Reproducibility Assessment of Source Code Repositories via Their Readmescited by 0
- 2025Reproducibility of Machine Learning-Based Fault Detection and Diagnosis for HVAC Systems in Buildings: An Empirical Studycited by 0
- 2025It's LIT! Reliability-Optimized LLMs with Inspectable Toolscited by 0
- 2025Simple Agents Outperform Experts in Biomedical Imaging Workflow Optimizationcited by 0
- 2026Persistent Recursive Worlds Enable Autonomous Software Evolutioncited by 0
- 2026Impact of Data Loss in Postprocessing on Training and Inference of Quantum Neural Networkscited by 0
- 2026K-Dense BYOK: An Open-Source AI Research Assistant That Runs Locally and Keeps a Hash-Chained Lab Notebookcited by 0
- 2026K-Dense BYOK: An Open-Source AI Research Assistant That Runs Locally and Keeps a Hash-Chained Lab Notebook4 Sep 2026
- 2026Impact of Data Loss in Postprocessing on Training and Inference of Quantum Neural Networks4 Sep 2026
- 2026Persistent Recursive Worlds Enable Autonomous Software Evolution11 Aug 2026
- 2026An Agentic Approach Towards Replication Package Quality Evaluation1 Jun 2026
- 2026Do Papers Tell the Whole Story? A Benchmark and Framework for Uncovering Hidden Implementation Gaps in Bioinformatics23 Mar 2026
- 2026Benchmark of Benchmarks: Unpacking Influence and Code Repository Quality in LLM Safety Benchmarks3 Mar 2026
- 2026Automating Computational Reproducibility in Social Science: Comparing Prompt-Based and Agent-Based Approaches9 Feb 2026
- 2026LLM-Assisted Replication for Quantitative Social Science4 Feb 2026
- 2025Simple Agents Outperform Experts in Biomedical Imaging Workflow Optimization2 Dec 2025
- 2025It's LIT! Reliability-Optimized LLMs with Inspectable Tools18 Nov 2025
- 2025Reflections on the Reproducibility of Commercial LLM Performance in Empirical Software Engineering Studies29 Oct 2025
- 2025Paper2Agent: Reimagining Research Papers As Interactive and Reliable AI Agents8 Sep 2025
10 more
- 2025Reproducibility of Machine Learning-Based Fault Detection and Diagnosis for HVAC Systems in Buildings: An Empirical Study23 Jul 2025
- 2025System Log Parsing with Large Language Models: A Review7 Apr 2025
- 2025Security and Quality in LLM-Generated Code: A Multi-Language, Multi-Model Analysis3 Feb 2025
- 2024PromSec: Prompt Optimization for Secure Generation of Functional Source Code with Large Language Models (LLMs)19 Sep 2024
- 2024CORE-Bench: Fostering the Credibility of Published Research Through a Computational Reproducibility Agent Benchmark17 Sep 2024
- 2023An End-to-End System for Reproducibility Assessment of Source Code Repositories via Their Readmes14 Oct 2023
- 2023How much can ChatGPT really help Computational Biologists in Programming?17 Sep 2023
- 2023When Good and Reproducible Results are a Giant with Feet of Clay: The Importance of Software Quality in NLP28 Mar 2023
- 2022Quantum Advantage Seeker with Kernels (QuASK): a software framework to speed up the research in quantum machine learning30 Jun 2022
- 2021MLDev: Data Science Experiment Automation and Reproducibility Software26 Jul 2021
- 2024CORE-Bench: Fostering the Credibility of Published Research Through a Computational Reproducibility Agent Benchmarkcited by 115
- 2026Automating Computational Reproducibility in Social Science: Comparing Prompt-Based and Agent-Based Approachescited by 4
- 2026An Agentic Approach Towards Replication Package Quality Evaluationcited by 1
- 2025It's LIT! Reliability-Optimized LLMs with Inspectable Toolscited by 0
- 2026Persistent Recursive Worlds Enable Autonomous Software Evolutioncited by 0
- 2026Persistent Recursive Worlds Enable Autonomous Software Evolution11 Aug 2026
- 2026An Agentic Approach Towards Replication Package Quality Evaluation1 Jun 2026
- 2026Automating Computational Reproducibility in Social Science: Comparing Prompt-Based and Agent-Based Approaches9 Feb 2026
- 2025It's LIT! Reliability-Optimized LLMs with Inspectable Tools18 Nov 2025
- 2024CORE-Bench: Fostering the Credibility of Published Research Through a Computational Reproducibility Agent Benchmark17 Sep 2024
- 2025Paper2Agent: Reimagining Research Papers As Interactive and Reliable AI Agentscited by 19
- 2025Security and Quality in LLM-Generated Code: A Multi-Language, Multi-Model Analysiscited by 18
- 2024PromSec: Prompt Optimization for Secure Generation of Functional Source Code with Large Language Models (LLMs)cited by 17
- 2023When Good and Reproducible Results are a Giant with Feet of Clay: The Importance of Software Quality in NLPcited by 14
- 2025Reflections on the Reproducibility of Commercial LLM Performance in Empirical Software Engineering Studiescited by 12
- 2022Quantum Advantage Seeker with Kernels (QuASK): a software framework to speed up the research in quantum machine learningcited by 11
- 2025System Log Parsing with Large Language Models: A Reviewcited by 2
- 2021MLDev: Data Science Experiment Automation and Reproducibility Softwarecited by 1
- 2026LLM-Assisted Replication for Quantitative Social Sciencecited by 1
- 2026Do Papers Tell the Whole Story? A Benchmark and Framework for Uncovering Hidden Implementation Gaps in Bioinformaticscited by 1
- 2023How much can ChatGPT really help Computational Biologists in Programming?cited by 0
- 2023An End-to-End System for Reproducibility Assessment of Source Code Repositories via Their Readmescited by 0
12 most cited of 16 All 16 (JSON)
- 2026K-Dense BYOK: An Open-Source AI Research Assistant That Runs Locally and Keeps a Hash-Chained Lab Notebook4 Sep 2026
- 2026Impact of Data Loss in Postprocessing on Training and Inference of Quantum Neural Networks4 Sep 2026
- 2026Do Papers Tell the Whole Story? A Benchmark and Framework for Uncovering Hidden Implementation Gaps in Bioinformatics23 Mar 2026
- 2026LLM-Assisted Replication for Quantitative Social Science4 Feb 2026
- 2025Simple Agents Outperform Experts in Biomedical Imaging Workflow Optimization2 Dec 2025
- 2025Reflections on the Reproducibility of Commercial LLM Performance in Empirical Software Engineering Studies29 Oct 2025
- 2025Paper2Agent: Reimagining Research Papers As Interactive and Reliable AI Agents8 Sep 2025
- 2025Reproducibility of Machine Learning-Based Fault Detection and Diagnosis for HVAC Systems in Buildings: An Empirical Study23 Jul 2025
- 2025System Log Parsing with Large Language Models: A Review7 Apr 2025
- 2025Security and Quality in LLM-Generated Code: A Multi-Language, Multi-Model Analysis3 Feb 2025
- 2024PromSec: Prompt Optimization for Secure Generation of Functional Source Code with Large Language Models (LLMs)19 Sep 2024
- 2023An End-to-End System for Reproducibility Assessment of Source Code Repositories via Their Readmes14 Oct 2023
12 newest of 16 All 16 (JSON)