Given python script  is used to automatically grade assignments by parsing output for specific keywords.