Error after Assignment submission: Gradient Checking

Yes, there is a topic about the “name not defined” problem on the DLS FAQ Thread, q.v.