TF1: How to check your notebook's metadata

The autograders in Courses 1 to 3 looks for tags in your notebook’s metadata so it will know which cells to grade. If you get a score of 0/100 even if your notebook runs fine, then this notebook metadata might be corrupted. You can try getting a new notebook following the instructions here and paste your old solutions there. That usually resolves the issue. However, in case you want to check the metadata manually, then you can do so by following these steps:

Coursera Labs

This applies to Course 1 (all weeks) and Course 3 (except week 3). For Courses 2 to 4, please scroll to the next sections.

  1. Click on View -> Cell Toolbar --> Edit Metadata:



  1. Navigate to cells with a GRADED FUNCTION comment and click the Edit Metadata button on the upper right.


  1. A window will pop up showing the metadata. You should look for a tags key pointing to a list containing a graded string such as the one shown below.

If you only see the id key and no tags for cells that have the GRADED FUNCTION comment, then the metadata is indeed corrupted. You should get a new notebook and paste your old solutions before resubmitting.

Note: If you renamed your old notebook and refreshed your workspace but still don’t get a notebook with the metadata, please report this behavior to Coursera by following the instructions here.


Google Colab

For Course 2 (all weeks) and Course 3 (week 4),

  1. Download your notebook in Colab by selecting File --> Download --> Download .ipynb.

  2. If you have a Jupyter notebook environment in your local computer, then upload the notebook you downloaded. After that, you can follow the same steps as above in the Coursera Labs section.

  3. If you don’t have a Jupyter notebook environment, then you can just open the notebook in any text editor and look for the graded string. You should see something like below:

    Screen Shot 2022-08-09 at 3.57.33 PM

If the graded tags are missing, then you can simply reopen the notebook from the classroom to load it again on Colab. That should now contain the grader metadata and you can save a new copy from it.

If the graded tags are already on the cells, you can try submitting your work to the autograder.

Course 4

The Course 4 assignments do not depend on grader metadata. Kindly create a public topic in the TF1 Course 4 category so mentors can help you troubleshoot.

2 Likes