task grade validation