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

feita há 4 anos220 visualizações
1 Resposta
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.

respondido há 4 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas