Unable to pass on Week 2:Lab

Hi there folks!

I really enjoyed this course and will continue to learn from it but sadly I am stuck on submitting the Week 2 notebook. The notebook can’t be edited (only executed) yet the grading system fails it every time. I have contacted Coursera and they have no clue why this happens. Can anyone here help me ? Cheers!

Remo

Are you enrolled in the course, or are you just auditing it for free?

@Remo you are not supposed to post your actual code here-- But if you post the errors you get from the grader that will help you (and us) a lot.

And actually I’ve found this to be a really useful skill to have. I mean I don’t always get every assignment right on the first shot, but rather than just deciding ‘it doesn’t work’ tracing your code back through the error log 90% of the times helps.

Also, since the code for the grader is exposed/available to us, looking at the conditions and values it is expecting can also be quite useful in determining ‘what went wrong’.

Plus, print() statements of transitive values to keep things in check.

Hi @Remo

First, let’s try opening the notebook from different browsers and ensure that you’re using the latest version of your browser. Sometimes, browser compatibility issues can affect editing capabilities.

If that doesn’t work, another approach is to take a backup of your answers and then reset your notebook to the latest checkpoint.

If those steps still don’t solve the problem, you can complete the notebook locally on your computer and then upload it to the platform. Make sure to rename it to match the original notebook name.

I hope one of these solutions works for you

Hi there, I am enrolled and looking to finish after this bug has been solved :slight_smile:

Hi Anthony, thank you for thinking along.

I have went over the code multiple times and it seems correct to me (all values passed). Keep in mind this is an example Lab notebook where the student can’t directly access the values themselves. The only thing the student needs to do is to submit the notebook. Maybe I hit a specific hotkey that messed up the Notebook (?). Is there a way to reset the notebook ?

@Alireza_Saei Hello Alireza,
I have tried opening the notebook in different browsers without success but I will try downloading it manually! :pray:

1 Like

@Remo I had this question for a different reason, but you can reference this post:

Note this will bring you back to ground zero, aka the stone age, so you will lose any code you have written unless you save it first.

But this should get you to defaults.

I have followed all the steps correctly but starting at step 7 I am lost since there doesn’t seem to be a “Get Latest” option (?)


:

  1. Click on the Help button on the top right of the page.
  2. Click the Get latest version button.
  3. 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.

Hi @Remo,

What you have done is accessing the help for using the Juypter notebook. Which is different from the accessing the ‘Help’ on the Coursera server. If you look up to the Cousera banner, you will see a ‘?’ icon. When you click on the ‘?’ icon, a new side window will open where you will see the option for getting a latest version of the lab.
Please follow the screenshots below to locate the ‘Help’ button to get a fresh copy of the lab.



1 Like

image

That’s the wrong Help menu.

They recently changed the notebook Help to a question mark inside a circle.

Thank you all so much for aiding me :slight_smile: I managed to submit the notebook and finished the course! Onto the next one :pray:

ps. It seems there was a missing “UNQ_C1” tag inside one of the code-blocks. I ended up re-doing the code and adding these tags back in and voila it worked :grinning:

3 Likes

The only way it would become missing is if you accidentally deleted it yourself.