from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range, ) author = 'Tobias Regner' doc = """ Instructions plus control questions """ class Constants(BaseConstants): name_in_url = 'Instructions' players_per_group = None num_rounds = 1 treatment = 3 # change also in unc-pwyw instructions_template = 'MTurk_Unc_PWYW/Instructions2.html' instructions_decision = 'MTurk_Unc_PWYW/InstrucDecisionSituation.html' class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): question1 = models.BooleanField(choices=[(0, "right"), (1, "wrong")], label='"As seller you can decide on your own, which pricing mechanism you use to sell your product."', widget=widgets.RadioSelectHorizontal) question2 = models.BooleanField(choices=[(0, "right"), (1, "wrong")], label='"If the seller chooses PWYW (Pay-What-You-Want) as pricing mechanism, the buyers can decide on their own how much to pay for the product."', widget=widgets.RadioSelectHorizontal) question3s = models.IntegerField(min=-3, max=27, label="Enter the result into the field below.") question3b1 = models.IntegerField(min=-3, max=5, label="Enter the result into the field below.") question4s = models.IntegerField(min=-3, max=27, label="Enter the result into the field below.") question4b1 = models.IntegerField(min=-3, max=5, label="Enter the result into the field below.") question4b2 = models.IntegerField(min=-3, max=5, label="Enter the result into the field below.") question5b = models.BooleanField(choices=[(0, "right"), (1, "wrong")], label='"Before deciding on their payment, buyers find out their valuation."', widget=widgets.RadioSelectHorizontal) question5s = models.IntegerField(min=-3, max=27, label="Enter the result into the field below.")