Design and use of reference data sets for testing scientific software

Citation
Mg. Cox et Pm. Harris, Design and use of reference data sets for testing scientific software, ANALYT CHIM, 380(2-3), 1999, pp. 339-351
Citations number
17
Categorie Soggetti
Spectroscopy /Instrumentation/Analytical Sciences
Journal title
ANALYTICA CHIMICA ACTA
ISSN journal
00032670 → ACNP
Volume
380
Issue
2-3
Year of publication
1999
Pages
339 - 351
Database
ISI
SICI code
0003-2670(19990202)380:2-3<339:DAUORD>2.0.ZU;2-K
Abstract
A general methodology for evaluating the accuracy of the results produced b y scientific software has been developed at the National Physical Laborator y. The basis of the approach is the design and use of reference data sets a nd corresponding reference results to undertake black-box testing. The approach enables reference data sets and results to be generated in a m anner consistent with the functional specification of the problem addressed by the software. The results returned by the software for the reference da ta are compared objectively with the reference results. Quality metrics are used for this purpose that account for the key aspects of the problem. In this paper it is shown how reference data sets can be designed for testi ng software implementations of solutions to a broad class of problems arisi ng throughout science. It is shown how these data sets can be used in pract ice and how the results provided by software under test can properly be com pared with reference results. The approach is illustrated with three exampl es: (i) mean and standard deviation, (ii) straight-line fitting, and (iii) principal components analysis. Software for such problems is used routinely in many fields, including optical spectrometry. (C) 1999 The National Phys ical Laboratory Published by Elsevier Science B.V. All rights reserved.