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' 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 \"Cut Middle\" ?') question_3 = models.IntegerField(widget=widgets.RadioSelectHorizontal, choices=[(1, 'Very unfair'), (2, 'Unfair'), (3, 'Fair'), (4, 'Very fair')], label='How fair was \"Last Challenger\" ?') question_4 = models.IntegerField(widget=widgets.RadioSelectHorizontal, choices=[(1, 'Very unfair'), (2, 'Unfair'), (3, 'Fair'), (4, 'Very fair')], label='How fair was \"Leftmost Leaves\" ?') question_5 = models.IntegerField(widget=widgets.RadioSelectHorizontal, choices=[(1, 'Very unfair'), (2, 'Unfair'), (3, 'Fair'), (4, 'Very fair')], label='How fair was \"Sequential Split\" ?') question_6 = models.IntegerField(widget=widgets.RadioSelectHorizontal, choices=[(1, 'Very unfair'), (2, 'Unfair'), (3, 'Fair'), (4, 'Very fair')], label='How fair was \"Double Knife\" ?') question_7 = models.IntegerField(widget=widgets.RadioSelectHorizontal, choices=[(1,'Yes'), (2, 'No'), (3, 'Does not matter')], label='Would you have preferred to bargain over the cake directly with the other players instead of dividing it with these methods?') textbox_1 = models.StringField(label='\"Cut and Choose\" Feedback:', blank=True) textbox_2 = models.StringField(label='\"Cut Middle\" Feedback:', blank=True) textbox_3 = models.StringField(label='\"Last Challenger\" Feedback:', blank=True) textbox_4 = models.StringField(label='\"Leftmost Leaves\" Feedback:', blank=True) textbox_5 = models.StringField(label='\"Sequential Split\" Feedback:', blank=True) textbox_6 = models.StringField(label='\"Double Knife\" Feedback:', blank=True) textbox_7 = models.StringField(label='Please give us your comments on which procedures produced fairer allocations and were easier to use.', blank=True)