I got the expected output for all the cells but when submitting to grading it was not passed.
The grader output: There was a problem compiling the code from your notebook. Details:
name ‘estimation_metrics_prop’ is not defined
the only change that I made is copying the content of a cell defining the class ‘estimation_metrics_prop’ and then removing the original one.
Thank you so much for the feedback.
In fact, I followed the steps for getting a new copy of the notebook and then the assignment passed (100%). Here are the steps to follow:
Open the notebook from the classroom.
After the notebook opens up, click File → Open
When your workspace opens, tick the check box before your notebook file. After it is selected, press Shutdown. The icon beside the filename should turn from green to gray.
Important: Tick the checkbox again and this time choose Rename and enter any filename other than the original. For example, C4W1_Assignment.ipynb (original) → C4W1_Assignment_v2.ipynb. If you don’t rename your current notebook, the new one will not be fetched.
(Optional) Tick the checkbox of any other file that you want to get a fresh copy of (e.g. dataset files that you might have manipulated irreversibly). Then click Delete. You can also opt to Rename or Download each file individually in case you want to keep them before deleting.
Click on the Help button on the top right of the page.
Click the Get latest version button.
Click the Update Lab button. The page will refresh and you should now see the latest version of the notebook. It will have the original filename in your workspace.