implemented threshold feature with specs. Plan to utilize problem_percentage and good? in the markup and various graphs in the future.