Week 4 Grader not working - assignment 1

Hi all,
I’m getting a compilation error in the grader. The code works fine in the notebook.
What should I do?


Dont want to give away information about the answers, but again the notebook runs just fine, the grader shows this error:
Cell #UNQ_C4. Can’t compile the student’s code. Error: SyntaxError(‘invalid syntax’, (‘/tmp/student_solution_cells/cell_13.py’, 53, 24, ’ noise_and_labels = combine_vectors(fake_noise, one_hot_labels)\n’))

It seems there is a version of the cell cached in the disk somewhere and it doesn’t get update when I change the notebook.
What can I do to fix it?

Hi Jean!
Welcome to the community.

Two things: This doesn’t belong to week 3, it belongs to week 4 so I modified the title and tags.
Second, I’m not able to reproduce the error, the grader works for me. (I get 100% on my submission), I tried it now.
Go to Files and then Revert to Checkpoint, maybe you can try this, it will give the fresh notebook by taking you to the last checkpoint(if you haven’t manually saved and checkpointed it will be a fresh notebook) then you can copy and paste your own code.

Try this once.


The last checkpoint is from yesterday, when I had the same problem. It has been almost 4 days and I still could not fix this. I even accessed the terminal and deleted the checkpoints folder. It didn’t work.

Any other suggestions? I also reported the problem to Coursera. Thanks for your help!