from otree.api import *
doc = """
Beliefs Third
"""
class C(BaseConstants):
NAME_IN_URL = 'elicitation3'
PLAYERS_PER_GROUP = 2
NUM_ROUNDS = 1
class Subsession(BaseSubsession):
pass
class Group(BaseGroup):
pass
class Player(BasePlayer):
myguess3 = 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
)
myconfidence3 = 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
)
#mylowerbound3 = 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
#)
#myupperbound3 = 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
#)
mysatisfaction3 = models.IntegerField(
label='''
How satisfied are you with the experiment result?
0 - Not Satisfied At All |------------------------| 100 - Completely Satisfied
''', min=0, max=100
)
experience = models.IntegerField(
label='''
How much experience do you have with studies on bargaining and negotiation like the one we're conducting, on a scale from 0 to 100?
0 - You've never taken part in such studies.
100 - Highly experienced and have been part of many similar studies.
''', min=0, max=100
)
# FUNCTIONS
# PAGES
class elicitation3(Page):
form_model = 'player'
form_fields = ['myguess3', 'myconfidence3', 'mysatisfaction3', 'experience']
class final(Page):
@staticmethod
def before_next_page(participant):
participant.finished = True
page_sequence = [elicitation3, final]