Assignment tests passed but auto-grading failed

Dear Professor’s Andrew,

I would like to report a problem I am experiencing with the auto-grading of the assignment.

Even though my code passes all the provided test cases (e.g., all tests show “All tests passed”), the Coursera platform does not correctly evaluate the exercises and marks them as 0/3. For example, in Exercise 1 and Exercise 2, my solutions run successfully and match the expected outputs, but the grading system still shows them as incorrect.

Could you please check if there might be an issue with the auto-grader configuration? I would be happy to share screenshots of the results to demonstrate that the code is functioning as expected.

Thank you for your support.

Best regards,
Germano Redwitz

prof. Andrew doesn’t look at every discourse query​:smiley:

Passing all unittest doesn’t mean your codes are always correct. Mixing local variable with global variables, or if the codes were implemented not as per how the autograder has been coded can also lead grade failure.

Please share screenshot of your grade failure by clicking on show grader output which provides information on why you failed those exercise.

As you are a new learner, just a heads-up that posting any codes here on public post is considered violation of code of conduct. In case mentor wants to look at your codes, then they would ask you to send screenshot codes by personal DM.

regards
DP

Kindly take

I was able to get the assignment graded correctly by running it with the “Run” button in the header instead of executing cells individually. Kindly take this into consideration, thank you.