from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range, ) author = 'Jakob Moeller' doc = """ Counting 1s task. """ class Constants(BaseConstants): name_in_url = 'task' players_per_group = None num_rounds = 20 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): answer = models.IntegerField(min=0, label="How many cells with the single digit '1' are in the matrix?") score = models.IntegerField()