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

gefragt vor 4 Jahren220 Aufrufe
1 Antwort
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.

beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen