from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range, Page, WaitPage ) cu = c doc = 'post experiment survey' class Constants(BaseConstants): name_in_url = 'Post_exp_survey' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): gender = models.StringField(choices=[['Female', 'Female'], ['Male', 'Male']], label='What is your gender?') age = models.IntegerField(label='What is your age?', max=80, min=16) difficulty = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='How much did you find difficult to understand the game? 1 for very easy, 5 for very difficult ') mostconsideredfactor = models.StringField(choices=[['Maximise my individual payoff ', 'Maximise my individual payoff '], ['Allow others to get high payoffs', 'Allow others to get high payoffs'], ['Find a fair equilibrium allocation', 'Find a fair equilibrium allocation']], label='What did you consider most when you were playing?') mostconsideredfactor2 = models.StringField(choices=[['I did not care of the risk of losing Points', 'I did not care of the risk of losing Points'], ['I considered the risk of losing Points and I played mindfully ', 'I considered the risk of losing Points and I played mindfully '], ['I did not want to lose Points at all, a small payoff is better than no payoff', 'I did not want to lose Points at all, a small payoff is better than no payoff']], label='What did you consider most when you were playing?') fairness = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='How much do you think you played fair? 1 for unfair, 5 for very fair. (fair is “without cheating or trying to achieve unjust advantage”)') friends = models.StringField(choices=[['5 or more', '5 or more'], ['About 3-4', 'About 3-4'], ['About 1-2', 'About 1-2'], ['No one', 'No one']], label='Do you recognize any friends among participants? If so, how many?') friendseffect = models.StringField(choices=[['Yes', 'Yes'], ['No', 'No']], label='Was your choice affected by knowing that some friends were playing in your team?') envgroupYN = models.StringField(choices=[['Yes', 'Yes'], ['No', 'No']], label='Are you part of an environmental group (Fridays For Future, Legambiente, Greenpeace,…)?') globalstrikeattendance = models.StringField(choices=[['Yes', 'Yes'], ['No', 'No']], label='Have you attended global strike for climate during this year?') risk1 = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='How much risk did you usually take? Choose one from 1 to 5. 1 equal to no risk, 5 equal to a lot') risk2 = models.StringField(choices=[['All 1000 euros', 'All 1000 euros'], ['About 800 euros', 'About 800 euros'], ['About 600 euros', 'About 600 euros'], ['About 400 euros', 'About 400 euros'], ['About 20 euros', 'About 20 euros'], ['Not at all', 'Not at all']], label='Suppose that you won a lottery of which the prize is 1000 euros. You have an investment opportunity where you can make double with 50 percent and lose all with 50 percent. How much out of the lottery prize are you willing to invest?') tax1 = models.StringField(choices=[['Yes', 'Yes'], ['No', 'No']], label='IF YOU READ THE ARTICLE, ANSWER RANDOMLY. Do you think that after the introduction of the tax other players allocated less Points in the RED investment?') tax2 = models.StringField(choices=[['I was bothered', 'I was bothered'], ['It was okay', 'It was okay'], ['I did not care', 'I did not care']], label='IF YOU READ THE ARTICLE, ANSWER RANDOMLY. How did you feel when the tax was introduced?') tax3 = models.StringField(choices=[['Taxes may change people behaviour to solve environmental issues', 'Taxes may change people behaviour to solve environmental issues'], ['There are other methods to change people behaviour', 'There are other methods to change people behaviour'], ['I don’t think people should change behaviour', 'I don’t think people should change behaviour']], label='IF YOU READ THE ARTICLE, ANSWER RANDOMLY. What do you think about environmental taxes to change people behaviour?') info1 = models.StringField(choices=[['Yes', 'Yes'], ['No', 'No']], label='IF YOU HAD THE TAX, ANSWER RANDOMLY. Do you think that reading the article of the Guardian moved people to allocate less Points in the RED investment?') info2 = models.StringField(choices=[['I felt responsible for my choices', 'I felt responsible for my choices'], ['It was okay, I already knew the consequences of meat consumption', 'It was okay, I already knew the consequences of meat consumption'], ['I did not care', 'I did not care']], label='IF YOU HAD THE TAX, ANSWER RANDOMLY. How did you feel when you read the article from the Guardian?') info3 = models.StringField(choices=[['Information such as articles may change people behaviour to solve environmental issues', 'Information such as articles may change people behaviour to solve environmental issues'], ['There are other methods to change people behaviour', 'There are other methods to change people behaviour'], ['I don’t think people should change behaviour', 'I don’t think people should change behaviour']], label='IF YOU HAD THE TAX, ANSWER RANDOMLY. What do you think about information campaigns to change people behaviour?')