oTree Forum >

Dropouts on Wait Pages

#1 by Hauke

Hi Chris & Community,

I am running some sort of public good game, which I intend to run only. Hence, I went through the "Preventing players from getting stuck on wait pages"-section in the docs and implemented (hopefully) all of it.

For instance, I implemented

@staticmethod
    def get_timeout_seconds(player):
        if player.participant.is_dropout:
            return 1  # instant timeout, 1 second
        else:
            return 120

Furthermore, I set the payoffs `after_all_players_arrive` on the Waitpage that follows the decision page.

My problem is, that a player that drops out and closes the browser does not submit pages anymore. The bot procedure only works as long dropouts leave their browser open?

Did I miss anything obvious you can assess without seeing my code?

Best regards
Hauke

#2 by Hauke

I'm conducting an online experiment and anticipate some participants might not complete it. To address potential dropouts, I plan to use bots as replacements. However, these bots function only if the participant they're replacing keeps their browser session active. If a participant exits by closing their browser, the bot fails to replace them, causing delays for remaining participants. Even if a bot is already active, it ceases to function if the browser tab is closed.

I'm seeking suggestions on how to resolve this issue or insights into the underlying problem. Any ideas?

Best regards,
Hauke

Write a reply

Set forum username