A large-scale study on research code quality and execution

被引:0
|
作者
Ana Trisovic
Matthew K. Lau
Thomas Pasquier
Mercè Crosas
机构
[1] Harvard University,Institute for Quantitative Social Science
[2] Chinese Academy of Sciences,CAS Key Laboratory of Forest Ecology and Management, Institute of Applied Ecology
[3] University of British Columbia,Department of Computer Science
来源
关键词
D O I
暂无
中图分类号
学科分类号
摘要
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 failed to complete without error in the initial execution, while 56% failed 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.
引用
收藏
相关论文
共 50 条
  • [41] AN OUTBREAK OF MENINGOCOCCAL DISEASE IN STONEHOUSE - PLANNING AND EXECUTION OF A LARGE-SCALE SURVEY
    STUART, JM
    CARTWRIGHT, KAV
    JONES, DM
    NOAH, ND
    WALL, RJ
    BLACKWELL, CC
    JEPHCOTT, AE
    FERGUSON, IR
    EPIDEMIOLOGY AND INFECTION, 1987, 99 (03): : 579 - 589
  • [42] Execution Feature Extraction and Prediction for Large-scale Graph Processing Applications
    Li, Fangyuan
    2019 SEVENTH INTERNATIONAL CONFERENCE ON ADVANCED CLOUD AND BIG DATA (CBD), 2019, : 84 - 89
  • [43] Predicting Design Impactful Changes in Modern Code Review: A Large-Scale Empirical Study
    Uchoa, Anderson
    Barbosa, Caio
    Coutinho, Daniel
    Oizumi, Willian
    Assuncao, Wesley K. G.
    Vergilio, Silvia Regina
    Pereira, Juliana Alves
    Oliveira, Anderson
    Garcia, Alessandro
    2021 IEEE/ACM 18TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2021), 2021, : 471 - 482
  • [44] Condor: Case Study of a Large-Scale, Physics-Based Code Development Project
    Kendall, Richard P.
    Mark, Andrew
    Squires, Susan E.
    Halverson, Christine A.
    COMPUTING IN SCIENCE & ENGINEERING, 2010, 12 (03) : 22 - 27
  • [45] Analyzing Wikipedia Users' Perceived Quality of Experience: A Large-Scale Study
    Salutari, Flavia
    Da Hora, Diego
    Dubuc, Gilles
    Rossi, Dario
    IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT, 2020, 17 (02): : 1082 - 1095
  • [46] A Large-Scale Empirical Study of Just-in-Time Quality Assurance
    Kamei, Yasutaka
    Shihab, Emad
    Adams, Bram
    Hassan, Ahmed E.
    Mockus, Audris
    Sinha, Anand
    Ubayashi, Naoyasu
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2013, 39 (06) : 757 - 773
  • [47] Large-Scale DVH Quality Study: Correlated Aims Lead Relaxations
    Nohadani, O.
    Roy, A.
    Das, I.
    MEDICAL PHYSICS, 2015, 42 (06) : 3457 - 3457
  • [48] THE QUALITY OF PROXY INFORMATION - SOME RESULTS FROM A LARGE-SCALE STUDY
    MARTIN, J
    BUTCHER, B
    STATISTICIAN, 1982, 31 (04): : 293 - 319
  • [49] THE SHAPING OF RESEARCH DESIGN IN LARGE-SCALE GROUP RESEARCH
    Miller, Delbert C.
    SOCIAL FORCES, 1955, 33 (04) : 383 - 390
  • [50] Quality Assessment of Untargeted Analytical Data in a Large-Scale Metabolomic Study
    Saito, Rintaro
    Sugimoto, Masahiro
    Hirayama, Akiyoshi
    Soga, Tomoyoshi
    Tomita, Masaru
    Takebayashi, Toru
    JOURNAL OF CLINICAL MEDICINE, 2021, 10 (09)