🚨 ANOMALY DETECTION REPORT
==================================================
Total anomalous batches detected: 9

BATCH DETAILS:
------------------------------
• Real Batch 15:
  - Mahalanobis distance: 39330539.965
  - Flagged by: Local Outlier Factor, Elliptic Envelope, Mahalanobis Distance
  - Issues detected: materials → quantity issued max is severely too low | materials → quantity issued mean is severely too low | materials → quantity issued min is severely too high
• Real Batch 8:
  - Mahalanobis distance: 138389.839
  - Flagged by: Local Outlier Factor, Elliptic Envelope, Mahalanobis Distance
  - Issues detected: raw material usage records → final volume l mean is severely too high | weighing details → gross wt mean is severely too low | raw material usage records → final volume l max is severely too high
• Real Batch 4:
  - Mahalanobis distance: 6660664.875
  - Flagged by: Local Outlier Factor, Elliptic Envelope, Mahalanobis Distance
  - Issues detected: materials → quantity indented std is severely too low | materials → quantity issued std is severely too high | materials → quantity indented max is severely too low
• Real Batch 7:
  - Mahalanobis distance: 3782238.322
  - Flagged by: Local Outlier Factor, Elliptic Envelope, Mahalanobis Distance
  - Issues detected: materials → quantity indented mean is severely too high | materials → quantity indented max is severely too high | materials → quantity issued std is slightly too low
• Real Batch 3:
  - Mahalanobis distance: 4336128.764
  - Flagged by: Local Outlier Factor, Elliptic Envelope, Mahalanobis Distance
  - Issues detected: materials → quantity indented min is severely too low | materials → quantity indented max is severely too high | materials → quantity indented mean is significantly too high
• Synthetic Anomaly Batch 164:
  - Mahalanobis distance: 95776.124
  - Flagged by: Local Outlier Factor, Elliptic Envelope, Mahalanobis Distance
  - Issues detected: temp records → temperature min is severely too low | yield is severely too low | pH → value r0 is significantly too high
• Synthetic Anomaly Batch 395:
  - Mahalanobis distance: 87721.338
  - Flagged by: Local Outlier Factor, Elliptic Envelope, Mahalanobis Distance
  - Issues detected: temp records → temperature min is severely too low | pH → value r0 is significantly too high | yield is significantly too low
• Synthetic Anomaly Batch 394:
  - Mahalanobis distance: 70196.900
  - Flagged by: Local Outlier Factor, Elliptic Envelope, Mahalanobis Distance
  - Issues detected: pH → value r0 is severely too high | temp records → temperature min is significantly too low | yield is significantly too low
• Synthetic Anomaly Batch 304:
  - Mahalanobis distance: 83967.185
  - Flagged by: Local Outlier Factor, Elliptic Envelope, Mahalanobis Distance
  - Issues detected: temp records → temperature min is severely too low | pH → value r0 is severely too high | yield is significantly too low
