Foster, M. orcid.org/0000-0001-8233-9873, Hierons, R.M., Shin, D. et al. (2 more authors) (Accepted: 2025) Using causal inference to test systems with hidden and interacting variables: an evaluative case study. In: EASE '25: Proceedings of the 29th International Conference on Evaluation and Assessment in Software Engineering. 29th International Conference on Evaluation and Assessment in Software Engineering (EASE 2025), 17-20 Jun 2025, Istanbul, Turkey. Association for Computing Machinery (ACM) (In Press)
Abstract
Software systems with large parameter spaces, nondeterminism and high computational cost are challenging to test. Recently, software testing techniques based on causal inference have been successfully applied to systems that exhibit such characteristics, including scientific models and autonomous driving systems. One significant limitation is that these are restricted to test properties where all of the variables involved can be observed and where there are no interactions between variables. In practice, this is rarely guaranteed; the logging infrastructure may not be available to record all of the necessary runtime variable values, and it can often be the case that an output of the system can be affected by complex interactions between variables. To address this, we leverage two additional concepts from causal inference, namely effect modification and instrumental variable methods. We build these concepts into an existing causal testing tool and conduct an evaluative case study which uses the concepts to test three system-level requirements of CARLA, a high-fidelity driving simulator widely used in autonomous vehicle development and testing. The results show that we can obtain reliable test outcomes without requiring large amounts of highly controlled test data or instrumentation of the code, even when variables interact with each other and are not recorded in the test data.
Metadata
Item Type: | Proceedings Paper |
---|---|
Authors/Creators: |
|
Copyright, Publisher and Additional Information: | © 2025 The Author(s). |
Keywords: | Causal Testing; Causal Inference; Software 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: | 25 Apr 2025 09:57 |
Last Modified: | 25 Apr 2025 09:57 |
Status: | In Press |
Publisher: | Association for Computing Machinery (ACM) |
Refereed: | Yes |
Related URLs: | |
Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:225737 |
Download
