From c1fff1568e760a7985bf46fb810c12614004ea4c Mon Sep 17 00:00:00 2001 From: Brian Wilson Date: Tue, 28 May 2013 14:07:04 -0400 Subject: [PATCH] reenable psychometrics for regrading --- common/lib/xmodule/xmodule/capa_module.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/lib/xmodule/xmodule/capa_module.py b/common/lib/xmodule/xmodule/capa_module.py index f4423d3ce6..4e1b72fd7f 100644 --- a/common/lib/xmodule/xmodule/capa_module.py +++ b/common/lib/xmodule/xmodule/capa_module.py @@ -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}