from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) doc = '' class Constants(BaseConstants): name_in_url = 'Posttest_survey' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): age = models.IntegerField(label='What is your age', max=125, min=13) gender = models.StringField(choices=[['Male', 'Male'], ['Female', 'Female']], label='What is your gender', widget=widgets.RadioSelect) Your_contact = models.LongStringField(blank=True, label='Your email address:') Intrinsic_mot_1 = models.StringField(choices=[['Strongly disagree', 'Strongly disagree'], ['Disagree', 'Disagree'], ['Somewhat disagree', 'Somewhat disagree'], ['Neutral', 'Neutral'], ['Somewhat agree', 'Somewhat agree'], ['Agree', 'Agree'], ['Strongly agree', 'Strongly agree']], label='This task was interesting.', widget=widgets.RadioSelect) Intrinsic_mot_2 = models.StringField(choices=[['Strongly disagree', 'Strongly disagree'], ['Disagree', 'Disagree'], ['Somewhat disagree', 'Somewhat disagree'], ['Neutral', 'Neutral'], ['Somewhat agree', 'Somewhat agree'], ['Agree', 'Agree'], ['Strongly agree', 'Strongly agree']], label='This task was enjoyable.', widget=widgets.RadioSelect) Emotional_reaction_1 = models.StringField(choices=[['Strongly disagree', 'Strongly disagree'], ['Disagree', 'Disagree'], ['Somewhat disagree', 'Somewhat disagree'], ['Neutral', 'Neutral'], ['Somewhat agree', 'Somewhat agree'], ['Agree', 'Agree'], ['Strongly agree', 'Strongly agree']], label='I am satisfied with the winner selection process.', widget=widgets.RadioSelect) Emotional_reaction_2 = models.StringField(choices=[['Strongly disagree', 'Strongly disagree'], ['Disagree', 'Disagree'], ['Somewhat disagree', 'Somewhat disagree'], ['Neutral', 'Neutral'], ['Somewhat agree', 'Somewhat agree'], ['Agree', 'Agree'], ['Strongly agree', 'Strongly agree']], label='I believe the winner selection process is fair.', widget=widgets.RadioSelect) Desirablity = models.StringField(choices=[['Strongly disagree', 'Strongly disagree'], ['Disagree', 'Disagree'], ['Somewhat disagree', 'Somewhat disagree'], ['Neutral', 'Neutral'], ['Somewhat agree', 'Somewhat agree'], ['Agree', 'Agree'], ['Strongly agree', 'Strongly agree']], label='The reward is desirable.', widget=widgets.RadioSelect) Self_efficacy = models.StringField(choices=[['Strongly disagree', 'Strongly disagree'], ['Disagree', 'Disagree'], ['Somewhat disagree', 'Somewhat disagree'], ['Neutral', 'Neutral'], ['Somewhat agree', 'Somewhat agree'], ['Agree', 'Agree'], ['Strongly agree', 'Strongly agree']], label='I am confident with my math ability (in the experiment format).', widget=widgets.RadioSelect) Expectancy = models.StringField(choices=[['Strongly disagree', 'Strongly disagree'], ['Disagree', 'Disagree'], ['Somewhat disagree', 'Somewhat disagree'], ['Neutral', 'Neutral'], ['Somewhat agree', 'Somewhat agree'], ['Agree', 'Agree'], ['Strongly agree', 'Strongly agree']], label='I believe I have good chances to win the voucher.', widget=widgets.RadioSelect) Emot_happy = models.StringField(choices=[['Strongly disagree', 'Strongly disagree'], ['Disagree', 'Disagree'], ['Somewhat disagree', 'Somewhat disagree'], ['Neutral', 'Neutral'], ['Somewhat agree', 'Somewhat agree'], ['Agree', 'Agree'], ['Strongly agree', 'Strongly agree']], label='I would be happy to work in an organization where the promotion process is like at Sun LLC.', widget=widgets.RadioSelect) Emot_satisfied = models.StringField(choices=[['Strongly disagree', 'Strongly disagree'], ['Disagree', 'Disagree'], ['Somewhat disagree', 'Somewhat disagree'], ['Neutral', 'Neutral'], ['Somewhat agree', 'Somewhat agree'], ['Agree', 'Agree'], ['Strongly agree', 'Strongly agree']], label='I would be satisfied to work in an organization where the promotion process is like at Sun LLC.', widget=widgets.RadioSelect) test_human = models.StringField(choices=[['Strongly disagree', 'Strongly disagree'], ['Disagree', 'Disagree'], ['Somewhat disagree', 'Somewhat disagree'], ['Neutral', 'Neutral'], ['Somewhat agree', 'Somewhat agree'], ['Agree', 'Agree'], ['Strongly agree', 'Strongly agree']], label='I would have shown more effort if a human selects the winner.', widget=widgets.RadioSelect) Emot_angry = models.StringField(choices=[['Strongly disagree', 'Strongly disagree'], ['Disagree', 'Disagree'], ['Somewhat disagree', 'Somewhat disagree'], ['Neutral', 'Neutral'], ['Somewhat agree', 'Somewhat agree'], ['Agree', 'Agree'], ['Strongly agree', 'Strongly agree']], label='I would be angry to work in an organization where the promotion process is like at SunLLC.', widget=widgets.RadioSelect) Emot_disappointed = models.StringField(choices=[['Strongly disagree', 'Strongly disagree'], ['Disagree', 'Disagree'], ['Somewhat disagree', 'Somewhat disagree'], ['Neutral', 'Neutral'], ['Somewhat agree', 'Somewhat agree'], ['Agree', 'Agree'], ['Strongly agree', 'Strongly agree']], label='I would be disappointed to work in an organization where the promotion process is like at Sun LLC.', widget=widgets.RadioSelect) test_AI = models.StringField(choices=[['Strongly disagree', 'Strongly disagree'], ['Disagree', 'Disagree'], ['Somewhat disagree', 'Somewhat disagree'], ['Neutral', 'Neutral'], ['Somewhat agree', 'Somewhat agree'], ['Agree', 'Agree'], ['Strongly agree', 'Strongly agree']], label='I would have shown more effort if an algorithm selects the winner.', widget=widgets.RadioSelect) interested_in_results = models.StringField(blank=True, choices=[['Yes', 'Yes'], ['No', 'No']], label='Would you like to receive the results (per email)?', widget=widgets.RadioSelect) contact = models.StringField(blank=True, label='Your email address')