In C3 week 4 assignment I receive this for padding function:
Failed test case: There was an error grading this function. Details shown in ‘got’ value below:.
Expected:
no exceptions,
but got:
setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (5,) + inhomogeneous part…
There is no exceptions when I rerun notebook myself and max and minimum second part of shape are the same.
The code is pretty simple and straightforward
What should I look for ?
May it come from reusing variable names in non-graded cells ?
I do need to restart almost every cell in notebook after full run if I want to check single function because of it.
By the way. All other parts of code and history have no errors or exceptions and are accepted by tests.