{
  "baseline": {
    "detection_rate": 1.0,
    "faults_detected": 21,
    "faults_total": 21,
    "false_alarm_count": 0
  },
  "per_tag": {
    "tank_level": {
      "faults_total": 7,
      "faults_detected": 7,
      "detection_rate": 1.0,
      "alarms": 7,
      "false_alarms": 0
    },
    "pump_pressure": {
      "faults_total": 7,
      "faults_detected": 7,
      "detection_rate": 1.0,
      "alarms": 7,
      "false_alarms": 0
    },
    "flow_rate": {
      "faults_total": 7,
      "faults_detected": 7,
      "detection_rate": 1.0,
      "alarms": 7,
      "false_alarms": 0
    }
  },
  "scenarios": {
    "a": {
      "detection_rate": 0.8095,
      "faults_detected": 17,
      "faults_total": 21,
      "false_alarm_count": 0,
      "high": 88,
      "high_high": 95,
      "blocked": true,
      "violations": [
        "detection rate 81.0% is below the minimum 90.0%",
        "detection rate fell by 19.1%, more than the allowed 5.0%"
      ],
      "newly_missed": [
        {
          "fault_id": "F04",
          "tag": "tank_level",
          "type": "stuck",
          "start": 2838,
          "end": 2877
        },
        {
          "fault_id": "F05",
          "tag": "tank_level",
          "type": "spike",
          "start": 3650,
          "end": 3655
        },
        {
          "fault_id": "F06",
          "tag": "tank_level",
          "type": "spike",
          "start": 4494,
          "end": 4499
        },
        {
          "fault_id": "F07",
          "tag": "tank_level",
          "type": "stuck",
          "start": 5237,
          "end": 5276
        }
      ]
    },
    "c": {
      "detection_rate": 1.0,
      "faults_detected": 21,
      "faults_total": 21,
      "false_alarm_count": 0,
      "high": 75,
      "high_high": 88,
      "blocked": false,
      "violations": [],
      "newly_missed": []
    }
  },
  "tank": {
    "low_low": 10.0,
    "low": 20.0,
    "high": 80.0,
    "high_high": 90.0,
    "deadband": 2.0,
    "delay_samples": 3,
    "unit": "percent"
  },
  "gate": {
    "min_detection_rate": 0.9,
    "max_detection_rate_drop": 0.05,
    "max_false_alarms": 3.0,
    "max_false_alarm_increase": 2.0
  },
  "monitor": {
    "healthy": {
      "hourly": [
        5,
        0,
        1,
        2,
        8,
        4,
        2,
        1,
        4,
        2,
        3,
        3,
        5,
        4,
        3,
        1,
        5,
        3,
        4,
        2,
        4,
        5,
        2,
        5,
        1,
        1,
        2,
        5,
        5,
        0,
        4,
        3,
        3,
        2,
        3,
        2,
        4,
        5,
        4,
        4,
        2,
        2,
        2,
        2,
        6,
        2,
        2,
        3,
        1,
        2,
        6,
        2,
        3,
        3,
        4,
        4,
        4,
        3,
        2,
        2,
        4,
        3,
        2,
        1,
        4,
        5,
        5,
        2,
        1,
        2,
        4,
        3
      ],
      "baseline_hours": 24,
      "recent_hours": 6,
      "baseline_per_hour": 3.25,
      "recent_per_hour": 2.8333333333333335,
      "threshold": 6.5,
      "drift": false
    },
    "drift": {
      "hourly": [
        3,
        5,
        2,
        2,
        2,
        2,
        3,
        2,
        3,
        2,
        3,
        3,
        4,
        2,
        3,
        1,
        2,
        4,
        3,
        4,
        3,
        4,
        3,
        0,
        2,
        1,
        1,
        2,
        2,
        3,
        3,
        1,
        5,
        3,
        4,
        3,
        6,
        3,
        2,
        3,
        5,
        4,
        1,
        7,
        7,
        5,
        5,
        2,
        2,
        2,
        10,
        7,
        8,
        6,
        6,
        13,
        15,
        9,
        12,
        13,
        11,
        17,
        15,
        10,
        12,
        19,
        20,
        20,
        18,
        16,
        13,
        15
      ],
      "baseline_hours": 24,
      "recent_hours": 6,
      "baseline_per_hour": 2.7083333333333335,
      "recent_per_hour": 17.0,
      "threshold": 5.416666666666667,
      "drift": true
    }
  },
  "meta": {
    "samples": 6000,
    "detection_window_samples": 20,
    "simulation": true
  }
}
