Merge pull request #11933 from Woutifier/master

Added random seed to metadata that is sent to external grader
This commit is contained in:
David Ormsbee
2016-03-29 09:06:21 -04:00

View File

@@ -2819,6 +2819,7 @@ class CodeResponse(LoncapaResponse):
student_info = {
'anonymous_student_id': anonymous_student_id,
'submission_time': qtime,
'random_seed': self.context['seed'],
}
contents.update({'student_info': json.dumps(student_info)})