from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range, ) author = 'Armando Holzknecht & Emanuel Schöpf' doc = """ Field Behavior tasks and perception questions """ # ******************************************************************************************************************** # # *** CLASS CONSTANTS *** # # ******************************************************************************************************************** # class Constants(BaseConstants): name_in_url = 'Field_Behavior' players_per_group = None num_rounds = 1 # ******************************************************************************************************************** # # *** CLASS SUBSESSION *** # # ******************************************************************************************************************** # class Subsession(BaseSubsession): pass # ******************************************************************************************************************** # # *** CLASS GROUP *** # # ******************************************************************************************************************** # class Group(BaseGroup): pass # ******************************************************************************************************************** # # *** CLASS PLAYER *** # # ******************************************************************************************************************** # class Player(BasePlayer): gambling = models.IntegerField() general_risk = models.IntegerField() saving = models.IntegerField() temptation = models.IntegerField() financial_troubles = models.IntegerField() fin_education_school = models.IntegerField() fin_education_parents = models.IntegerField()