Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if self.get('response') in ('z', 'm'):
- exp.set('correct', 1)
- exp.set('total_correct', self.get('total_correct') + 1)
- exp.set('acc', 100.*self.get('total_correct')/self.get('total_responses'))
- exp.set('accuracy', self.get('acc'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement