C3W1-Assignment Submission error

#C3W1- Assignment.
There was a problem on submission of assignment “There was a problem compiling the code from your notebook. Details:
No module named ‘w1_unittest’”

can you please confirm the assignment name once?

Such errors could happen if you edited part of codes you weren’t supposed to or the kernel could have died (due to network connectivity issue) before you run down the unittest codes.

Is this the practice assignment or the graded assignment?

C3W1 → N- grams assignment
Graded assignment
And nothing changes still it shows this

is this feedback information for all grade functions in grader feedback?

if you are confident your codes are correct, they delete kernel output and restart kernel. run each code cell from beginning till end and submit.

if issue still persist, then one needs to review your grade function codes.

This is only in this assignment feedback like in all exercise of this assignment

Ohk sure mam !!

I would advise to get a fresh copy, and then only replace None placed between ###START AND END CODE HERE###

and then resubmit.

Based on your last response, seems your files must have got some changes or corrupted while writing the codes (if you are confident of your codes). Remember passing unittest doesn’t confirm your codes will pass the autograder. Many factors add up like use of variable mix up(global<==>local), deletion of any important part of the codes which autograder is not finding while check your files, or previously stated reasons.

alright mam, can you tell me how to get a fresh copy ?

Open your current notebook.
Go to “File->Rename”, and rename the notebook.
Go to the Lab Help menu (the question-mark inside a circle), and use “Get latest version”.
Go to “File->Open” menu, and open the new notebook.
Use the “Kernel->Restart & Clear All Output” command.
Now the new notebook is ready for you to use.

Note: Do not rename the new notebook. The grader always uses the notebook with the original file name.

Solved mam!!
I just change my browser !!

1 Like

btw mam,
i got error on 4th unit
week 2 assignment submission.
name :- Transformer Summarizer
I ran the first two tests and checked them.
All the test cases for the first two tests passed.
But during submission, I’m getting this error:

There was a problem compiling the code from your notebook. Details: 'NoneType' object is not callable"

please create a new topic for a different issue with screenshot of the complete error you got