Learner Error: Grader timed out - Pls help

I finished coding of the assignment in the notebook. It ran and everything looked fine. It properly stopped training when accuracy reached 93%. But then I got the following error when submitting the assignment. in ’ Introduction to Generative AI for Software Development’.
@DeepLearning.AI @DeepLearning.AI-Team Can u help me with this issue? After days of hard work, it’s so frustrating to get such errors.

This is the error
" There was an error grading one or more parts of your submission. Please review the messages below for suggestions.

shortest_path function

Filename: shortest_path function

0/25Score: 0 of 25

Grading failed

  • Learner Error: Grader timed out

Please try optimizing the efficiency of your solution and submit again. You can also visit the discussion forum to see if your peers have experienced and found resolutions for similar errors, or if course staff have provided prior guidance for these errors.. If the error isn’t resolved in 24 hours, please reach out to Coursera through our Help Center."

@chris.favila Can you please tag the correct people to help me

Hi @rishyab123!

Does your solution pass the unittests? In any case, could you please share with me, privately, your solution, so I can have a look on what is going on?

Thanks
Lucas

Yes it passes & I can share with you as well.
Please share your email id.

@rishyab123, you can contact any forum member directly by clicking on their name, this will cause a pop-up to appear, then click on the “Message” button.

In my experience when you work with the LLM you need to feed it all the requirements for the exercises provided on the Labs, including the function descriptions, and ask it to abide by the time limits.

I had the exact same problem on the tsp_small_graph function. All of my unit tests passed but the grader timed out with the same error message. Initially the grader acknowledged there was a problem with its systems and that someone would look into the issue, and that I should resubmit later. Has this been resolved yet?

What error are you getting from the grader?

First it says “Grading Failed” and then gives the following explanation:

  • Learner Error: Grader timed out

Please try optimizing the efficiency of your solution and submit again. You can also visit the discussion forum to see if your peers have experienced and found resolutions for similar errors, or if course staff have provided prior guidance for these errors.. If the error isn’t resolved in 24 hours, please reach out to Coursera through our Help Center.

It also gives this info if you click on the “i”:
Please try again after some time while we look at resolving this issue!

It is highly probable that your LLM generated solution doesnt fulfil the reuirements, so I would suggest:

Try to feed more information to the LLM also feed in the feedback of where its failing and ask to provide a more efficient solution!