Discrepancy in status between dashboard and API output for assignments

0

I am using list_hits() and list_assignments_for_hit() with the Boto Python API to view the status of 20 recent HITs and their assignments. I'm seeing a mismatch in the status of the assignments between what's on the MTurk dashboard and through the API

On the web dashboard (through requester.mturk.com/batches) I'm seeing all of the Assignments listed in the "submitted" status.

With the API, I'm only setting 10 of the 20 hits returned, and none of them have the "submitted" status.

I've been working on a simple tool for reviewing and responding to HITs programmatically, and this was the first batch that I'd done with that tool so far. The results I see with the API match my responses, but I'm only seeing 10/20 of the HITs.

What could be the reason for this discrepancy?

Edited by: landdogger on Apr 22, 2020 11:19 AM

asked 4 years ago212 views
1 Answer
0

It seems like the issue was that I wasn't setting a "MaxResults" parameter, and want also not using the NextToken to receive the next collection of additional HITs I was expecting to see but wasn't.

answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions