Small mturk qualification example fix
@@ -63,6 +63,7 @@ class QualificationFlowSoloWorld(MTurkTaskWorld):
self.correct = 0
self.curr_question = 0
self.qualification_id = qualification_id
+ self.opt = opt
def generate_questions(self, num):
questions = []
@@ -112,7 +113,7 @@ class QualificationFlowSoloWorld(MTurkTaskWorld):
mturk_utils.give_worker_qualification(
self.mturk_agent.worker_id,
self.qualification_id,
- self.opt['is_sandbox'],
+ is_sandbox=self.opt['is_sandbox'],
)
self.mturk_agent.shutdown()
