from otree.api import * doc = """ Your app description """ class C(BaseConstants): NAME_IN_URL = 'bonus' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 DURATION_PICTURES = 10 #Needed to show the choices in random order (depending on a participants player number) CHOICES_TOPIC = ['Environment','Race Relations','Guns and Firearms','Immigration','Environment','Race Relations','Guns and Firearms','Immigration'] CHEAP_TICKET_PRICE = 0.03 ENDOWMENT_PURCHASE = 3 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): #treatment factors bonus = models.FloatField(initial=0) #randomization of answer categories per participant class completionCode(Page): pass page_sequence = [completionCode]