from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) author = 'Filip Gonschorek' doc = """ Your app description """ class Constants(BaseConstants): name_in_url = 'cutcake_survey_preference' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): question_1 = models.IntegerField(widget=widgets.RadioSelectHorizontal, choices=[(1, 'Very unfair'), (2, 'Unfair'), (3, 'Fair'),(4, 'Very fair')],label='How fair was \"Cut and Choose\" ?') question_2 = models.IntegerField(widget=widgets.RadioSelectHorizontal, choices=[(1, 'Very unfair'), (2, 'Unfair'), (3, 'Fair'),(4, 'Very fair')],label='How fair was \"Bargaining\" ?') question_3 = models.IntegerField(widget=widgets.RadioSelectHorizontal, choices=[(1,'Cut and Choose'), (2, 'Bargaining'), (3, 'Not sure' )],label='Which procedure do you prefer, \"Cut and Choose\" or \"Bargaining\"?') textbox_1 = models.StringField(label='\"Cut and Choose\" Feedback:', blank=True) textbox_2 = models.StringField(label='\"Bargaining\" Feedback:', blank=True) # textbox_3 = models.StringField(label='Please give us your comments on which procedure produced fairer allocations and was easier to use.', blank=True)