A query-based approach for test selection in diagnosis
Test selection in diagnosis is a procedure suggesting tests to be executed when trying to answer the query "What is the diagnosis for this problem?". However, other queries, such as "Is h the diagnosis for this problem?", are relevant as they can involve faster test selection algorithms and they can result in a lower test execution cost. Usually, a one step lookahead entropy minimization strategy is adopted to implement the test selection procedure. However, we show that this strategy can be arbitrarily bad and therefore, it is important to consider several strategies to solve a query. Each strategy taking a different position in the tradeoff computation time vs test execution cost. In this paper, we consider a query-based approach where test selection is justified and driven by a user's specific query. We also study different strategies, optimal and approximate, for test selection. Finally, we illustrate how the operating system discovery (OSD) problem can be solved using a diagnosis framework and how it benefits from a query-based approach.
tests diagnosis queries operating system discovery