Causality in Configurable Software Systems

01/18/2022
by   Clemens Dubslaff, et al.
0

Detecting and understanding reasons for defects and inadvertent behavior in software is challenging due to their increasing complexity. In configurable software systems, the combinatorics that arises from the multitude of features a user might select from adds a further layer of complexity. We introduce the notion of feature causality, which is based on counterfactual reasoning and inspired by the seminal definition of actual causality by Halpern and Pearl. Feature causality operates at the level of system configurations and is capable of identifying features and their interactions that are the reason for emerging functional and non-functional properties. We present various methods to explicate these reasons, in particular well-established notions of responsibility and blame that we extend to the feature-oriented setting. Establishing a close connection of feature causality to prime implicants, we provide algorithms to effectively compute feature causes and causal explications. By means of an evaluation on a wide range of configurable software systems, including community benchmarks and real-world systems, we demonstrate the feasibility of our approach: We illustrate how our notion of causality facilitates to identify root causes, estimate the effects of features, and detect feature interactions.

READ FULL TEXT
research
12/29/2009

Why so? or Why no? Functional Causality for Explaining Query Answers

In this paper, we propose causality as a unified framework to explain qu...
research
06/05/2020

From Checking to Inference: Actual Causality Computations as Optimization Problems

Actual causality is increasingly well understood. Recent formal approach...
research
07/11/2023

Reducing Causality to Functions with Structural Models

The precise definition of causality is currently an open problem in phil...
research
03/06/2013

Causality in concurrent systems

Concurrent systems identify systems, either software, hardware or even b...
research
10/29/2019

Feature relevance quantification in explainable AI: A causality problem

We discuss promising recent contributions on quantifying feature relevan...
research
10/25/2017

Sufficient and necessary causation are dual

Causation has been the issue of philosophic debate since Hippocrates. Re...
research
10/26/2016

Causality and Networks

Causality is omnipresent in scientists' verbalisations of their understa...

Please sign up or login with your details

Forgot password? Click here to reset