Issues with the test C5_W4_A1_Transformer_Subclass_v1


I hope this message finds you well. I am writing to bring to your attention an issue regarding the grading of my final programming assessment in the Sequence Models course at DeepLearning.AI.

According to my records, I successfully passed all the tests of the final programming assessment. I rigorously ran all the codes using my programming skills, and the results indicated that I passed each test without any errors. However, upon submitting the assignment, I noticed a discrepancy in the grades I received. Some grades were marked as passed, while others were marked as failed.

Given that all the tests were passed when I ran them locally, I believe there might be a mistake or an oversight in the grading process. I kindly request your assistance in resolving this issue and ensuring that my grades accurately reflect my performance in the assessment.

I understand that grading can sometimes be a complex process, and errors can occur. I am more than willing to provide any additional information or clarification that may be required to rectify this situation promptly. It is important to me to have an accurate evaluation of my work and efforts in the course.

I appreciate your attention to this matter and I kindly request that you look into the grading discrepancy as soon as possible. I look forward to your prompt response and a resolution to this issue.

Thank you for your understanding and assistance.

Juan Ricardo Escobar

Hey @Juan_Ricardo_Escobar,
Welcome, and we are glad that you could become a part of our community :partying_face:

The issue that you are facing arises very frequently among the learners. If you have passed all the test-cases (both public and private) for each of the exercises, and still the grader is failing your implementations, it is highly likely that you have used global variables in your implementations then. Check out the exercises that the grader is failing in your case, and sweep your implementations of those exercises for any global variables that you might have used.

Let us know if this helps you out.


This is highly unlikely, as the grader has been debugged thoroughly over the last few years.

Note that the passing the tests in the notebook does not prove that any of your code is perfect. The grader’s tests can detect errors in any of your other functions in this assignment.

Note also, this thread may be a duplicate.

It would be most useful if you post a screen capture image that shows the feedback you get from the grader.