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

已提問 4 年前檢視次數 220 次
1 個回答
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.

已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南