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

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

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

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?

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!

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!

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!!!

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

There is no feed back from the grader at all

and now I have gone past my deadline

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.

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?

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.

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