analyze_anomaly.R first commit