Commit 7f68610d by Piotr Mitros

Error in case sensitivity. Applying patch from gjs' machine

parent 638ff966
...@@ -127,7 +127,7 @@ class formularesponse(object): ...@@ -127,7 +127,7 @@ class formularesponse(object):
value = random.uniform(*ranges[var]) value = random.uniform(*ranges[var])
instructor_variables[str(var)] = value instructor_variables[str(var)] = value
student_variables[str(var)] = value student_variables[str(var)] = value
instructor_result = evaluator(instructor_variables,dict(),self.correct_answer) instructor_result = evaluator(instructor_variables,dict(),self.correct_answer, cs = self.case_sensitive)
try: try:
#print student_variables,dict(),student_answers[self.answer_id] #print student_variables,dict(),student_answers[self.answer_id]
student_result = evaluator(student_variables,dict(), student_result = evaluator(student_variables,dict(),
......
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