from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) doc = '' class Constants(BaseConstants): name_in_url = 'Demo' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): age = models.IntegerField(label='Wie alt sind Sie?') sex = models.StringField(choices=[['0', 'Weiblich'], ['1', 'Männlich'], ['2', 'Divers']]) education = models.StringField(choices=[['0', 'Abitur'], ['1', 'Bachlor'], ['2', 'Master']], label='Was ist Ihr höchster Bildungsabschluss?') job = models.StringField(label='Was sind Sie von Beruf?') leadership = models.StringField(choices=[['0', 'Nein'], ['1', 'Ja, weniger als 1 Jahr'], ['2', 'Ja, mehr als 1 Jahr']], label='Verfügen Sie über Erfahrung in einer Führungsposition?')