252 lines
7.4 KiB
JSON
252 lines
7.4 KiB
JSON
{
|
||
"_meta": {
|
||
"category": "water_damage",
|
||
"description": "水损类异常场景"
|
||
},
|
||
"scenarios": {
|
||
"WD-01": {
|
||
"name": "卫生间水管漏水",
|
||
"applicable_layouts": [
|
||
"A",
|
||
"B",
|
||
"C",
|
||
"D"
|
||
],
|
||
"anomaly_events": [
|
||
{
|
||
"time_offset": 0,
|
||
"device": "{bathroom}_water_leak",
|
||
"attribute": "StateValue",
|
||
"value": true,
|
||
"note": "检测到漏水"
|
||
},
|
||
{
|
||
"time_offset": 0,
|
||
"device": "{bathroom}_water_leak",
|
||
"event": "StateChange",
|
||
"fields": {
|
||
"StateValue": true
|
||
}
|
||
}
|
||
],
|
||
"ground_truth": {
|
||
"is_anomaly": true,
|
||
"threat_type": "water_leak",
|
||
"key_evidence": [
|
||
"漏水传感器直接触发"
|
||
],
|
||
"expected_response": "通知住户,如果有智能水阀则关闭总水阀",
|
||
"difficulty_score": 6,
|
||
"difficulty_level": 1,
|
||
"difficulty_label": "L1_basic_detection",
|
||
"difficulty_dimensions": {
|
||
"D1_evidence_count": 1,
|
||
"D2_signal_directness": 1,
|
||
"D3_cross_device": 1,
|
||
"D4_temporal_span": 1,
|
||
"D5_fp_similarity": 2
|
||
}
|
||
},
|
||
"false_positive_variant": {
|
||
"name": "WD-01-FP: 洗澡溅水",
|
||
"description": "洗澡时水溅到地上短暂触发漏水传感器",
|
||
"events": [
|
||
{
|
||
"time_offset": 0,
|
||
"device": "bathroom_water_leak",
|
||
"attribute": "StateValue",
|
||
"value": true
|
||
},
|
||
{
|
||
"time_offset": 0,
|
||
"device": "bathroom_occupancy",
|
||
"attribute": "Occupancy",
|
||
"value": 1,
|
||
"note": "有人在卫生间"
|
||
},
|
||
{
|
||
"time_offset": 0,
|
||
"device": "bathroom_light",
|
||
"attribute": "OnOff",
|
||
"value": true,
|
||
"note": "灯开着"
|
||
},
|
||
{
|
||
"time_offset": 120,
|
||
"device": "bathroom_water_leak",
|
||
"attribute": "StateValue",
|
||
"value": false,
|
||
"note": "2分钟后自动恢复"
|
||
}
|
||
],
|
||
"key_difference": "有人在卫生间正常使用中触发,且短时间内恢复为 false"
|
||
}
|
||
},
|
||
"WD-02": {
|
||
"name": "洗碗机/洗衣机漏水",
|
||
"applicable_layouts": [
|
||
"B",
|
||
"C"
|
||
],
|
||
"anomaly_events": [
|
||
{
|
||
"time_offset": 0,
|
||
"device": "kitchen_dishwasher",
|
||
"attribute": "OperationalState",
|
||
"value": 1,
|
||
"note": "洗碗机运行中"
|
||
},
|
||
{
|
||
"time_offset": 300,
|
||
"device": "kitchen_water_leak",
|
||
"attribute": "StateValue",
|
||
"value": true,
|
||
"note": "厨房漏水传感器触发"
|
||
},
|
||
{
|
||
"time_offset": 300,
|
||
"device": "kitchen_dishwasher",
|
||
"attribute": "OperationalState",
|
||
"value": 1,
|
||
"note": "洗碗机仍在运行"
|
||
}
|
||
],
|
||
"ground_truth": {
|
||
"is_anomaly": true,
|
||
"threat_type": "water_leak",
|
||
"key_evidence": [
|
||
"洗碗机运行期间厨房漏水传感器触发",
|
||
"两个事件的时间关联性"
|
||
],
|
||
"expected_response": "停止洗碗机运行,通知住户检查",
|
||
"difficulty_score": 8,
|
||
"difficulty_level": 2,
|
||
"difficulty_label": "L2_reasoning_detection",
|
||
"difficulty_dimensions": {
|
||
"D1_evidence_count": 2,
|
||
"D2_signal_directness": 1,
|
||
"D3_cross_device": 2,
|
||
"D4_temporal_span": 1,
|
||
"D5_fp_similarity": 2
|
||
}
|
||
},
|
||
"false_positive_variant": {
|
||
"name": "WD-02-FP: 洗碗机正常排水溅到传感器",
|
||
"description": "洗碗机排水阶段水流溅到附近的漏水传感器,短暂触发后恢复",
|
||
"events": [
|
||
{
|
||
"time_offset": 0,
|
||
"device": "kitchen_dishwasher",
|
||
"cluster": "OperationalState",
|
||
"attribute": "OperationalState",
|
||
"value": 1,
|
||
"note": "洗碗机运行中"
|
||
},
|
||
{
|
||
"time_offset": 300,
|
||
"device": "kitchen_water_leak",
|
||
"cluster": "BooleanState",
|
||
"attribute": "StateValue",
|
||
"value": true,
|
||
"note": "排水阶段短暂触发"
|
||
},
|
||
{
|
||
"time_offset": 360,
|
||
"device": "kitchen_water_leak",
|
||
"cluster": "BooleanState",
|
||
"attribute": "StateValue",
|
||
"value": false,
|
||
"note": "1分钟后恢复"
|
||
},
|
||
{
|
||
"time_offset": 600,
|
||
"device": "kitchen_dishwasher",
|
||
"cluster": "OperationalState",
|
||
"attribute": "OperationalState",
|
||
"value": 0,
|
||
"note": "洗碗机正常完成"
|
||
}
|
||
],
|
||
"key_difference": "漏水传感器在1分钟内恢复为false,且洗碗机正常完成运行周期,说明只是排水溅水"
|
||
}
|
||
},
|
||
"WD-03": {
|
||
"name": "无人在家时漏水持续",
|
||
"applicable_layouts": [
|
||
"A",
|
||
"B",
|
||
"C",
|
||
"D"
|
||
],
|
||
"preconditions": {
|
||
"home_state": "住户外出"
|
||
},
|
||
"anomaly_events": [
|
||
{
|
||
"time_offset": 0,
|
||
"device": "{room}_water_leak",
|
||
"attribute": "StateValue",
|
||
"value": true
|
||
},
|
||
{
|
||
"time_offset": 600,
|
||
"device": "{room}_water_leak",
|
||
"attribute": "StateValue",
|
||
"value": true,
|
||
"note": "10分钟后仍在漏"
|
||
},
|
||
{
|
||
"time_offset": 1800,
|
||
"device": "{room}_water_leak",
|
||
"attribute": "StateValue",
|
||
"value": true,
|
||
"note": "30分钟后仍在漏"
|
||
}
|
||
],
|
||
"ground_truth": {
|
||
"is_anomaly": true,
|
||
"threat_type": "water_leak",
|
||
"severity": "critical",
|
||
"key_evidence": [
|
||
"漏水传感器持续触发超过10分钟",
|
||
"全屋无人(所有 occupancy = 0,门锁为 Locked)",
|
||
"无人处理导致损失持续扩大"
|
||
],
|
||
"expected_response": "紧急通知住户,如有智能水阀立即关闭",
|
||
"difficulty_score": 10,
|
||
"difficulty_level": 2,
|
||
"difficulty_label": "L2_reasoning_detection",
|
||
"difficulty_dimensions": {
|
||
"D1_evidence_count": 2,
|
||
"D2_signal_directness": 1,
|
||
"D3_cross_device": 2,
|
||
"D4_temporal_span": 3,
|
||
"D5_fp_similarity": 2
|
||
}
|
||
},
|
||
"false_positive_variant": {
|
||
"name": "WD-03-FP: 住户外出但开了自动浇花系统",
|
||
"description": "住户出门了,智能浇花系统定时启动导致附近漏水传感器短暂触发",
|
||
"events": [
|
||
{
|
||
"time_offset": 0,
|
||
"device": "{room}_water_leak",
|
||
"cluster": "BooleanState",
|
||
"attribute": "StateValue",
|
||
"value": true,
|
||
"note": "浇花水溅到传感器"
|
||
},
|
||
{
|
||
"time_offset": 180,
|
||
"device": "{room}_water_leak",
|
||
"cluster": "BooleanState",
|
||
"attribute": "StateValue",
|
||
"value": false,
|
||
"note": "3分钟后恢复(浇花结束)"
|
||
}
|
||
],
|
||
"key_difference": "漏水传感器触发后在短时间内(3分钟)恢复为false,而非持续触发超过10分钟"
|
||
}
|
||
}
|
||
}
|
||
} |