Trigger Word Detection C5-W3-A2 grading problem

Hello, I finished this programming assignment without any error and all of my functions are working properly, output the right answers. But whenever I’ve submitted my notebook I’ve been given 0/100.
its error expression had been Cell #13. Can't compile the student's code. Error: AssertionError('Overlap with an empty list must be False') at first, but then I restarted my notebook and did it all again from first which resulted in this error expression Cell #25. Can't compile the student's code. Error: TypeError('cannot unpack non-iterable NoneType object').
Help Please.

Hi @navid ,

The unit tests are there to provide some confidence of your code, but they are not the full test. If you get 0/100 as a result of submitting your assignment, it means some aspects of your code need to be changed. If you do a search on the forum for this kind of error, you may get to see discussions on how to solve this problem.

If you started over with a fresh copy of the notebook, be aware that you have to complete the entire assignment before you can submit it for grading.

If there are any “None” statements in the notebook, in places that you’re supposed to provide your own code, those will cause the grader to crash.

That’s the biggest cause for the “NoneType object” error.

Actually, I didn’t want to start over. I’d opened up my notebook to complete it that I saw my codes hadn’t been saved. So I was forced to do It all again which I’ve got the second error when I submitted it. I was also looking for whether there is a None value in my code, but I couldn’t find anything. Is it possible to check my notebook if I send it in DM @Kic, @TMosh ?

You have to save your notebook changes manually - it isn’t automatic.

Hello,

I have same problem please help me :sob: :sob: :sob: :sob: :sob:

I have the same issue. Cell #24. Can’t compile the student’s code. Error: TypeError(‘cannot unpack non-iterable NoneType object’).
Tried it multiple times with all the suggestions, no luck yet.

I had the same problem, until I saw that I did not set the value inside the loop.

Is the problem resolved?

I have the same issue.
Cell #13. Can’t compile the student’s code. Error: AssertionError(‘Overlap with an empty list must be False’)
Got this after I had submitted my assignment. Please help me resolve this.

Hi @CHINNAPAPAKKAGARI_SR ,

There could be a number of scenarios causing the grader to throw such an error:

  1. you submitted your assignment without fully completed all the exercises
  2. error in your code
  3. your file has been corrupted

Here is a thread discussing the same issue. You may find solution to the problem.

Anyone could solve this problem ?
Cell #13. Can’t compile the student’s code. Error: AssertionError(‘Overlap with an empty list must be False’)