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 = 'js_timer' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): new_time_choice = models.FloatField() new_time_choice_rounded = models.IntegerField() time_choice = models.FloatField() time_choice_rounded = models.IntegerField()