Cell #7. Can't compile the student's code. Error: AssertionError('Not all tests were passed for true_negatives. Check your equations and avoid using global variables inside the function.',)

i have completed my assignment and all test passed yet my grader shows the error in the creenshot. what do i do?

Just passing the tests in the notebook is not sufficient to prove full correctness. One common mistake that will produce this type of failure is what they reference in the error message: referencing global variables in the body of one of your graded functions. The grader runs the code in a different environment, so you can’t depend on anything other than the parameters that are passed to your functions.