from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) author = 'Your name here' doc = """ Your app description """ class Constants(BaseConstants): name_in_url = 'my_8_survey' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): q1 = models.StringField( choices=['A.1 年後に10000円もらう ','B.1 年と 1週間後に 11000 円もらう'], widget=widgets.RadioSelect ) q2 = models.StringField( choices=['A. 今日、10000円もらう',' B.1 週間後に 11000円もらう'], widget=widgets.RadioSelect ) input_amount_1=models.IntegerField() input_amount_2=models.IntegerField() input_amount_3=models.IntegerField() input_amount_4=models.IntegerField() dis1 = models.FloatField() dis2 = models.FloatField() dis3 = models.FloatField() dis4 = models.FloatField()