C1M3_Assignment - all 4 exercises display "Details: unexpected indent (<unknown>, line 294)"

This is Introduction to Generative AI for Software Development, Week 3, first graded assignment, C1M3_Assignment. I’m using Coursera’s Jupyter Notebook.

I’m seeing a “There was a problem compiling the code from your notebook, please check that you saved before submitting. Details: unexpected indent (, line 294) for all 4 exercises along with a grade of 0. (I also can’t seem to figure out where line 294 is or how to turn on line numbering to understand the problem.)

The submission.checker does give me “Once you feel good about your submission, save your work and submit! Congratulations on completing the first major assignment in this specialization!”

I pressed the Submit button, thinking that the “Saved” *.ipynb would have an upload file capability, but I assume this is not the case. I push Submit and now assume it takes what is in my Coursera Jupyter Notebook is used from this environment.

I considered that I may have mangled the notebook along the way, so I did the refresh via the “Update lab to the latest version” and tried again.

It still displays the same error after 4 tries.

I’m not a mentor for this course: This is only general guidance.
= = = =
The Submit grader always uses the notebook with the original file name - not necessarily the file you have open.

Do not pay too much attention to the text in the notebook that describes the process. It assumes that nothing will go wrong after that.

“Get Latest Version” only works if you first rename or delete your original notebook. It will only replace a missing file, but it does nothing if the file already exists.

The most common reason for getting a grade of 0 is if the code you added to the notebook does not work correctly for the tests that the grader uses. They are entirely different tests than the ones built into the notebook.

Its better to do what Tom says i.e. “Get Latest Version” because we cant know easily where things have gone wrong. But do save you current work either b renaming the filename or downloading so you can reuse the solutions in the new restored Lab file.