from otree.api import * doc = """ Beliefs Second """ class C(BaseConstants): NAME_IN_URL = 'elicitation2' PLAYERS_PER_GROUP = 2 NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): myguess2 = models.IntegerField( label=''' How many of the 100 participants do you think you outperformed in terms of bargaining?
Please provide a number between 0 and 100. ''', min=0, max=100 ) myconfidence2 = models.IntegerField( label=''' How confident are you in the accuracy of your guesses? Please provide a percentage representing your confidence, between 0 and 100%. ''', min=0, max=100 ) #mylowerbound2 = models.IntegerField( #label=''' #Considering your initial estimate, what's the minimum number of participants you think you outperformed? #
#This number should be equal to or less than your original prediction. #
#(Check the example below for guidance.*) #''', min=0, max=100 #) #myupperbound2 = models.IntegerField( #label=''' #Considering your initial estimate, what's the maximum number of participants you think you outperformed? #
#This number should be equal to or more than your original prediction. #
#(Check the example below for guidance.*) #''', min=0, max=100 #) mysatisfaction2 = models.IntegerField( label=''' How satisfied are you with the experiment result?
0 - Not Satisfied At All |------------------------| 100 - Completely Satisfied ''', min=0, max=100 ) # FUNCTIONS # PAGES class elicitation2(Page): form_model = 'player' form_fields = ['myguess2', 'myconfidence2', 'mysatisfaction2'] page_sequence = [elicitation2]