from otree.api import * c = cu doc = '' class C(BaseConstants): NAME_IN_URL = 'Questionnaire' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): Benevolence_1 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='... they were very concerned with my profits.', widget=widgets.RadioSelectHorizontal) Benevolence_2 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='... my needs and desires were very important to them.', widget=widgets.RadioSelectHorizontal) Benevolence_3 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='... they would not intentionally hurt me.', widget=widgets.RadioSelectHorizontal) Benevolence_4 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='... they really looked out for what was important and profitable for me.', widget=widgets.RadioSelectHorizontal) Benevolence_5 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='... they would go out of their way to help me.', widget=widgets.RadioSelectHorizontal) Integrity_1 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='... they have a strong sense of justice.', widget=widgets.RadioSelectHorizontal) Integrity_2 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='... they would stick to their word.', widget=widgets.RadioSelectHorizontal) Integrity_3 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='... they try to be fair in dealing with others.', widget=widgets.RadioSelectHorizontal) Integrity_4 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='... they have values that I like.', widget=widgets.RadioSelectHorizontal) Integrity_5 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='... sound principles seem to guide their behavior.', widget=widgets.RadioSelectHorizontal) Ability_1 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='... they were capable of performing their task.', widget=widgets.RadioSelectHorizontal) Ability_2 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='... they are probably succesful at the things they do.', widget=widgets.RadioSelectHorizontal) Ability_3 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='... they have knowledge to play this game.', widget=widgets.RadioSelectHorizontal) Ability_4 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='... they have skills to play this game.', widget=widgets.RadioSelectHorizontal) Ability_5 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='... they are qualified for this task.', widget=widgets.RadioSelectHorizontal) Trusting_1 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='1. Most people are basically good-natured and kind.', widget=widgets.RadioSelectHorizontal) Trusting_2 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='2. Most people are trustworthy', widget=widgets.RadioSelectHorizontal) Trusting_3 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='3. Most people are basically honest.', widget=widgets.RadioSelectHorizontal) Trusting_4 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='4. Generally speaking, most people can be trusted.', widget=widgets.RadioSelectHorizontal) Trusting_5 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='5. Generally speaking, you cannot be too careful when dealing with people.', widget=widgets.RadioSelectHorizontal) Trusting_6 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5 ']], label='1. Lend money to your friends', widget=widgets.RadioSelectHorizontal) Trusting_7 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='2. Lend personal possessions to your friends.', widget=widgets.RadioSelectHorizontal) Trusting_8 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label="3. Intentionally leave your home's door unlocked (when noone is home).", widget=widgets.RadioSelectHorizontal) Trusting_9 = models.IntegerField(choices=[[1, '1 '], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='1. Even though I may sometimes suffer from trusting someone, I still prefer to trust than not to trust others.', widget=widgets.RadioSelectHorizontal) Trusting_10 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label="2. I don't want to do things with others even if there is the slightest possibility that I am the only one to suffer a loss.", widget=widgets.RadioSelectHorizontal) Trusting_11 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='3. I hate to lose because of having counted on someone.', widget=widgets.RadioSelectHorizontal) Trusting_12 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label="4. I might be taken advantage of by people sometimes, but I don't mind much.", widget=widgets.RadioSelectHorizontal) Trusting_13 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='5. Most people would try to take advantage of you if they got a chance.', widget=widgets.RadioSelectHorizontal) Trusting_14 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='6. Most of the time people try to be helpful.', widget=widgets.RadioSelectHorizontal) Trusting_15 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='7. People are mostly just looking out for themselves.', widget=widgets.RadioSelectHorizontal) Risk = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5'], [6, '6'], [7, '7'], [8, '8'], [9, '9'], [10, '10']], label='', widget=widgets.RadioSelect) Strategy = models.LongStringField(label='Briefly describe the strategy you used during the game:') Clarity_c = models.IntegerField(choices=[[1, '1 (Strongly Disagree)'], [2, '2'], [3, '3'], [4, '4'], [5, '5'], [6, '6'], [7, '7 (Strongly Agree)']], label='Please indicate the extent to which you agree or disagree with the statement: "The instructions were clear and precise"', widget=widgets.RadioSelectHorizontal) Strategy_more = models.LongStringField(label='Briefly describe why you chose this strategy and how it changed throughout the session') class Introduction(Page): form_model = 'player' class Attributions_benevolence(Page): form_model = 'player' form_fields = ['Benevolence_1', 'Benevolence_2', 'Benevolence_3', 'Benevolence_4', 'Benevolence_5'] class Attributions_Integrity(Page): form_model = 'player' form_fields = ['Integrity_1', 'Integrity_2', 'Integrity_3', 'Integrity_4', 'Integrity_5'] class Attributions_Ability(Page): form_model = 'player' form_fields = ['Ability_1', 'Ability_2', 'Ability_3', 'Ability_4', 'Ability_5'] class Trusting_beliefs_1(Page): form_model = 'player' form_fields = ['Trusting_1', 'Trusting_2', 'Trusting_3', 'Trusting_4', 'Trusting_5'] class Trusting_beliefs_2(Page): form_model = 'player' form_fields = ['Trusting_6', 'Trusting_7', 'Trusting_8'] class Trusting_beliefs_3(Page): form_model = 'player' form_fields = ['Trusting_9', 'Trusting_10', 'Trusting_11', 'Trusting_12', 'Trusting_13', 'Trusting_14', 'Trusting_15'] class Risk(Page): form_model = 'player' form_fields = ['Risk'] class Strategy(Page): form_model = 'player' form_fields = ['Strategy', 'Strategy_more', 'Clarity_c'] page_sequence = [Introduction, Attributions_benevolence, Attributions_Integrity, Attributions_Ability, Trusting_beliefs_1, Trusting_beliefs_2, Trusting_beliefs_3, Risk, Strategy]