90 likes | 217 Vues
Diagnostic Scenarios for the Foodshop Test Case. Overview. Main idea: Three different faults that are detected in the same way The diagnostic algorithm is able to locate the fault by: Exploiting additional information Reasoning on models. Abstract of the FoodShop. Check availability
E N D
Overview Main idea: Three different faults that are detected in the same way The diagnostic algorithm is able to locate the fault by: Exploiting additional information Reasoning on models
Abstract of the FoodShop Check availability and reserve Reserve and reply Ask for user confirmation Reserve and reply Ask for supply Supply Collect supplies Assemble and deliver Deliver
Warehouse: Collect Supplies XXX order code desc code desc XXX code desc 120 Peach jam
Warehouse: Collect Supplies XXX order code desc code desc XXX code desc Mango chutney found instead of peach jam!
Faults (causes) The shop ordered item 120 (peach jam) and the supplier reserved it. When assembling the supply, the supplier put mango chutney in the box. 3 The shop ordered item 120 (peach jam). The supplier reserved 2 (mango chutney). 2 The user has ordered peach jam; in the shop DB the code for peach jam is 120 but this info is wrong (120 is mango chutney) 1 Check availability and reserve Reserve and reply Ask for user confirmation Reserve and reply Supply Ask for supply Collect supplies Assemble and deliver Deliver
Discrimination (1) 120 Mango chutney 120 Peach jam order XXX code desc code desc Mango chutney 1 The user has ordered peach jam; in the shop DB the code for peach jam is 120 but this info is wrong (120 is mango chutney)
Discrimination (2) 2 Mango chutney 120 Peach jam order XXX code desc code desc Mango chutney 2 The shop ordered item 120 (peach jam). The supplier reserved 2 (mango chutney).
120 Peach jam 120 Peach jam order XXX code desc code desc Mango chutney Discrimination (3) 3 The shop ordered item 120 (peach jam) and the supplier reserved it. When assembling the supply, the supplier put mango chutney in the box.