* refactor: cleanup decision tree; * remove unused error; add graph tests; * add test and fix for depth limit