Issue in submitting module 2 graded assignment

When I initially submitted graded assignment in module 1 ‘Identifying and Fixing Bugs in Code Using LLMs’, it grade correctly but if I resubmit again as was not successful first time, it start giving weird indentation errors even though indentations are correct and has also been checked by LLM!

Something is off here and I have tried submitting multiple times, it just not working. I have tried updating lab and reboot but same issue.

Kindly look at this on priority as I can’t move forward because of this and I have committed myself to finish it in a month.

Did you get the grades on your firsts submission? If you didnt or you want to resubmit again I would advise to perform a “Get Latest Version” reset, in the question mark of the right hand corner of the Lab. Before you do that rename the current Lab or delete in entirely, then try again producing the code with the help of the LLM and submitting again. But make sure the existing file doesn’t have the original file name when reseting it.

Same issue after trying above steps. I am also attaching the screenshot this time. All four tasks have same exact indentation issue, even though I have not added any code in 3rd task!

Did you reset the entire assignment?

Send me the lab copy in private as an .ipynb file, I will have a try at it as well!

Tried all steps. Not working still. Sent you lab file in chat

I checked your file and it seems there is something wrong with it, when I reset the lab and pasted your solution, I got full points for exercise 1, so you need to reset the Lab with “Get Latest Version” as I told you above:

I tried as you said. Renamed my assignment ipynb file and then clicked on Get latest version. It brought new assignment file. I pasted my code there and submitted assignment. But again same issue as there in previous screenshot. Weird indentation error again!!
Def a lab issue because in third task in assignment, I have not pasted any new code but still same indentation error as I get in other three tasks where I modified code.

Can this be looked on priority. I want to finish the course ASAP as need to do one more after this before 16th April as I bought monthly subscription only. Else, I need to pay for one extra month unnecessarily!

Try one more thing, delete the existing notebook entirely and then get a new reset copy, an on that copy you can place the solutions! It worked for me with your code for exercise 1, I don’t know why its not working for you. Otherwise maybe @lucas.coutinho maybe can have a say!

So I deleted ipynb file as well as unittests.py file > then clicked on Get latest version and thankfully, indentation error is gone. Now I am getting new error that too only for last task.

Can you help in this. Attaching the error screenshot.

Well for this error, it means your solution is not right, keep conversing with the LLM telling it that solution it gave to you its taking a long time and to give you another more efficient one, feed all exercise requirements to it, including the function description!

Apologies, I should gave more context! I worked with LLM back and forth and looks like it was either giving this or that and both were rejected by assignment compiler. Changed my prompt but it was same in multiple cases.
Maybe my prompt was not still good enough. Will try more. Thanks!

1 Like

Yes, you do that, let’s see what it gives you!

I have similar issue.
Assignment 1 : Locally all test passed. First submission: Failed, Second Submission:Passed
Assignment 2: Locally failed. All submission: Failed
Assignment 3: Locally all test passed. First submission: Pass.
Assignment 1 : Locally all test passed. First, Second, Third: Failed, Submitted fourth time, waitng for results.

Now Assignment 4.1, 4.2, 4.3 passed after multiple submission, but 4.4 is still failling.

What is the detailed grader feedback for the tsp_medium_graph function?

You are not supposed to publicly code solutions publicly! As Tom says what does the grader say, have you tried all suggestions above?

Learner Error: Grader timed out
Please try optimizing the efficiency of your solution and submit again. You can also visit the discussion forum to see if your peers have experienced and found resolutions for similar errors, or if course staff have provided prior guidance for these errors.. If the error isn't resolved in 24 hours, please reach out to Coursera through our Help Center.

The same advice goes for you too in this case:

but locally everything is fine and all tests passes.