from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range, ) author = 'Diya Ganguly' doc = """ This is the questionnaire following economic decision making game """ class Constants(BaseConstants): name_in_url = 'questionnaire' players_per_group = 2 num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): name=models.StringField(label='1.Please enter your name so we can prepare your payment. Your entries are confidential.') email=models.StringField(label='2. Please enter your email id') educ=models.StringField(choices=[['1','Freshman'],['2','Sophomore'],['3','Junior'],['4','Senior'],['5','Graduate Student'],['6','Postdoctoral Scholar'],['7','Other']],label='2.What year are you in school?') major=models.StringField(label='3.What is your intended or declared major?') gender=models.StringField(choices=[['1', 'Man'],['2','Woman'],['3','Non Binary'],['4','Other']],label='4.Please indicate your gender identity') happy=models.StringField(choices=[['1','Yes'],['2','No']],label='5.Were you happy with the decision-making task played out between you and the other player?') expectation=models.StringField(choices=[['1','Yes'],['2','No']],label='6.While participating in the decision-making task, did the other player act in a way you expected?') ways=models.StringField(blank=True, label='If no, in what way did the other player not meet your expectations?') adversary=models.StringField(choices=[['1','Adversarial'],['2','Collaborative']],label='7. In your opinion, was the person you were paired with adversarial or collaborative towards you?') DebInt = models.StringField(blank=True, widget=widgets.CheckboxInput)