log attempts in tracking

This commit is contained in:
ichuang
2012-09-10 20:33:56 -04:00
parent c1d92f9351
commit e62e58dc6e

View File

@@ -507,6 +507,7 @@ class CapaModule(XModule):
# 'success' will always be incorrect
event_info['correct_map'] = correct_map.get_dict()
event_info['success'] = success
event_info['attempts'] = self.attempts
self.system.track_function('save_problem_check', event_info)
if hasattr(self.system,'psychometrics_handler'): # update PsychometricsData using callback