Here are some general guidelines before submitting your assignments in this specialization. Please take note of the course numbers each tip is applicable to:
-
[Courses 1, 3 (except Week 4), and 4]: Please save your work before clicking the
Submit
button. If not, you might get an error message like in the code cell below because the grader still sees your solution asNone
.Failed test case: x has incorrect type. Expected: some.Type, but got: <class 'NoneType'>.
-
[Courses 1, 3 (except Week 4), and 4]: Please do not rename the notebook because the grader will look for the original filename and its associated metadata. You should work on the file automatically opened when you click the
Launch Notebook
button. If you try to submit a renamed notebook, you might also get an error like the one shown above. -
[All Courses]:Please do not modify any code outside the
START CODE HERE
andEND CODE HERE
tags. Your solution should only be placed between these markers to ensure successful grading. Modifying function parameters and other test cells will likely break the grader. If you want to experiment with these, you can do so after you have successfully passed the assignment. -
[Courses 1, 2, and 3]: If the grader still gives you 0/100 after following the tips above, then the metadata needed for grading might be corrupted.
- For Courses 1 and 3 (except Week 4), please get a new lab notebook by refreshing your workspace (instructions here).
- For Courses 2 and 3 (Week 4), you can get a new copy of the notebook by just reopening the lab from your classroom.
- Course 4 assignments do not depend on this metadata so this tip is not applicable.
You can then copy your solutions from your previous notebook into the newly fetched lab. Make sure that all cells still run as expected, and then resubmit. Refreshing will usually recover the metadata but if you want to make sure that it is there, you can follow the instructions in this post.
-
[All Courses]: If you have further questions, please create a new public topic so more mentors can see your query. Just make sure to create it in the correct course and week category.