diff --git a/common/lib/xmodule/xmodule/combined_open_ended_module.py b/common/lib/xmodule/xmodule/combined_open_ended_module.py index 71b641fbd2..29d1270893 100644 --- a/common/lib/xmodule/xmodule/combined_open_ended_module.py +++ b/common/lib/xmodule/xmodule/combined_open_ended_module.py @@ -219,4 +219,5 @@ class CombinedOpenEndedDescriptor(CombinedOpenEndedFields, RawDescriptor): stores_state = True has_score = True + always_recalculate_grades=True template_dir_name = "combinedopenended" diff --git a/common/lib/xmodule/xmodule/peer_grading_module.py b/common/lib/xmodule/xmodule/peer_grading_module.py index 2226b8f7dd..49b854e1d7 100644 --- a/common/lib/xmodule/xmodule/peer_grading_module.py +++ b/common/lib/xmodule/xmodule/peer_grading_module.py @@ -37,7 +37,7 @@ class PeerGradingFields(object): grace_period_string = String(help="Amount of grace to give on the due date.", default=None, scope=Scope.settings) max_grade = Integer(help="The maximum grade that a student can receieve for this problem.", default=MAX_SCORE, scope=Scope.settings) - student_data_for_location = Object(help="Student data for a given peer grading problem.", default=json.dumps({}), + student_data_for_location = Object(help="Student data for a given peer grading problem.", scope=Scope.user_state) weight = StringyFloat(help="How much to weight this problem by", scope=Scope.settings) @@ -577,4 +577,5 @@ class PeerGradingDescriptor(PeerGradingFields, RawDescriptor): stores_state = True has_score = True + always_recalculate_grades=True template_dir_name = "peer_grading"