Issue with the grad C2 W1

Hi everyone,

I just submitted my project for the week 1 of course 2. For some reason, I did not get the grad for the process data, despite the fact that my code passed all of the tests.

The error says:
There was a problem grading your submission. Check stderr for more details.

What can I do to fix it? Where can I check stderr ?

Hi @mohsen1

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:

  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 word then do not use global variable named my_word. (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