Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Allow multiple locales as a qualification test in Mechanical Turk

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?

like image 274
itzy Avatar asked Dec 27 '22 00:12

itzy


1 Answers

Mechanical Turk now supports new In and NotIn 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:

<QualificationRequirement>
   <QualificationTypeId>00000000000000000071</QualificationTypeId>
   <Comparator>In</Comparator>
   <LocaleValue>US</LocaleValue>
   <LocaleValue>CA</LocaleValue>
   <LocaleValue>UK</LocaleValue>
</QualificationRequirement>

See also AWS MTurk documentation.

like image 138
dmcc Avatar answered Jan 21 '23 23:01

dmcc