Testing Causality in Scientific Modelling Software

09/01/2022
by   Andrew G. Clark, et al.
0

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 and Sensitivity Analysis, a posteriori. We present three case studies covering real-world scientific models, demonstrating how the Causal Testing Framework can infer test outcomes from reused, confounded test data to provide an efficient solution for testing scientific modelling software.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/01/2022

Bayesian causal inference in automotive software engineering and online evaluation

Randomised field experiments, such as A/B testing, have long been the go...
research
03/29/2023

Applications of Causality and Causal Inference in Software Engineering

Causal inference is a study of causal relationships between events and t...
research
01/16/2023

Applying causal inference to inform early-childhood policy from administrative data

Improving public policy is one of the key roles of governments, and they...
research
05/17/2023

A Survey on Causal Discovery: Theory and Practice

Understanding the laws that govern a phenomenon is the core of scientifi...
research
07/06/2020

A review of spatial causal inference methods for environmental and epidemiological applications

The scientific rigor and computational methods of causal inference have ...
research
12/13/2019

Network Data

Many economic activities are embedded in networks: sets of agents and th...
research
03/02/2023

Reasoning-Based Software Testing

With software systems becoming increasingly pervasive and autonomous, ou...

Please sign up or login with your details

Forgot password? Click here to reset