the error is train_val split or the submission grader provide that general error information to all grade functions?
you can rather post screenshot of the error or your grade output with show grader output than posting grade function codes as it is against community guidelines.
if that error information was in general for all grade functions, then refer the linked post to debug your codes