from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range, ) doc = "" class Constants(BaseConstants): name_in_url = "Task" players_per_group = None num_rounds = 10 instructions_template = "Task/instructions.html" class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): taskHLL_choice = models.IntegerField( choices=[ [1, "Alternative 1"], [2, "Alternative 2"], ], label="Treffen Sie eine Entscheidung:", widget=widgets.RadioSelectHorizontal, ) percent_a = models.IntegerField(initial=0) percent_s = models.IntegerField(initial=100) percent_math = models.IntegerField(initial=10)