We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee87e0f commit 640f0d0Copy full SHA for 640f0d0
experiments/views/submit_answer.py
@@ -30,7 +30,7 @@ def create_new_answer(self):
30
execution = self.__execution()
31
correct = execution.task.correct_answer == user_answer.strip()
32
execution_id = self.__execution_id()
33
- if not correct: self.increment_number_of_errors(execution_id)
+ if not correct: self.increment_number_of_errors()
34
35
return Answer.objects.create(execution_id=execution_id, answer=user_answer, correct=correct)
36
0 commit comments