def timed_out(self, question_oid): self._answered_questions.add(question_oid) db.user_guess_wrong(self._oid, question_oid) db.update_question_wrong(question_oid, self._demographics)
def was_wrong(self, question_oid): self._answered_questions.add(question_oid) self._num_wrong += 1 db.user_guess_wrong(self._oid, question_oid)