International Symposium on Leveraging Applications of Formal Methods, Verification, and Validation • Kos, Greece
Time: Sunday, 25.10
Room: Room 2
Authors: Sarika Machhindra Kadam, Hugo Tremblay, Sylvain Hallé
Abstract: Contracts, tests, and assertions are central mechanisms for specifying and checking intended program behavior. Yet a contract may be satisfied for reasons that are only weakly connected to the behavior it is supposed to constrain. A condition may be trivially true, an assertion may be skipped by control flow, or a comparison may succeed without meaningfully depending on the observed result. This paper proposes explainability as a diagnostic perspective for identifying such cases. Con- tracts are viewed as executable functions equipped with explanations, that is, structured accounts of which parts of the input and output actually influenced the verdict. The approach is illustrated with assertions and contract-like checks drawn from recurring patterns observed in real-world test suites.
Paper: 978-3-032-40118-2_12