I would like to have a HIT that requires users to be in the U.S. or Canada. I am using the command line tools, but it seems that any qualifications are treated as being all required -- I want a Boolean or. Is this possible?
For example, in the .properties
file, I have:
# Worker_NumberHITsApproved > 100
qualification.1:00000000000000000040
qualification.comparator.1:GreaterThan
qualification.value.1:100
# Worker_PercentAssignmentsApproved > 95%
qualification.2:000000000000000000L0
qualification.comparator.2:GreaterThan
qualification.value.2:95
# Worker_Locale
qualification.3:00000000000000000071
qualification.comparator.3:EqualTo
qualification.locale.3:US
All three of these qualifications are required. Suppose I want to require the first two and then a locale of either US
or CA
. Is there syntax for this?
Mechanical Turk now supports new
In
andNotIn
comparators which allow for multiple locales. Here's an example SOAP request from that link which requires workers from the US, Canada, or the UK:See also AWS MTurk documentation.
Update: this lack may have been addressed, see dmcc's answer for more information.
I think you're out of luck. From the API docs (emphasis added):
TurkPrime.com offers this and many more features using a web interface. You can exclude and include workers, email them, restart survey and more.
I and my colleagues have used it for a while and just love it.
This question and its answers are fairly old at this point, but I was not able to find a solution specifically for the command line tools. I was fortunately able to figure it out after playing around for some time. In your
.properties
file:A fairly modest solution but one that is not well-documented in my opinion :)