from otree.api import * c = Currency doc = """ Participants are directly sent to this app in case that they fail an attention check or let a page-timer run out. A corresponding page is displayed to the participant before they exit the experiment. """ class Constants(BaseConstants): name_in_url = "kick" players_per_group = None num_rounds = 1 class Group(BaseGroup): pass class Subsession(BaseSubsession): pass class Player(BasePlayer): pass class Timeout(Page): @staticmethod def is_displayed(player: Player): return player.participant.timeout page_sequence = [Timeout]