Graded Lab Constantly Fails — "collection" not defined error

I have tried resubmitting and restarting the Graded Lab for Module 3 multiple times, but it fails each time with the following error for each of the 5 parts:
There was a problem compiling the code from your notebook, please check that you saved before submitting. Details:
name ‘collection’ is not defined

But, of course, ‘collection’ IS defined, at least from what is apparent. And yes, I have saved the notebook. All the python cells work, and all the unittests pass. So I’m not sure what’s going on, and I don’t know how to just completely reset all progress on the lab so I can start from scratch.

Without passing this, I can’t get certification. Any assistance would be appreciated.

Did you ever add, delete, move, or modify any cells in the notebook that were not specifically part of the instructions?

It sounds like the grader is ignoring one of your cells, because some of its metadata has been modified.

Getting the same error for all of the parts of the assignment indicates that the grader is seeing a fatal error somewhere in the notebook, and in that case it posts the same error for all parts.

It’s possible but I didn’t make any additions or modifications intentionally.

How do I fix this? Is there a way to just reset everything?

See the instructions at this page, for resetting your workspace.

Thank you kindly. The reset did the trick, and it passed this time.

That’s good news!