NYUCCL / psiTurk

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

"Approve" button rejects participant HITs #55

Closed jhamrick closed 10 years ago

jhamrick commented 10 years ago

I was running some participants last night and approved their HITs using PsiTurk. Shortly after, I received emails from the participants asking why they had been rejected! I checked on the Turk website, and sure enough, somehow I had rejected, not accepted their HITs...

Indeed, it appears in dashboard_server.py that the /approve_worker route actually rejects them. I'll investigate the fix and submit a pull request shortly.

jbmartin commented 10 years ago

Not sure how this happened, but line 206 of dashboard_server.py has services.reject_worker(assignment_id). Should be services.approve_worker(assignment_id).

jbmartin commented 10 years ago

Sorry, I think I fixed it before receiving your commit.