grade prediction script