Not passing the assignment despite passing all the test cases

When creating a post, please add:

  • Week-1 # must be added in the tags option of the post.
  • Link to the classroom item you are referring to: week 1 translation
  • Description (include relevant info but please do not post solution code or your entire notebook): I passed all the test case but when i submit it is showing grade of zero. What to do?

@Hari_Govind1

Share a screenshot of your submission grader output which explains why you failed your assignment despite passing all the test. DO not post codes here as it is against community guidelines.

Passing all the unittest doesn’t certifies you would pass the assignment. There can be error in recalling code implementation, or editing of codes outside of ##START AND END CODE HERE### or other factors leading to your submission failure.

Regards
DP

image

Error is same for all sections

Perhaps a notebook reset to its original state might help, keep in mind to save your solutions first!

HI @Hari_Govind1

This tells you have left None which need to be replaced with your code.

Kindly recheck if you have not left any None between ###START AND END CODE HERE### specifically in the Encoder section as mentioned.

You probably left a None instead of your code recall, this can happen as @gent.spah mentioned you might have missed or replaced it unknowing by not saving your assignment before submitting.

Let us know if you are not able to find, you can send a screenshot of your codes via personal DM or perhaps get a fresh copy of the assignment, re-write your codes by only replacing None between ###START AND END CODE HERE####, that surely would resolved your issue.

Regards
DP

1 Like

How to get a fresh copy of the assignment? I rechecked and there is no None.

Hi @Hari_Govind1

Please follow the below link, make sure you save a copy of your file before you follow the below instructions

Regards
DP