from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) doc = '' class Constants(BaseConstants): name_in_url = 'First_part' players_per_group = None num_rounds = 1 my_constant = () class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): rd = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4']], widget=widgets.RadioSelect) QA = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5'], [6, '6'], [7, '7'], [8, '8'], [9, '9'], [10, '10']], widget=widgets.RadioSelectHorizontal) QB = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5'], [6, '6'], [7, '7'], [8, '8'], [9, '9'], [10, '10']], widget=widgets.RadioSelectHorizontal) QC = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5'], [6, '6'], [7, '7'], [8, '8'], [9, '9'], [10, '10']], widget=widgets.RadioSelectHorizontal) QD = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5'], [6, '6'], [7, '7'], [8, '8'], [9, '9'], [10, '10']])