from otree.api import * doc = """ """ class C(BaseConstants): NAME_IN_URL = 'Waiting_assing' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): pass # FUNCTIONS # PAGES class Waiting_assing(Page): @staticmethod def get_timeout_seconds(player: Player): import random return random.randint(7, 12) page_sequence = [Waiting_assing]