Responsible modelling: Unit testing for infectious disease epidemiology
Author(s) -
Tim Lucas,
Timothy M. Pollington,
Emma L. Davis,
T. Déirdre Hollingsworth
Publication year - 2020
Publication title -
epidemics
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 2.023
H-Index - 41
eISSN - 1755-4365
pISSN - 1878-0067
DOI - 10.1016/j.epidem.2020.100425
Subject(s) - epidemiology , infectious disease (medical specialty) , harm , disease , inference , tuberculosis , medicine , malaria , computer science , intensive care medicine , data science , pathology , artificial intelligence , psychology , social psychology
Highlights• Unit testing can reduce the number of bugs in code but is rarely used in our field. • We present a worked example of adding unit tests to a computational model. • Specific issues such as stochastic code are common in infectious disease modelling. • Unit testing can handle particular quirks of infectious disease models. • We hope to increase the use of unit testing in infectious disease epidemiology.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom