Programming Assignment: Assignment: Vector Space Models

Hi,

I have submitted my assigment for the week3. When I run my code, everything is fine, the unit are passed etc. When I submit the code for the grading, I get 0/10 points for the get_country and 0/10 for get_accuracy while my function works perfectly. I have asked for help on the grading from Coursera but received no support. I have also read similar topics about grading and no case matches what I am encoutering. I feel it is deeply unfair not to get the grade while it works

Hi, @ihh

Please make sure the requirements at the top of the Assignment are met:

Important Note on Submission to the AutoGrader

Before submitting your assignment to the AutoGrader, please make sure you are not doing the following:

  1. You have not added any extra print statement(s) in the assignment.
  2. You have not added any extra code cell(s) in the assignment.
  3. You have not changed any of the function parameters.
  4. 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.
  5. You are not changing the assignment code where it is not required, like creating extra variables.

If you do any of the following, you will get something like, Grader not found (or similarly unexpected) error upon submitting your assignment.

The most common mistake is using global variable word_embeddings instead of the local embeddings variable that you should use.

Unit tests are not perfect and do no capture all the possible mistakes and in particular when the global variables are used. (Here is a Video what is being meant by global vs. local variables and the playground to experiment.)

Cheers

I do confirm my assigment respects the points 1 to 5 five below and therefore I do not understand while the grading fails:

  1. You have not added any extra print statement(s) in the assignment.
  2. You have not added any extra code cell(s) in the assignment.
  3. You have not changed any of the function parameters.
  4. 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.
  5. You are not changing the assignment code where it is not required, like creating extra variables.

solved

I am facing the same issue.