"Examples of failed tests will be provided."

I have been through several cycles of assignment submission. Unfortunately, I have as yet only failed. :- {

The feedback on the test says “Examples of failed tests will be provided.” The only feedback I see is very bare bones. Is there a way to see examples of failed tests?

Hello, please provide more details about your problem so we can help!

Here is the complete feedback for tsp_medium_graph …

"Failed test case: Failed to achieve 85% of success in test cases. Examples of failed tests will be provided.
Expected:
At least 85% of success tsp_medium_graph running below 1.5s and achieving the correct distance,
but got:
Success rate: 0%.

Failed test case: tsp_medium_graph returned an exception in test case. You may replicate the graph by generate_graph(nodes = 300, complete = True, seed = 65).
Expected:
{function_name} must run without exceptions,
but got:
Exception thrown is: name ‘dist’ is not defined.

Failed test case: tsp_medium_graph returned an exception in test case. You may replicate the graph by generate_graph(nodes = 300, complete = True, seed = 66).
Expected:
{function_name} must run without exceptions,
but got:
Exception thrown is: name ‘dist’ is not defined.

Failed test case: tsp_medium_graph returned an exception in test case. You may replicate the graph by generate_graph(nodes = 300, complete = True, seed = 67).
Expected:
{function_name} must run without exceptions,
but got:
Exception thrown is: name ‘dist’ is not defined."

tsp__medium_graph runs without error in my Jupyter Assignment notebook with same seeds as Autograder. I have checked and “dist = 0” is defined within tsp_medium_graph.

The limited feedback from the Autograder does not give me much to work with.

Thanks.

Right, what you should do as a natural course when working with a pair LLM, feed the LLM the code and the error its throwing and thats also part of the collaboration process. See what feedback it gives you.

I think in your case when returning the function outputs “return dist, path” you are not defining the dist variable inside in the function. Try to converse further with the LLM!