reenable psychometrics for regrading
This commit is contained in:
@@ -887,9 +887,9 @@ class CapaModule(CapaFields, XModule):
|
||||
event_info['attempts'] = self.attempts
|
||||
self.system.track_function('problem_regrade', event_info)
|
||||
|
||||
# TODO: figure out if psychometrics should be called on regrading requests
|
||||
# if hasattr(self.system, 'psychometrics_handler'): # update PsychometricsData using callback
|
||||
# self.system.psychometrics_handler(self.get_state_for_lcp())
|
||||
# psychometrics should be called on regrading requests in the same way as check-problem
|
||||
if hasattr(self.system, 'psychometrics_handler'): # update PsychometricsData using callback
|
||||
self.system.psychometrics_handler(self.get_state_for_lcp())
|
||||
|
||||
return {'success': success}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user