In the stroop example task.js, the questionnaire calls psiTurk.completeHIT() once the bonus computation is successful. If it fails though, resubmit() tries to resend the data, and once successful, calls finish() instead, which looks like a holdover from an earlier version of the code.
Should resubmit() be calling psiTurk.completeHIT() as well?
Probably. There's some weird stuff in that whole "try again" bit. I suppose it just never fails the first time so that code is never reached, so no one has complained. Will patch though with your PR.
In the stroop example task.js, the questionnaire calls
psiTurk.completeHIT()
once the bonus computation is successful. If it fails though,resubmit()
tries to resend the data, and once successful, callsfinish()
instead, which looks like a holdover from an earlier version of the code.Should
resubmit()
be calling psiTurk.completeHIT() as well?first try
resubmit