from otree.api import * c = cu doc = '' class C(BaseConstants): NAME_IN_URL = 'IRI' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): Q1 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='1.\tI daydream and fantasize, with some regularity, about things that might happen to me. ', widget=widgets.RadioSelectHorizontal) Q2 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='2.\tI often have tender, concerned feelings for people less fortunate than me. ', widget=widgets.RadioSelectHorizontal) Q3 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='3.\tI sometimes find it difficult to see things from the "other guy\'s" point of view. ', widget=widgets.RadioSelectHorizontal) Q4 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label="4.\tSometimes I don't feel very sorry for other people when they are having problems", widget=widgets.RadioSelectHorizontal) Q5 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='5.\tI really get involved with the feelings of the characters in a novel. ', widget=widgets.RadioSelectHorizontal) Q6 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='6.\tIn emergency situations, I feel apprehensive and ill-at-ease. ', widget=widgets.RadioSelectHorizontal) Q7 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label="7.\tI am usually objective when I watch a movie or play, and I don't often get completely caught up in it. ", widget=widgets.RadioSelectHorizontal) Q8 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label="8.\tI try to look at everybody's side of a disagreement before I make a decision. ", widget=widgets.RadioSelectHorizontal) Q9 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='9.\tWhen I see someone being taken advantage of, I feel kind of protective towards them. ', widget=widgets.RadioSelectHorizontal) Q10 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='10.\tI sometimes feel helpless when I am in the middle of a very emotional situation. ', widget=widgets.RadioSelectHorizontal) Q11 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='11.\tI sometimes try to understand my friends better by imagining how things look from their perspective. ', widget=widgets.RadioSelectHorizontal) Q12 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='12.\tBecoming extremely involved in a good book or movie is somewhat rare for me. ', widget=widgets.RadioSelectHorizontal) Q13 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='13.\tWhen I see someone get hurt, I tend to remain calm. ', widget=widgets.RadioSelectHorizontal) Q14 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label="14.\tOther people's misfortunes do not usually disturb me a great deal. ", widget=widgets.RadioSelectHorizontal) Q15 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label="15.\tIf I'm sure I'm right about something, I don't waste much time listening to other people's arguments. ", widget=widgets.RadioSelectHorizontal) Q16 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='16.\tAfter seeing a play or movie, I have felt as though I were one of the characters. ', widget=widgets.RadioSelectHorizontal) Q17 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='17.\tBeing in a tense emotional situation scares me. ', widget=widgets.RadioSelectHorizontal) Q18 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label="18.\tWhen I see someone being treated unfairly, I sometimes don't feel very much pity for them. ", widget=widgets.RadioSelectHorizontal) Q19 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='19.\tI am usually pretty effective in dealing with emergencies. ', widget=widgets.RadioSelectHorizontal) Q20 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='20.\tI am often quite touched by things that I see happen. ', widget=widgets.RadioSelectHorizontal) Q21 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='21.\tI believe that there are two sides to every question and try to look at them both. ', widget=widgets.RadioSelectHorizontal) Q22 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='22.\tI would describe myself as a pretty soft-hearted person. ', widget=widgets.RadioSelectHorizontal) Q23 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='23.\tWhen I watch a good movie, I can very easily put myself in the place of a leading character. ', widget=widgets.RadioSelectHorizontal) Q24 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='24.\tI tend to lose control during emergencies. ', widget=widgets.RadioSelectHorizontal) Q25 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='25.\tWhen I\'m upset at someone, I usually try to "put myself in his shoes" for a while. ', widget=widgets.RadioSelectHorizontal) Q26 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='26.\tWhen I am reading an interesting story or novel, I imagine how I would feel if the events in the story were happening to me. ', widget=widgets.RadioSelectHorizontal) Q27 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='27.\tWhen I see someone who badly needs help in an emergency, I go to pieces. ', widget=widgets.RadioSelectHorizontal) Q28 = models.IntegerField(choices=[[0, '0'], [1, '1'], [2, '2'], [3, '3'], [4, '4']], label='28.\tBefore criticizing somebody, I try to imagine how I would feel if I were in their place. ', widget=widgets.RadioSelectHorizontal) class IRI_page(Page): form_model = 'player' form_fields = ['Q1', 'Q2', 'Q3', 'Q4', 'Q5', 'Q6', 'Q7', 'Q8', 'Q9', 'Q10', 'Q11', 'Q12', 'Q13', 'Q14', 'Q15', 'Q16', 'Q17', 'Q18', 'Q19', 'Q20', 'Q21', 'Q22', 'Q23', 'Q24', 'Q25', 'Q26', 'Q27', 'Q28'] page_sequence = [IRI_page]