C2W3 Assignment Grading failed on all exercises despite correct work


This usually happens when an incomplete notebook is submitted (e.g. exercise 12 is not yet done). Please see these pointers before resubmitting your assignment:

  1. 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 Submit immediately)

  2. You may have renamed the notebook and pressed the Submit button 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 Submit button from C2W1_Assignment_2021_05_11.ipynb

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 . Just take note that your expected filename will be for Week 3 and not Week 1.

Hope these help! If not, feel free to update here. Thanks!

One more thing: In case you want to skip exercise 12 just to check if the TFX parts are correct, then you can comment the later cells out so the notebook will not throw an error. That should make the grader work and give you partial grade. Some learners have done that and it works. The important thing is if you run all cells, the notebook should not halt.