Unable to get Programming Assignment - Gaussian Elimination (C1W2_Assignment)graded

Problem with the grading of C1W2 assignment grading

      • dl-ai-learning-platform

      • C1W2_Assignment

      1. I have gone through the grading guidelines Do’s and Don’t but unable to find out what’s wrong. Individually all the excercises shows all tests passed , but on save and submitting for grading , it fails ( or shows problem in grading, w2_unittest not defined)

    I am stuck and not how sure how to proceed , please suggest

In the code you added to the notebook, did you add a line anywhere that references w2_unittest?

import w2_unittest

this is executed in 2 nd line of the notebook before executing any exercise

I understand that.

What I asked was, did you yourself add “import w2_unittest” to any of the other cells?
And, did you add any other references to “w2_unittest” ?

No I didn’t add this to any other cells, also I didn’t add any other references to w2_unittest

OK, thanks. Please check your personal messages for more instructions.

Are you sure that the notebook runs normally if you just do “Cell → Run All”? There should be a file w2_unittest.py in the folder with the notebook. You can click “File → Open” and have a look. Here’s what I see when I do that:

yes it does run successfully , when I use this option restart kernel and run all . the working directory seem to have the w2_unittest.py

Interesting. So we have to come up with a theory for why the grader doesn’t see that file. The graders are a complete “black box” to the mentors, meaning that we don’t know how they actually work. They are different here on the DLAI platform than they are on Coursera. Of course we don’t know how the Coursera ones are implemented either, but we have a lot more experience studying their behavior than we do for the relatively new DLAI Learning platform. Are you sure that you didn’t edit the JSON “metadata” for any of the cells in the notebook? E.g. removing or in any way modifying the “graded” tags can cause this kind of chaos.

One step would be to get a fresh copy of the notebook and then carefully “copy/paste” over just your code from the “YOUR CODE HERE” sections only. Here’s a thread about how to get a fresh copy on the DLAI platform.

Of course maybe we get lucky and Tom has already figured this out on your DM thread. :nerd_face:

@chris.favila, can you check if this issue is due to the backend account properties?

Hi. Based on the screenshot, this is not a backend issue. That should show no grader feedback at all and an “unexpected error” message at the top.

Adding @lucas.coutinho here because he handles this course.

@chris.favila and @lucas.coutinho

It was in fact an error in the student’s notebook.