from otree.api import * from .pages import * import logging logger = logging.getLogger(__name__) class PlayerBot(Bot): def play_round(self): # if self.player.participant.id == 31: # yield (Consent, {'consent':False}) # else: # yield (Consent, {'consent':True}) yield (Consent, {'consent':True}) # yield Overview # yield PayoffCalculations # yield PayoffExample1 # yield PayoffExample2 # yield BonusNote # yield ComprehensionQuestions, dict(comp_q1=True, comp_q2=True, comp_q3=False, comp_q4=True) # yield ErrorMessage