from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range, ) doc = '' class Constants(BaseConstants): name_in_url = 'Questionaire' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): Choice1 = models.BooleanField( choices=[[True, 'Accept this lottery'], [False, 'Reject this lottery']], widget=widgets.RadioSelect, ) Choice2 = models.BooleanField( choices=[[True, 'Accept this lottery'], [False, 'Reject this lottery']], widget=widgets.RadioSelect, ) Choice3 = models.BooleanField( choices=[[True, 'Accept this lottery'], [False, 'Reject this lottery']], widget=widgets.RadioSelect, ) Choice4 = models.BooleanField( choices=[[True, 'Accept this lottery'], [False, 'Reject this lottery']], widget=widgets.RadioSelect, ) Choice5 = models.BooleanField( choices=[[True, 'Accept this lottery'], [False, 'Reject this lottery']], widget=widgets.RadioSelect, ) Choice6 = models.BooleanField( choices=[[True, 'Accept this lottery'], [False, 'Reject this lottery']], widget=widgets.RadioSelect, ) n = models.IntegerField() payoff_questionnaire = models.FloatField() n2 = models.IntegerField() deletedCount = models.IntegerField() payoff_bomb = models.FloatField() Bomb_location = models.IntegerField()