Problem with the grading of C1W2 assignment grading
dl-ai-learning-platform
C1W2_Assignment
I have gone through the grading guidelines Do’s and Don’t but unable to find out what’s wrong. Individually all the excercises shows all tests passed , but on save and submitting for grading , it fails ( or shows problem in grading, w2_unittest not defined)
Are you sure that the notebook runs normally if you just do “Cell → Run All”? There should be a file w2_unittest.py in the folder with the notebook. You can click “File → Open” and have a look. Here’s what I see when I do that:
Interesting. So we have to come up with a theory for why the grader doesn’t see that file. The graders are a complete “black box” to the mentors, meaning that we don’t know how they actually work. They are different here on the DLAI platform than they are on Coursera. Of course we don’t know how the Coursera ones are implemented either, but we have a lot more experience studying their behavior than we do for the relatively new DLAI Learning platform. Are you sure that you didn’t edit the JSON “metadata” for any of the cells in the notebook? E.g. removing or in any way modifying the “graded” tags can cause this kind of chaos.
One step would be to get a fresh copy of the notebook and then carefully “copy/paste” over just your code from the “YOUR CODE HERE” sections only. Here’s a thread about how to get a fresh copy on the DLAI platform.
Of course maybe we get lucky and Tom has already figured this out on your DM thread.