Testing Causality in Scientific Modelling Software
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 1 Sep 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 1; 2025: 0; 2026: 1.
5 papers.
- 2022Applications of statistical causal inference in software engineeringcited by 12
- 2023Dataflow graphs as complete causal graphscited by 5
- 2024Causal Reasoning in Software Quality Assurance: A Systematic Reviewcited by 3
- 2023CausalOps -- Towards an Industrial Lifecycle for Causal Probabilistic Graphical Modelscited by 0
- 2026Causal Software Engineering: A Vision and Roadmapcited by 0
- 2026Causal Software Engineering: A Vision and Roadmap4 May 2026
- 2024Causal Reasoning in Software Quality Assurance: A Systematic Review30 Aug 2024
- 2023CausalOps -- Towards an Industrial Lifecycle for Causal Probabilistic Graphical Models2 Aug 2023
- 2023Dataflow graphs as complete causal graphs16 Mar 2023
- 2022Applications of statistical causal inference in software engineering21 Nov 2022