This is the latest version of this eprint.
Clark, A.G., Foster, M., Prifling, B. et al. (4 more authors) (2024) Testing causality in scientific modelling software. ACM Transactions on Software Engineering and Methodology, 33 (1). pp. 1-42. ISSN 1049-331X
Abstract
From simulating galaxy formation to viral transmission in a pandemic, scientific models play a pivotal role in developing scientific theories and supporting government policy decisions that affect us all. Given these critical applications, a poor modelling assumption or bug could have far-reaching consequences. However, scientific models possess several properties that make them notoriously difficult to test, including a complex input space, long execution times, and non-determinism, rendering existing testing techniques impractical. In fields such as epidemiology, where researchers seek answers to challenging causal questions, a statistical methodology known as Causal Inference has addressed similar problems, enabling the inference of causal conclusions from noisy, biased, and sparse data instead of costly experiments. This paper introduces the Causal Testing Framework: a framework that uses Causal Inference techniques to establish causal effects from existing data, enabling users to conduct software testing activities concerning the effect of a change, such as Metamorphic Testing, a posteriori. We present three case studies covering real-world scientific models, demonstrating how the Causal Testing Framework can infer metamorphic test outcomes from reused, confounded test data to provide an efficient solution for testing scientific modelling software.
Metadata
Item Type: | Article |
---|---|
Authors/Creators: |
|
Copyright, Publisher and Additional Information: | © 2023 Copyright held by the owner/author(s). Except as otherwise noted, this author-accepted version of a journal article published in ACM Transactions on Software Engineering and Methodology is made available via the University of Sheffield Research Publications and Copyright Policy under the terms of the Creative Commons Attribution 4.0 International License (CC-BY 4.0), which permits unrestricted use, distribution and reproduction in any medium, provided the original work is properly cited. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ |
Keywords: | Software Testing; Causal Inference; Causal Testing |
Dates: |
|
Institution: | The University of Sheffield |
Academic Units: | The University of Sheffield > Faculty of Engineering (Sheffield) > Department of Computer Science (Sheffield) |
Funding Information: | Funder Grant number ENGINEERING AND PHYSICAL SCIENCE RESEARCH COUNCIL EP/T030526/1 |
Depositing User: | Symplectic Sheffield |
Date Deposited: | 30 Jun 2023 10:22 |
Last Modified: | 09 Oct 2024 14:08 |
Status: | Published |
Publisher: | Association for Computing Machinery (ACM) |
Refereed: | Yes |
Identification Number: | 10.1145/3607184 |
Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:200672 |
Available Versions of this Item
-
Testing causality in scientific modelling software. (deposited 15 Aug 2024 11:44)
- Testing causality in scientific modelling software. (deposited 30 Jun 2023 10:22) [Currently Displayed]