Advertisement
smathot

Untitled

Jan 30th, 2013
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. if self.get('response') in ('z', 'm'):
  2.     exp.set('correct', 1)
  3.     exp.set('total_correct', self.get('total_correct') + 1)
  4.     exp.set('acc', 100.*self.get('total_correct')/self.get('total_responses'))
  5.     exp.set('accuracy', self.get('acc'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement