Scientific tests and continuous integration strategies to enhance reproducibility in the scientific software context

Matthew Krafczyk, August Shi, Adhithya Bhaskar, Darko Marinov, Victoria Stodden

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Continuous integration (CI) is a well-established technique in commercial and open-source software projects, although not routinely used in scientific publishing. In the scientific software context, CI can serve two functions to increase reproducibility of scientific results: providing an established platform for testing the reproducibility of these results, and demonstrating to other scientists how the code and data generate the published results. We explore scientific software testing and CI strategies using two articles published in the areas of applied mathematics and computational physics. We discuss lessons learned from reproducing these articles as well as examine and discuss existing tests. We introduce the notion of a scientific test as one that produces computational results from a published article. We then consider full result reproduction within a CI environment. If authors find their work too time or resource intensive to easily adapt to a CI context, we recommend the inclusion of results from reduced versions of their work (e.g., run at lower resolution, with shorter time scales, with smaller data sets) alongside their primary results within their article. While these smaller versions may be less interesting scientifically, they can serve to verify that published code and data are working properly. We demonstrate such reduction tests on the two articles studied.

Original languageEnglish (US)
Title of host publicationP-RECS 2019 - Proceedings of the 2nd International Workshop on Practical Reproducible Evaluation of Computer Systems, co-located with HPDC 2019
PublisherAssociation for Computing Machinery
Pages23-28
Number of pages6
ISBN (Electronic)9781450367561
DOIs
StatePublished - Jun 17 2019
Event2nd International Workshop on Practical Reproducible Evaluation of Computer Systems, P-RECS 2019, co-located with HPDC 2019 - Phoenix, United States
Duration: Jun 24 2019 → …

Publication series

NameP-RECS 2019 - Proceedings of the 2nd International Workshop on Practical Reproducible Evaluation of Computer Systems, co-located with HPDC 2019

Conference

Conference2nd International Workshop on Practical Reproducible Evaluation of Computer Systems, P-RECS 2019, co-located with HPDC 2019
Country/TerritoryUnited States
CityPhoenix
Period6/24/19 → …

Keywords

  • Continuous integration
  • Reproducibility
  • Scientific software
  • Software reliability
  • Software testing

ASJC Scopus subject areas

  • Computational Theory and Mathematics
  • Computer Science Applications
  • Software

Fingerprint

Dive into the research topics of 'Scientific tests and continuous integration strategies to enhance reproducibility in the scientific software context'. Together they form a unique fingerprint.

Cite this