Week 2 practice lab: grading

I’m getting the correct results all through the exercise. But when I ask for it to be graded, it tells me my ‘compute_gradient’ function is wrong. How can I get past this, when there is no more information, and it all seems to be working correctly?

The grader uses differest tests.

Check your code to be sure it will work in any situation and with any size of data set.