Help me solve this issue: "There was a problem compiling the code from your notebook, please check that you saved before submitting. Details: name 'series_valid' is not defined"

Hello, I’ve been having several issues — as mentioned in the title of this post — specifically with the assignment of the first week. I’ve been trying to solve it since yesterday afternoon, but I haven’t been able to find a solution. I’ve tried some of the tips I found, but nothing has worked so far.

This is the only task I need to complete in order to receive the certificate, and from what I’ve read, it seems this particular assignment has had complaints about grading problems.

To be clear, all my code runs without errors, but when I try to submit it, I receive the following message in every graded section:

“There was a problem compiling the code from your notebook, please check that you saved before submitting. Details: name ‘series_valid’ is not defined.”

I hope someone can help me resolve this issue. Thank you in advance.

the below post comment has 3 solution linked post, go through them, to debug your codes. A feedback like series_valid is not defined, is usually indicative, you probably not using the right function or right way to get a return function. For example if it was told you use a range, you need to use the right variable recall instead of using len function to the designated time period range.

Regards
DP

Hi, How do I get a new fresh assigment copy? Thanks.

refer 1a topic in the pinned comment

Thanks, I did it, i delete it the old version, I reboot it, I submmitted again, with all the advice you gave me in those 3 points, and I got 70/80, thanks man.

check for which grade function you scored 0, by checking show grader output. Then you will know why you didn’t score 80/80.