Data Analytics: Assignment Troubleshooting Tips (Coursera Labs)

Working with Coursera Labs and checking the grader feedback

The assignments in Courses 3 and 4 use an autograder to evaluate your work. You can check the grader feedback by going to the Grades tab on the upper right of the lab and clicking on an exercise. If your solution is correct, you will see the congratulatory message below the score like this:



Getting a new copy of the notebook

If you want to start an assignment from scratch, you can get a new blank copy of the lab by following the Coursera Jupyter Lab Environment section of this post.



Common error messages and pre-submission guidelines

It is important to submit your Jupyter notebooks in the proper format so the grader can check your work successfully. Otherwise, you might see similar messages like these even if your solutions match the expected outputs in the notebook:

  • Unable to find object required for grading in your code.
  • No module named <module> found
  • Grading failed
  • Grader feedback not found

Here are some general guidelines before submitting your assignments to ensure you get proper feedback:

  1. 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 as None.

    Unable to find object required for grading in your code.
    
  2. 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.

  3. Please do not modify any code outside the START CODE HERE and END 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.

  4. Please do not rename the variables that are given in the notebook. Otherwise, the grader will throw an error because it can’t find it.

  5. Unless there are instructions that require you to do so, please avoid adding or deleting code cells in the notebook. Please also avoid importing additional packages as well. If you lost track of your changes, you can get a new copy of the lab as mentioned here.

  6. Make sure that all the cells run before submitting. Otherwise, the grader might also throw an error.

  7. Check the hints and expected output where possible in the notebook to guide your solutions.

  8. If you checked all the points above and see a Grading failed error like below, it’s likely a temporary problem in Coursera. Some learners reported that they get the grade after waiting a bit then resubmitting the notebook without making any changes.

    grading_failed

  9. If the problem persists or you get a different error message after checking all of the above, please create a new public topic so the course Mentors can see your query. Just make sure to create it in the correct course and module category. You can also scan the old topics to see if someone has resolved a similar problem.

    When creating a new post, please include the name of the lab you’re working on, and the grader feedback (i.e. not just the score)

2 Likes