# I have been getting failed in assignment submission eventhough I passed in testing and submission checker in notebook

**URL:** <https://community.deeplearning.ai/t/i-have-been-getting-failed-in-assignment-submission-eventhough-i-passed-in-testing-and-submission-checker-in-notebook/863830>\
**Category:** Introduction to Generative AI for Software Develop\
**Tags:** week-module-3, project\
**Created:** [July 31, 2025, 6:42am UTC](https://community.deeplearning.ai/t/i-have-been-getting-failed-in-assignment-submission-eventhough-i-passed-in-testing-and-submission-checker-in-notebook/863830 "2025-07-31T06:42:44Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![wailynnzaw](https://avatars.discourse-cdn.com/v4/letter/w/a9adbd/32.png) [@wailynnzaw](https://community.deeplearning.ai/u/wailynnzaw)\
**Post date:** [July 31, 2025, 6:42am UTC](https://community.deeplearning.ai/t/i-have-been-getting-failed-in-assignment-submission-eventhough-i-passed-in-testing-and-submission-checker-in-notebook/863830/1 "2025-07-31T06:42:44Z")

</div>

I have tested and even checked in Notebook and it’s showing that

```auto
All tests passed! If you made your solution in a different cell, make sure to include it in the graded cell as well.
All checks are ok! If you passed all unittests, your submission is likely to pass the autograder.'

```

BUT the result is failed and I just get all 0.

**shortest\_path function**

Filename: shortest\_path function Score: 0 of 25

**tsp\_small\_graph function**

Filename: tsp\_small\_graph function Score: 0 of 25

**tsp\_large\_graph function**

Filename: tsp\_large\_graph function Score: 0 of 25

**tsp\_medium\_graph function**

Filename: tsp\_medium\_graph function Score: 0 of 25

```auto
Failed test case: Failed to find the optimal solution for path between nodes 654 and 114 in a graph. To replicate the graph, you may run generate_graph(graph = GraphShortestPath, nodes = 1000, edges = 100, seed = 42), index = 0.
Expected:
31,
but got:
None."

```

How can I fix it?

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [July 31, 2025, 8:03am UTC](https://community.deeplearning.ai/t/i-have-been-getting-failed-in-assignment-submission-eventhough-i-passed-in-testing-and-submission-checker-in-notebook/863830/2 "2025-07-31T08:03:59Z")

</div>

Sharing solutions publicly is not allowed!

The graders’ tests are not as shallow as the run-time tests. Therefore, as you can see from the error, your solutions are not as required.

Try to ask the LLM to give you another solution that is more efficient, also feed the exercises’ entire requirement, the function, and class definitions as well in the prompt!

---

<div class="post-metadata">

**Author:** ![wailynnzaw](https://avatars.discourse-cdn.com/v4/letter/w/a9adbd/32.png) [@wailynnzaw](https://community.deeplearning.ai/u/wailynnzaw)\
**Post date:** [August 4, 2025, 3:33am UTC](https://community.deeplearning.ai/t/i-have-been-getting-failed-in-assignment-submission-eventhough-i-passed-in-testing-and-submission-checker-in-notebook/863830/3 "2025-08-04T03:33:04Z")

</div>

Actually, I just needed to place each exercise code from the outside to the graded cells inside C1M3\_assignment.py to check by autograder. Anyway, I passed it. Thanks!

---

<div class="post-metadata">

**Author:** ![Greg\_Geller](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/greg_geller/32/169941_2.png) [@Greg\_Geller](https://community.deeplearning.ai/u/Greg_Geller)\
**Post date:** [October 6, 2026, 12:37am UTC](https://community.deeplearning.ai/t/i-have-been-getting-failed-in-assignment-submission-eventhough-i-passed-in-testing-and-submission-checker-in-notebook/863830/4 "2026-10-06T00:37:10Z")

</div>

This is failing for me. I have passed all of the unit tests and when I submit my code, I get zero for both assignments. I do not understand it. I have been working on this for the last two days and it is due in 6 hours. I do not know what I need to do to complete this.

Any help would be greatly appreciated!!!

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [October 6, 2026, 8:59am UTC](https://community.deeplearning.ai/t/i-have-been-getting-failed-in-assignment-submission-eventhough-i-passed-in-testing-and-submission-checker-in-notebook/863830/5 "2026-10-06T08:59:04Z")

</div>

Are you able to submit to the grader? What errors is the grader giving as feedback, can you post that grader feedback?

---

<div class="post-metadata">

**Author:** ![Greg\_Geller](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/greg_geller/32/169941_2.png) [@Greg\_Geller](https://community.deeplearning.ai/u/Greg_Geller)\
**Post date:** [October 7, 2026, 12:52am UTC](https://community.deeplearning.ai/t/i-have-been-getting-failed-in-assignment-submission-eventhough-i-passed-in-testing-and-submission-checker-in-notebook/863830/6 "2026-10-07T00:52:10Z")

</div>

There is no feed back from the grader at all

---

<div class="post-metadata">

**Author:** ![Greg\_Geller](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/greg_geller/32/169941_2.png) [@Greg\_Geller](https://community.deeplearning.ai/u/Greg_Geller)\
**Post date:** [October 7, 2026, 12:52am UTC](https://community.deeplearning.ai/t/i-have-been-getting-failed-in-assignment-submission-eventhough-i-passed-in-testing-and-submission-checker-in-notebook/863830/7 "2026-10-07T00:52:50Z")

</div>

and now I have gone past my deadline

---

<div class="post-metadata">

**Author:** ![TMosh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/tmosh/32/9321_2.png) [@TMosh](https://community.deeplearning.ai/u/TMosh)\
**Post date:** [October 7, 2026, 1:16am UTC](https://community.deeplearning.ai/t/i-have-been-getting-failed-in-assignment-submission-eventhough-i-passed-in-testing-and-submission-checker-in-notebook/863830/8 "2026-10-07T01:16:01Z")

</div>

Please post an image of what you see on the grader results. Even if it’s all zeros. That will give us a starting point for further discussion.

---

<div class="post-metadata">

**Author:** ![Greg\_Geller](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/greg_geller/32/169941_2.png) [@Greg\_Geller](https://community.deeplearning.ai/u/Greg_Geller)\
**Post date:** [October 7, 2026, 5:36am UTC](https://community.deeplearning.ai/t/i-have-been-getting-failed-in-assignment-submission-eventhough-i-passed-in-testing-and-submission-checker-in-notebook/863830/9 "2026-10-07T05:36:14Z")

</div>

You are submitting a version of the assignment that is behind the latest version.  
The latest version is 2 and you are on version None.  
Please refresh your workspace to get a new copy of the assignment. Follow the instructions in the course item called ‘(Optional) Downloading your Notebook and Refreshing your Workspace.’

First question is why if I just started this course would I be working on the wrong version? It doesn’t make sense/

Second question is I did refresh so why am I receiving this?

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [October 7, 2026, 5:39am UTC](https://community.deeplearning.ai/t/i-have-been-getting-failed-in-assignment-submission-eventhough-i-passed-in-testing-and-submission-checker-in-notebook/863830/10 "2026-10-07T05:39:52Z")

</div>

I understand your concern. If you have just started the course, it is reasonable to wonder why you would be working on an older version in the first place.

However, according to the grader, the environment you are currently working in appears to have an older or incorrect version of the assignment. This can sometimes happen depending on whether you are working on Coursera or on the DeepLearning.AI platform.

If you are working on **Coursera** , click the **question mark (?) in the upper-right corner** and look for the option **“Get Latest Version.”**

If you are working on the **DeepLearning.AI platform** , click the **three dots in the upper-right corner** and select the option to **restore the original version of the assignment**.

Before doing either of these, however, please **rename your current assignment or make a copy/delete the current version as appropriate**. Most importantly, try to **keep a copy of the solutions you have already worked on** , so you do not lose your progress.

Since the grader is indicating that you are not working on the latest version, I would recommend refreshing/restoring the assignment first and then transferring your solutions to the latest version.

If you still receive the same message after doing this, please let me know and we can look at it further.

---

<div class="post-metadata">

**Author:** ![Greg\_Geller](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/greg_geller/32/169941_2.png) [@Greg\_Geller](https://community.deeplearning.ai/u/Greg_Geller)\
**Post date:** [October 7, 2026, 7:39pm UTC](https://community.deeplearning.ai/t/i-have-been-getting-failed-in-assignment-submission-eventhough-i-passed-in-testing-and-submission-checker-in-notebook/863830/11 "2026-10-07T19:39:47Z")

</div>

I save off my completed worked and deleted everything from the workspace and notebook. I did the refresh of the workspace and rebooted the server just to make sure. I submitted my code and it passed!!!.

Thank you so much for all of your patience and help. I was going a little crazy!!!

Greg
