Responsible modelling: Unit testing for infectious disease epidemiology
File(s)
Author(s)
Lucas, Tim CD
Pollington, Timothy M
Davis, Emma L
Hollingsworth, T Deirdre
Type
Journal Article
Abstract
Infectious disease epidemiology is increasingly reliant on large-scale computation and inference. Models have guided health policy for epidemics including COVID-19 and Ebola and endemic diseases including malaria and tuberculosis. Yet a coding bug may bias results, yielding incorrect conclusions and actions causing avoidable harm. We are ethically obliged to make our code as free of error as possible. Unit testing is a coding method to avoid such bugs, but it is rarely used in epidemiology. We demonstrate how unit testing can handle the particular quirks of infectious disease models and aim to increase the uptake of this methodology in our field.
Date Issued
2020-12-01
Date Acceptance
2020-11-21
Citation
Epidemics: the journal of infectious disease dynamics, 2020, 33
ISSN
1755-4365
Publisher
Elsevier
Journal / Book Title
Epidemics: the journal of infectious disease dynamics
Volume
33
Copyright Statement
© 2020 The Author(s). Published by Elsevier B.V. This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/)
License URL
Identifier
http://gateway.webofknowledge.com/gateway/Gateway.cgi?GWVersion=2&SrcApp=PARTNER_APP&SrcAuth=LinksAMR&KeyUT=WOS:000603368600004&DestLinkType=FullRecord&DestApp=ALL_WOS&UsrCustomerID=1ba7043ffcc86c417c072aa74d649202
Subjects
Science & Technology
Life Sciences & Biomedicine
Infectious Diseases
Unit testing
Software development
Reproducible science
Computational models
Publication Status
Published
Article Number
ARTN 100425
Date Publish Online
2020-11-26