When submitting the C1W2 Assignment 2, I’m getting a grading error for an exercise that does not exist. Please see screenshots below. It does not currently affect my pass level but just posting here for information. (Not sure if it is anything I did). Exercise 7 is the last found exercise in the notebook and exercise 5 is the last graded exercise. But the error message refers to exercise 8 which does not exist.
The section numbers and the exercise numbers are not the same. Exercise 8 is the model function, which is in Section 5 of the notebook, as you can see here:
Please run all the cells in the notebook and then check to make sure you pass the local tests for the model function as the first step to debugging what is wrong with your solutions.
Interesting! If you pass the test in the notebook, but fail the grader, then the theory would be that your code is not general in some way. Examples could be directly referencing global variables instead of the formal parameters or hard-coding the parameters being passed in the call to optimize, instead of just passing through the values that were passed into model at the top level. There should be no equal signs in any of the parameters passed to optimize.
Hi Paul,
I tried resubmitting it and it worked. Not sure what I did earlier. Thank you.
Among the common causes of grader issues is this:
You should manually “Save and Checkpoint” your notebook before submitting for grading. The notebook auto-save feature takes some time before it operates.



