refactor: :recycle: Cleanup code into seperate functions (#1183)
* refactor: :recycle: Cleanup code into seperate functions
Also add `best_tol` parameter to CIReport class
* fix: :rotating_light: Refactor test_CIReport function name to test_ci_report