Commit c4b1c8d0 by Vik Paruchuri

Correct peer grading score parsing

parent c267efb4
......@@ -31,6 +31,7 @@ from capa.util import *
import openendedchild
from mitxmako.shortcuts import render_to_string
from numpy import median
from datetime import datetime
......@@ -436,9 +437,11 @@ class OpenEndedModule(openendedchild.OpenEndedChild):
}
feedback_items.append(self._format_feedback(new_score_result))
feedback="".join(feedback_items)
score = median(score_result['score'])
else:
#This is for instructor and ML grading
feedback = self._format_feedback(score_result)
self.submission_id=score_result['submission_id']
self.grader_id=score_result['grader_id']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment