C1_M1_Assignment: Unexpected error

I am trying to submit the Programming Assignment ‘Deeper Regression, Smarter Features’ but I receive an ‘Unexpected error occurred’ message, resulting in 0 points for all exercises.

I have already performed the following troubleshooting steps:

  • Restored the notebook to the original version.

  • Modified only the designated ‘START CODE HERE’ blocks.

  • Restarted the kernel and ran all cells to ensure they pass the local unit tests.

  • Saved the notebook and cleared my browser cache before submitting.

Despite these steps, the error persists. I have also checked the grader output, but it does not provide a specific traceback beyond the general error message.

Could you please advise if there is a known system issue or a specific hidden test case I might be failing?"

you need to post screenshot of your grader submission with information on why you are failing grader.

This is what I get:

Usually that error from the grader means there is something structurally wrong with your notebook, although the debugging steps you have taken sound correct and I would expect that to have fixed the problem. Are you sure the new notebook with the fixes has the same name as the original one? The grader only grades the “official” name: the file opened by clicking the link, even if you click “Submit” in a different notebook.

If you haven’t renamed anything, then we probably need to look at your actual notebook in order to make progress on this. We can’t do that on a public thread, but please check your DMs for a message from me about how to proceed.

hi @Federico_Villa

according to recent such feedback by other learners, it has been learn such feedback can occur from

  1. incorrect codes, using incorrect function, hard-coding path of implementation.
  2. Editing part of codes from non-graded cells which shouldn’t have been touched.
  3. editing part of codes in the grade cells which shouldn’t have been touched.
  4. Adding your own codes cells other than just replacing the None placed between the code markers.
  5. Lastly, some learner were also advised to save their work environment and then submit, resulting in successfully submission. (Saving per se after you have run down all the cells, before submitting, make sure to click on :floppy_disk: for grader to be able to see the changes you did to the notebook.

So if these issue don’t exist in your case, send the notebook in the DM, @paulinpaloalto just sent you

We will review your notebook and get back to you.

regards
Dr. Deepti

Update Learner’s assignment codes are correct and when I submitted his copy in my environment, grader passed with full marks. so probably it can be a temporary glitch, in that case assignment instruction mentions to wait for sometime, and re-try again.

so please try after 4-6 hours. Clear your cache and browsing history of browsing you are working. Re-login. open your notebook, clear out kernel output, re run the notebook codes, save work by clicking on :floppy_disk:, then submit. if it still fails then staff will have to look into your work environment from their side.

regards

Dr. Deepti

1 Like

Yes, I had the same results as Dr. Deepti: when I submit your notebook “as is”, it passes the grader with the full score.

So this must be the type of glitch that they mention in that section of the notebook. We have no visibility into how the graders are actually implemented, so it’s unclear why they would be flaky in this way. But please try submitting again and let us know what happens.

Regards,
Paul

1 Like

Hi,
As suggested, I’ve followed the instructions you gave me, but the issue still persists.
In the meantime, I’ve done the assignments for C1M2 and C1M3 and passed them without any problems.

hi @Federico_Villa

thank you for informing and apologies for the grade failure again.

Looks like your other assignments didn’t have any issue, but M1 still does. I have informed staff in our DM conversation.

although I was wondering when you are trying again, have you tried deleting all files from File==>open section and then re-attempted??

Regards

Dr. Deepti