Yes, I under there are multiple tests. Here’s the one whose value is hard-coded to the answer that is different from the answer writen right on the screen:
def compute_gradient_test(target):
...
assert np.isclose(dj_db, 0.28936094), f"Wrong value for dj_db. Expected: {0.28936094} got: {dj_db}"
Found it. Code error. The algorithm I wrote worked for shape (100,2) but not (100,3) which is what the test expects. A bit sneaky as Andrew talked about 2 independent variables in his lectures and labs.