NYUCCL / psiTurk

An open platform for science on Amazon Mechanical Turk.
https://psiturk.org
MIT License
277 stars 140 forks source link

unexpected: hit delete doesn't remove hit from the local Hits database table #521

Closed gureckis closed 2 years ago

gureckis commented 3 years ago

when you delete a hit it deletes it from the AMT site using Boto but the hit will remain the Hit database table. seem like it should be deleted from the local table as well?

deargle commented 3 years ago

I think we want to leave it in there, although I'd have to think about it. It's used to decide which participants are part of the "current study".

On Tue, Jun 29, 2021, 8:51 AM Todd Gureckis @.***> wrote:

when you delete a hit it deletes it from the AMT site using Boto but the hit will remain the Hit database table. seem like it should be deleted from the local table as well?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NYUCCL/psiTurk/issues/521, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI6Y7PWSIYQ7XXUJWJT7QLTVHMXFANCNFSM47QKAOKQ .

deargle commented 3 years ago

Can you explain what your use-case is where you need it to be deleted from the table? With the code written as it is right now, It needs to stay in the local table, even if the hit is deleted from mturk, for paticipant-querying purposes.

deargle commented 2 years ago

Closing because it's the intended behavior for hit-ids to not be removed from the hit table. Although granted, the purpose of the table isn't explained anywhere in the docs.