C2_W1_Assignment, Pass test, but grade 0 when I submit

Hi, all my tests, for example, w1_unittest.test_L_of_omega_array(L_of_omega_array), say “all tests passed,” but when I click submit assignment, I get 0%. If someone could help me, that would be great. I have the newest version in the workspace. Thanks for your help!

You’d better post a screenshot of the grader so maybe mentors can understand and give some feedback on the error you are having!

1 Like

in the grader submission where it shows grader 0, click on show submission grader output which provides information on why you failed the grader.

Passing all unittest doesn’t confirm always grades are correct as per autograder.

For successful submission, these are must criteria or cause of submission failure

  1. Writing codes only between assigned code markers ###START AND END CODE HERE###
  2. Deleting, editing or adding anything outside these markers can also lead to submission. failure.
  3. Mixing up variable (function) recall, global instead of local or vice-versa lead to failure submission.
  4. using incorrect function instead of what instructions mentions lead to failure submission.
  5. sometimes clearing out kernel output, reconnecting and re-run of cells, also results in successful submission, provided you are confident that your codes are correct.

Please provide necessary screenshot as mentor mentioned above for mentors to guide through your issue.

Regards

DP

Thank you both for your suggestions. It worked now, I reloaded the workspace, and then it worked. Thank you very much for your help.

1 Like