Week 4 Assignment error (C1_W4_Assignment)

Hello,

Regarding this assignment, I consistently encounter an error. All my unit tests have passed, and I am unsure what is causing the issue.
image

Hi @MohammadJ

I suspect you might be using a global variable (like en_embeddings_subset or other) . Or you could might be violating other requirements:

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.

80% of these are:

  1. 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 use global variable named word_embeddings. (Here is a Video what is being meant by global vs. local variables and the playground to experiment.)

So please make sure you do not that.

Cheers