- Week 3 programming assignment
Hi ! I am trying to complete week 3 programming assignment. The first time i submitted my assignment all of my codes ran but one. Now that I try to edit it all my test are running but when I recieve my grading it says coded could not run or y isnt defined
Before submitting your solution, you must doublecheck that the notebook runs entirely - without any error. If there is any exception being thrown, it will break the grader.
If you want to skip part of the exercise, you should add # grade-up-to-here
before the last cell you want to be skipped, this will make the grader ignore everything that comes after the statement.
if this does not help you, let me know.
Thanks,
Lucas
Thanks Lucas. I think thatās what it is. One of my cells arenāt running properly but Iām not sure how to fix it. For my code to make sure all test run correctly Iām getting this message:
NameError Traceback (most recent call last)
in
----> 1 w3_unittest.test_forward_propagation(forward_propagation)
NameError: name āw3_unittestā is not defined
HI @Tamara_Bonheur ,
The error message suggested that the execution environment is not up to date. You need to refresh the kernel and rerun the code from start.
Note that āgrade up to hereā doesnāt really work reliably. If you leave any code in your notebook that has invalid syntax (like a āNoneā statement you havenāt replaced yet), the grader will crash, and give you confusing error messages.
As @Kic mentioned, it looks like the file w3_unittest.py is missing from your workstation. Please follow the instructions here to refresh your workspace and get new copies of the files.
Can you post a screen capture image of your workspace and that error message? That might be helpful to diagnose the issue.
Thank you all! After a few tries it worked
It not helped me
All my tests passed but still the program is showing There was a problem compiling the code from your notebook. Details:
name āparametersā is not defined
PLEASE SEE THIS AS QUICK AS POSSIBLE