Automated testing and debugging of configuration knowledge bases with direct diagnosis

Abstract Configuration knowledge bases are used to represent commonality and variability properties of physical products as well as software artifacts. These knowledge bases can become quite large and complex and – as a result – are in the need of testing and debugging support. If some test cases become inconsistent with the configuration knowledge base, this means that some constraints in the knowledge base do not represent expected variability properties of the underlying product domain. In this article, we present MSSDirect , a direct diagnosis approach for test case driven automated testing and debugging of configuration knowledge bases. This approach helps knowledge engineers identify minimal sets of faulty constraints in a knowledge base which can be regarded as an explanation of the observed faulty behavior. Furthermore, we introduce a tunable parameter $$\\lambda$$ that allows knowledge engineers to explicitly trade off diagnosis minimality against computational efficiency. Our empirical evaluation on six real-world configuration knowledge bases (64 to 13,972 constraints) shows that MSSDirect substantially outperforms existing hitting set based approaches in the majority of evaluated scenarios. Speedups reach up to three orders of magnitude at a 20% rate of inconsistency-inducing test cases and up to four orders of magnitude at higher rates (30%, 50%). In these scenarios, the baseline frequently exceeds timeout limits. For very large knowledge bases with few violated test cases, the baseline remains competitive, indicating complementary strengths of the two approaches.

Authors

Institutions

Publication Details

Journal
Journal of Intelligent Information Systems
Published
2026-09-16
DOI
https://doi.org/10.1007/s10844-026-01090-3
Primary Topic
Advanced Software Engineering Methodologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

Automated testing and debugging of configuration knowledge bases with direct diagnosis

Viet-Man Le, Alexander Felfernig, Sebastian Lubos, Thi Ngoc Trang Tran et al.
Journal of Intelligent Information Systems
Advanced Software Engineering Methodologies
article

Automated testing and debugging of configuration knowledge bases with direct diagnosis

Viet-Man Le, Alexander Felfernig, Sebastian Lubos, Thi Ngoc Trang Tran, Damian Garber
article en

Abstract

Abstract Configuration knowledge bases are used to represent commonality and variability properties of physical products as well as software artifacts. These knowledge bases can become quite large and complex and – as a result – are in the need of testing and debugging support. If some test cases become inconsistent with the configuration knowledge base, this means that some constraints in the knowledge base do not represent expected variability properties of the underlying product domain. In this article, we present MSSDirect , a direct diagnosis approach for test case driven automated testing and debugging of configuration knowledge bases. This approach helps knowledge engineers identify minimal sets of faulty constraints in a knowledge base which can be regarded as an explanation of the observed faulty behavior. Furthermore, we introduce a tunable parameter $$\lambda$$ that allows knowledge engineers to explicitly trade off diagnosis minimality against computational efficiency. Our empirical evaluation on six real-world configuration knowledge bases (64 to 13,972 constraints) shows that MSSDirect substantially outperforms existing hitting set based approaches in the majority of evaluated scenarios. Speedups reach up to three orders of magnitude at a 20% rate of inconsistency-inducing test cases and up to four orders of magnitude at higher rates (30%, 50%). In these scenarios, the baseline frequently exceeds timeout limits. For very large knowledge bases with few violated test cases, the baseline remains competitive, indicating complementary strengths of the two approaches.

Journal of Intelligent Information Systems
Graz University of Technology (AT), Hue University (VN)
Openalex Percentile: Top 8%
Advanced Software Engineering Methodologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.