I might have broken my notebook for C2W2

I think I accidentally deleted one of the assignment cells. I had the whole thing saved offline so i added a new cell in its place and pasted my solution there.
All cells give the expected output but in grading I get 0 on all assingments and every error states

There was a problem compiling the code from your notebook. Details:
name 'transform' is not defined

how do I repair this?

You can do a force refresh if its on coursera environment. Just search force refresh course on google.

Yes! it was indeed broken somehow i reverted back to original state and pasted in my solutions and it worked!

for anyone with the same problem this post did it for me: https://stackoverflow.com/questions/49615715/coursera-jupyternotebook-revert-to-the-beginning