These are common solutions to grader errors in the Course 2 assignments (all weeks). Kindly check if all are cleared before posting so we can investigate further. Thanks!
There should not be any cell in the notebook that throws an error. Otherwise, the grader will halt and not give a partial grade. This usually stems from submitting an assignment without completing all the exercises (e.g. doing Exercise 1 then pressing
You may have renamed the notebook and pressed the
Submitbutton there. The grader expects the default filename when grading. That is the file opened when you launch the notebook from the Coursera classroom. For example, if the default filename is
C2W1_Assignment.ipynb, then the grader will grade that notebook even if you pressed the
Remove any cells you may have manually added (even outside the graded cells), restart the notebook and check if all cells still run.
If all exercises are giving the correct output, there might be an issue with the metadata of your notebook. We have submitted the issue to Coursera but while waiting for the final fix, here is a workaround that worked for some learners. In a nutshell, you’ll need to get a fresh copy of the notebook and paste your solutions there. Please take a look at this related thread for details on how to refresh a notebook: C2W1 Assignment - grader output showed error - #4 by chris.favila .