Continuing the discussion from Problem in Assignment Marking:
Yes, and the most likely answer was given on this post in that previous thread.
It is always the case that just passing the unit tests in the notebook does not guarantee full scores from the grader. There are lots of ways to write your code such that it is not “general”: it happens to work in the notebook, but makes incorrect assumptions like hard-coding dimensions of input objects or referencing global variables in the notebook.
So you will need to resolve this by debugging your code more carefully with the above points in mind.