from otree.api import Bot, Currency as c from . import pages from .models import Constants app = pages cu = c class PlayerBot(Bot): def play_round(self): yield pages.PostSurvey, dict( gender="Female", age=80, difficulty=1, mostconsideredfactor="Maximise my individual payoff ", mostconsideredfactor2="I did not care of the risk of losing Points", fairness=1, friends="5 or more", friendseffect="Yes", tax1="Yes", tax2="I was bothered", tax3="Taxes may change people behaviour to solve environmental issues", info1="Yes", info2="I felt responsible for my choices", info3="Information such as articles may change people behaviour to solve environmental issues", envgroupYN="Yes", globalstrikeattendance="Yes", risk1=1, risk2="All 1000 euros", ) yield pages.PaymentEnd