key engineering design principles to consider while building an anomaly detection platform