from otree.api import Currency as c, currency_range from . import pages from ._builtin import Bot from .models import Constants import numpy class PlayerBot(Bot): def play_round(self): if(self.round_number == 1): yield (pages.Instructions0) yield (pages.Instructions1, {'email': "This feature is designed for lazy people who would prefer for oTree to automatically test their apps for them. And oTree Studio can even design your bot code for you, so the whole process (writing and running bots) involves barely any effort."}) yield (pages.Instructions2) yield (pages.Instructions3) yield (pages.Instructions4) yield (pages.Instructions5) yield (pages.Resume_Eval2, {'CV_to_view': 1}) yield (pages.Resume_Eval2, {'CV_1': 1}) yield (pages.Resume_Eval2, {'CV_to_view': 2}) yield (pages.Resume_Eval2, {'CV_2': 2}) yield (pages.Resume_Eval2, {'CV_to_view': 3}) yield (pages.Resume_Eval2, {'CV_3': 3}) yield (pages.Resume_Eval2, {'CV_to_view': 4}) yield (pages.Resume_Eval2, {'CV_4': 4}) yield (pages.Resume_Eval2, {'CV_to_view': 5}) yield (pages.Resume_Eval2, {'CV_5': 5}) yield (pages.Resume_Eval2, {'CV_to_view': 6}) yield (pages.Resume_Eval2, {'CV_6': 6}) yield (pages.Resume_Eval2, {'subreq': True})