def run_onboard(worker): worker.personality_generator = personality_generator worker.image_generator = image_generator worker.personality_and_image_generator = personality_and_image_generator world = RoleOnboardWorld(opt, worker) world.parley() world.shutdown()
def run_onboard(worker): role = mturk_agent_ids[connect_counter.value % len(mturk_agent_ids)] connect_counter.value += 1 worker_roles[worker.worker_id] = role worker.persona_generator = persona_generator world = RoleOnboardWorld(opt, worker, role) world.parley() world.shutdown()
def run_onboard(worker): worker.example_generator = example_generator world = RoleOnboardWorld(opt, worker) world.parley() world.shutdown()