from otree.api import Currency as c from otree.constants import BaseConstants # CLASS CONSTANTS class Constants(BaseConstants): # Task-specific Settings # number of steps in the staircase num_choices = 5 # lottery payoffs and probability (in %) for the high lottery outcome lottery_hi = 300.00 lottery_lo = 0.00 probability = 50.00 # (initial) sure payoff sure_payoff = 160.00 # (initial) increase/decrease in sure payoff delta = 80.00 # OVERALL SETTINGS AND APPEARANCE # add "indifference" option indifference = False # render buttons instead of radio buttons buttons = True # show progress bar progress_bar = True # show instructions page instructions = True # show results page summarizing the task's outcome including payoff information results = False # oTree Settings name_in_url = 'icl' players_per_group = None num_rounds = num_choices