I submitted the assignment, but it was marked as failed. However, when I run the following cell to check my code, it shows 'All tests passed!
Did you try resubmitting your assignment at a later time?
Yes and i get this Exercise 1
0/10 points
Failed test case: generate_draft raised LLMError: An error occurred: Error code: 400 - {āerrorā: {āmessageā: āInvalid value for ācontentā: expected a string, got null.ā, ātypeā: āinvalid_request_errorā, āparamā: āmessages.[0].contentā, ācodeā: None}}. Expected: no exception, but got: An error occurred: Error code: 400 - {āerrorā: {āmessageā: āInvalid value for ācontentā: expected a string, got null.ā, ātypeā: āinvalid_request_errorā, āparamā: āmessages.[0].contentā, ācodeā: None}}.
The error message suggests that you are missing an edge case or an special case in your code that causes error while getting 100/100 in notebook! Please double-check your code. Also, feel free to ask if you need further assistance.
Make sure your notebook is saved with the changes before submitting as per the instruction. Could you try this ?
āTo submit your notebook for grading, first save it by clicking the
icon on the top left of the page and then click on the Submit assignment button on the top right of the page. ā
Hi, how did you run your code? My code is neither giving an error in the lab nor running.
Thank you! Your instructions worked perfectly.
Youāre welcome, happy to help ![]()
Hi,
Please double-check that your kernel is working properly!
@Alireza_Saei Thank you. All tests are passed now, but when I am submitting it, itās giving a 0 score
Iām having the same issue. Notebook works perfectly - Initial_Draft, Reflection, Revised_Verison.
All unit tests successfully passed, but submission returns this error.
Tried to add handler to avoid null content - but still getting the same error.
Any suggestions?
hm.. Something was fixed in the lab and now everything was accepted without any issues.