from otree.api import * c = cu doc = '' class C(BaseConstants): NAME_IN_URL = 'Control' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 MIN_VALUE = -100 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): control_1 = models.FloatField(label='Please provide your inflation forecast for the upcoming year:', min=C.MIN_VALUE) control_2 = models.FloatField(label='Please provide your inflation forecast for the upcoming year:', min=C.MIN_VALUE) control_3 = models.FloatField(label='Please provide your inflation forecast for the upcoming year:', min=C.MIN_VALUE) control_4 = models.FloatField(label='Please provide your inflation forecast for the upcoming year:', min=C.MIN_VALUE) control_5 = models.FloatField(label='Please provide your inflation forecast for the upcoming year:', min=C.MIN_VALUE) control_6 = models.FloatField(label='Please provide your inflation forecast for the upcoming year:', min=C.MIN_VALUE) class ControlPhaseIntro(Page): form_model = 'player' class Control_1(Page): form_model = 'player' form_fields = ['control_1'] class Control_2(Page): form_model = 'player' form_fields = ['control_2'] class Control_3(Page): form_model = 'player' form_fields = ['control_3'] class Control_4(Page): form_model = 'player' form_fields = ['control_4'] class Control_5(Page): form_model = 'player' form_fields = ['control_5'] class Control_6(Page): form_model = 'player' form_fields = ['control_6'] page_sequence = [ControlPhaseIntro, Control_1, Control_2, Control_3, Control_4, Control_5, Control_6]