Hello, I face an issue with my assignment. (Assignment of Week 3 of Course 1, of NLP specialization)
Although my code returns expected output and passes all tests, two out 5 tasks are graded with zero, while all the rest are graded with 10 (Test_get_country and Test_get_accuracy). I am positive I have done everything right, and I believe this a problem of the AutoGrader, since I get this message:
There was a problem grading your submission. Check stderr for more details.
Does anyone now how to solve this issue?
I tried to follow the instructions here:
I recreated the notebook, but still, it didn’t work.
Any ideas?
99% of the time when you pass the unit tests (and all your outputs match the expected outputs) but grading of the assignment fails, it is one of those reasons:
Important Note on Submission to the AutoGrader
Before submitting your assignment to the AutoGrader, please make sure you are not doing the following:
You have not added any extraprint statement(s) in the assignment.
You have not added any extra code cell(s) in the assignment.
You have not changed any of the function parameters.
You are not using any global variables inside your graded exercises. Unless specifically instructed to do so, please refrain from it and use the local variables instead.
You are not changing the assignment code where it is not required, like creating extra variables.
80% of these are:
You are not using any global variables inside your graded exercises. Unless specifically instructed to do so, please refrain from it and use the local variables instead.
For example, if you have local variable named embeddings then do not useglobal variable named word_embeddings. (Here is a Video what is being meant by global vs. local variables and the playground to experiment.)