Commit c1fff156 by Brian Wilson

reenable psychometrics for regrading

parent 3b657d6d
......@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment