from otree.api import *
c = cu
doc = ''
class C(BaseConstants):
NAME_IN_URL = 'Treatment'
PLAYERS_PER_GROUP = None
NUM_ROUNDS = 1
MIN_VALUE = -100
class Subsession(BaseSubsession):
pass
class Group(BaseGroup):
pass
class Player(BasePlayer):
treatment_1 = models.FloatField(label='Please provide your inflation forecast for the upcoming year:', min=C.MIN_VALUE)
treatment_2 = models.FloatField(label='Please provide your inflation forecast for the upcoming year:', min=C.MIN_VALUE)
treatment_3 = models.FloatField(label='Please provide your inflation forecast for the upcoming year:', min=C.MIN_VALUE)
treatment_4 = models.FloatField(label='Please provide your inflation forecast for the upcoming year:', min=C.MIN_VALUE)
treatment_5 = models.FloatField(label='Please provide your inflation forecast for the upcoming year:', min=C.MIN_VALUE)
treatment_6 = models.FloatField(label='Please provide your inflation forecast for the upcoming year:', min=C.MIN_VALUE)
class TreatmentPhaseIntro(Page):
form_model = 'player'
class Treatment_1(Page):
form_model = 'player'
form_fields = ['treatment_1']
class Treatment_2(Page):
form_model = 'player'
form_fields = ['treatment_2']
class Treatment_3(Page):
form_model = 'player'
form_fields = ['treatment_3']
class Treatment_4(Page):
form_model = 'player'
form_fields = ['treatment_4']
class Treatment_5(Page):
form_model = 'player'
form_fields = ['treatment_5']
class Treatment_6(Page):
form_model = 'player'
form_fields = ['treatment_6']
page_sequence = [TreatmentPhaseIntro, Treatment_1, Treatment_2, Treatment_3, Treatment_4, Treatment_5, Treatment_6]