`detect_anoms.py` is inconsistent with `detect_ts.py` Abviously ,use one parameter `direction` is enough,why do you use two parameters?