diff --git a/openassessment/xblock/grade_mixin.py b/openassessment/xblock/grade_mixin.py index aeb153ee3f..d1ac50d0d4 100644 --- a/openassessment/xblock/grade_mixin.py +++ b/openassessment/xblock/grade_mixin.py @@ -373,7 +373,7 @@ def _get_assessment_part(title, feedback_title, part_criterion_name, assessment) ) if "peer-assessment" in assessment_steps: peer_assessment_part = { - 'title': self._get_peer_assessment_part_title( + 'title': self._get_peer_assessment_part_title( get_peer_grading_strategy(self.workflow_requirements()) ), 'criterion': criterion, @@ -699,14 +699,14 @@ def _get_score_explanation(self, workflow): def _get_peer_explanation_sentence(self, peer_grading_strategy): """ - Return a string which explains how grade is calculated for an ORA assessment - (which is complete i.e all assessments have been done) based on assessment_steps. + Return a string which explains how the peer grade is calculated for an ORA assessment. + Args: - workflow (dict): The serialized Workflow model. + peer_grading_strategy (str): The grading strategy for the peer assessment. Returns: - str: Message explainaing how grade is determined. + str: Message explaining how the grade is determined. """ - peer_sentence = _( + peer_sentence = _( "The grade for this problem is determined by the median score of " "your Peer Assessments." )