Hello,
I’m facing an issue while submitting my Week 3 Graded Lab for the Machine Learning course.
The error message says:
UNQ_C3 is duplicate
But I have carefully checked my notebook, and there is only one instance of # UNQ_C3. I even tried restarting the kernel, re-downloading the notebook, and cleaning the code, but the issue still remains.
I also contacted Coursera Support, and they told me to post the issue here on the DeepLearning.AI community forum for technical follow-up.
Unfortunately, today is the deadline, and despite all my efforts, I couldn’t submit my lab and couldn’t receive a grade.
This will affect my ability to pass the course and earn the certificate.
What should I do now to make sure I get my grade and certificate?
Please help me resolve this as soon as possible.
Thank you very much in advance.
Thank you so much for following up and taking the time to help.
No, I didn’t change the name of my notebook file.
In addition to that, I encountered different types of errors and tried multiple times to fix them using various versions of the code. I even rebooted and tried submitting again several times from Apple devices, but the issue persisted.
Despite the fact that the output matched over 80% of the expected results, the system kept giving me a score of zero.
I really appreciate your support and am hoping the issue can be resolved soon.
I’m following up again because the issue still hasn’t been resolved, and
I’ve received several different automated responses that haven’t helped.
I’ve tried all the suggested steps, restarted the kernel, checked the
notebook structure, and verified everything carefully — but the same error
message persists, and I continue to receive a 0% grade.
I’ve also attached the grader’s feedback screenshot as requested.
At this point, the issue is blocking my access to Week 4 materials, even
though I’ve completed all exercises.
I would really appreciate a clear and permanent solution or guidance on how
to move forward.
So that error message says that somewhere in your notebook, you’re using a variable named “X”, in a context where it isn’t defined.
When your notebook contains a runtime error, the grader crashes and displays the same error message for all of the functions.
So the first thing you can do is search your notebook for every instance where you’re using the variable name ‘X’, and check whether it is valid to use there.
For example, if ‘X’ is a global variable in the notebook, you can’t use it inside a function, because the grader doesn’t provide the same global variables.
After you check for this issue, please post back whether you need additional tips.
Note also, ignore the reference to “cell #21”. That’s a cell number from the script that the grader uses, so its numbers are different than those in your notebook.
I carefully reviewed your suggestions and searched the notebook for all instances of the variable “X”. However, I can confirm that this is not the cause of the issue in my case.
Over the past week, I have spent several hours each day trying to resolve the problem. I reviewed every cell in the notebook, corrected all the errors you mentioned earlier (including the UNQ tag issues and variable definitions), and even ran the cells step by step instead of using Run All. Still, the system repeatedly resets the score to zero.
At this point, I truly believe the problem lies within the course platform or grading system, not the notebook itself.
Would it be possible to escalate this issue to the course instructor or technical staff? I would greatly appreciate it. If needed, I’m happy to share my notebook or even allow access to my account for further inspection.
Please kindly assist in registering my score and granting access to the next modules of the course. I’ve invested considerable time and effort and would sincerely appreciate a resolution.
Thank you very much for your message and your willingness to help resolve this issue.
I received your instructions regarding uploading the notebook file, and I truly appreciate your continued support. I’m currently away from my laptop and driving, but I will send you the .ipynb notebook file within the next few hours as soon as I’m back at my desk.