MLEP C2 Assignment Troubleshooting Tips

Hi everyone!

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!

  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

  3. Remove any cells you may have manually added (even outside the graded cells), restart the notebook and check if all cells still run.

  4. 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 .