Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input to submitToTurk must be non-empty #668

Merged
merged 1 commit into from Oct 21, 2020
Merged

Conversation

alisdt
Copy link
Contributor

@alisdt alisdt commented Feb 5, 2020

If no data are submitted in submitToTurk the user will see an error ("HIT was not submitted correctly") and the task will not complete. This was non-obvious and hard to debug, and I suspect may be a particular problem in jsPsych where people are often saving their data elsewhere, as we were.

Added a note to the parameter documentation for submitToTurk to this effect.

(I appreciate that the downside is that this documents an implementation detail of MTurk which may change).

@jodeleeuw
Copy link
Member

Thanks so much for identifying this issue. I wonder if it would be appropriate to just add a dummy value when the submission is empty, like submitted: true.

@jodeleeuw jodeleeuw added this to the 6.2 milestone Feb 5, 2020
@alisdt
Copy link
Contributor Author

alisdt commented Feb 6, 2020

Do you mean a code change in submitToTurk that detects that data is empty and adds the dummy value automatically? That would be great.

@jodeleeuw
Copy link
Member

@becky-gilbert I think we can merge this change to the docs. I'll open a separate issue about detecting that the data is empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants