M2 Graded Lab shows all unit tests passed but fails on every question/exercise upon final submission

  1. In Module 2-Reflection Design Pattern- M2 Graded Lab.
 There are 3 Exercises in this Lab. After code completion and individual execution of each cell. It shows  all unit tests passed.
But fails on every question/exercise upon final submission.

I have attached ipynb file and screenshots of final submission output

{removed by mentor}

Hello @vaaCoder,

The error messages say that the LLM was fed with null ‘content’ instead of string. Since you had passed the tests, it is possible that your work had not actually been saved before submitting or your work was not saved to the file with the correct name “C1M2_Assignment.ipynb”.

The name of your attached file may be suggesting the later case. My suggestion is to make sure there is only one “C1M2_Assignment.ipynb” in your workspace and all of your works are saved there.

Cheers,
Raymond

PS: We shouldn’t share solutions here, but don’t worry, because I have removed it for you.

@vaaCoder

If you are confident that your codes are correct, then follow the below steps.

Clear out your kernel output

Restart/reconnect the kernel

Re-run each cell from beginning till end individually.

Make sure now to click on the save emicon present on the top left upper corner.

Now submit the file.

If this doesn’t resolve issue, one need to review your coded

Thank you so much @rmwkwok .Saving file with your provided name has worked for me.Really means a lot

1 Like

Thank you so much @Deepti_Prasad for providing your support and guidance

Thank you so much for providing guidance

Tip(s)

  • Never rename a notebook assignment file.
  • If you make a copy of a notebook, only the original notebook can be graded.

You are welcome, @vaaCoder. :wink: