from otree.api import Bot from . import * class PlayerBot(Bot): def play_round(self): yield GenderSurvey, dict(cubicle_number="A",gender=0) # if self.participant.treatment == 'CG': # yield Survey, dict(own_trust=1,partner_trust=1,cooperation=1,final_prediction="1") # else: # yield Survey, dict(own_trust=1,partner_trust=1,ai_trust=1,cooperation=1,final_prediction="1")