from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) import random class Constants(BaseConstants): name_in_url = 'Belief_EFD' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): EFD1 = models.StringField( choices=['0 - definitely not', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10 - definitely yes'], label='Do you think you will be able to receive the payment from the study in your bank account?', widget=widgets.RadioSelect) EFD2 = models.StringField( choices=['0 - definitely not', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10 - definitely yes'], label='Do you think the payment from the study will be delivered as promised?', widget=widgets.RadioSelect) EFD3 = models.StringField( choices=['0 - definitely not', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10 - definitely yes'], label='Do you think the researchers conducting this study are trustworthy?', widget=widgets.RadioSelect) EFD4 = models.StringField( choices=['0 - definitely not', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10 - definitely yes'], label='Do you think other factors beyond your control could affect whether you receive the payment from this study?', widget=widgets.RadioSelect) Email = models.StringField( label=''' Earlier in the study, we asked you to take note of an email address in case of any issues regarding your payment. Please write down that email address below.
If you cannot recall the email address, please write down No instead.''', blank = False )