Skip to content

Commit

Permalink
fix: address quality failures
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajgrimaldi committed Mar 26, 2024
1 parent 90df44a commit eaa73c5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions openassessment/xblock/grade_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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."
)
Expand Down

0 comments on commit eaa73c5

Please sign in to comment.