Here’s a thread about the “ufunc ‘isfinite’” error. It probably means you are generating an array where you should be generating a scalar. That’s for UNQ_C1.
Then for UNQ_C2 it looks like your code is incomplete and there’s a None somewhere that should have been replaced with real code.
And so forth. I’m sure Saif will be able to give more specific guidance, but there is a fertile field in the error messages. Also I would bet money that your notebook actually doesn’t pass the local tests. There’s just too much wrong there …
Most likely you have renamed your version of the notebook and the grader is grading a different (probably clean) notebook.