mechanicalturk

javascript validation/prevent submit form amazon mechanical turk

余生颓废 提交于 2019-12-04 23:10:50
I am using Amazon survey form template to create a survey. however i would like to use validation. I saw this question however i don't want to use the web services to create the hit but use their template. How can I prevent the form from being submitted? I found a way to do it: I added a function to the submit button: <script type='text/javascript'> window.onload = function() {document.getElementById('submitButton').setAttribute('onclick', 'return validateForm()'); } function validateForm() { if (validate) return true; else return false; } </script> Here's an example of doing the validation

Create a MTurk HIT from an existing template

佐手、 提交于 2019-12-03 14:40:59
I'm using the Python AWS package boto v2.7 to interact with the Mturk API to create and manage HIT's etc. I'm getting stuck when trying to create a HIT using an existing template. Amazon's documentation on the topic is here: http://docs.aws.amazon.com/AWSMechTurk/2012-03-25/AWSMturkAPI/ApiReference_CreateHITOperation.html My code is: from boto.mturk.connection import MTurkConnection mtc = MTurkConnection(aws_access_key_id=ACCESS_ID, aws_secret_access_key=SECRET_KEY, host=HOST) mtc.create_hit(hit_layout=HIT_LAYOUT_ID) The error is: MTurkRequestError: MTurkRequestError: 200 OK <?xml version="1.0

In Mechanical Turk, how do you limit to one HIT per worker

痞子三分冷 提交于 2019-12-03 10:38:53
I know from communication with Mechanical Turk workers that there is a way to limit the number of HITs a specific worker can complete, but I cant figure out how to do it. Any help would be greatly appreciated! I've developed a script that mostly solves this problem. The main idea is to check the worker ID against a database and then hide the HIT if the worker has already completed a related HIT. So that you don't need to host your own database server, I've made my script available as a (free) service at: http://uniqueturker.myleott.com . Please let me know if you have any trouble using the

Bumping an Amazon Mechanical Turk HIT

强颜欢笑 提交于 2019-12-03 08:18:55
We have a web-based game for two players, which we offer via Amazon Mechanical Turk. For each game we need two players that will enter simultaneously, or at most 1 minute apart. We noticed that at the first few minutes after we publish the HIT, we get many workers, because the HIT is on the first page of their search results, but later the rate drops as the game moves to a previous page. So, in order to get enough simultaneous workers, we had to remove the HIT, and open a new HIT. Is it possible, instead of deleting a HIT, and opening a new HIT to somehow "bump" / "poke" the old HIT to make it

Using Amazon MechanicalTurk if location != US?

穿精又带淫゛_ 提交于 2019-12-03 01:50:14
Amazon Mechanical Turk is a mass-micro outsourcing API, where you can get lots's of small simple tasks (e.g."Is there a shop in this image") done relatively cheaply (e.g. 0.10 U$ per image). Amazon seems to assume that this service is mostly of interest to US companies. This results in difficulties if you want to use the service (as an "Requester"): for example there is no easy way of funding your Account without an US Bank account. Can somebody share experiences of using the Service from outside the US? Since Amazon doesn't let outside US access yet , you'll need to either: Wait for Amazon to

Required fields in Mechanical Turk

人走茶凉 提交于 2019-12-02 03:29:15
问题 Is there any way to make fields required in an Amazon Mechanical Turk HIT? I get some blank responses to the textboxes or radiobuttons in my HTML form and the Amazon's documentation doesn't seem to provide any mechanism for validation. 回答1: The easiest way would probably be to use Amazon's API call 'createHIT' to create your HIT: http://docs.amazonwebservices.com/AWSMechTurk/latest/AWSMturkAPI/index.html?ApiReference_CreateHITOperation.html Then, you can specify your HIT questions using a

Storing HTML or XML code in javascript variables

允我心安 提交于 2019-12-02 01:45:32
问题 I'd like to store a some HTML/XML markups in a javascript variable. The problem is that the text is relatively large. For example how can I store the following XML piece in a javascript variable? <QuestionForm xmlns="[the QuestionForm schema URL]"> <Overview> <Title>Game 01523, "X" to play</Title> <Text> You are helping to decide the next move in a game of Tic-Tac-Toe. The board looks like this: </Text> <Binary> <MimeType> <Type>image</Type> <SubType>gif</SubType> </MimeType> <DataURL>http:/

Running MTurk HITs on external website

假装没事ソ 提交于 2019-11-29 20:17:40
I am implementing a website on which the recruited MTurk workers will perform tasks. I plan to recruit workers using MTurk tasks, using which I will redirect them to an external website for actual work. I have the following questions relating to this plan. Is there any foreseeable problems with this approach of running HITs? If so, how can we mitigate them? how should I implement the authentication procedure on my external site? For example, how can I make sure the people who come to the website to perform a specific task are indeed the same group of people recruited earlier for this

Mechanical Turk externalquestion error when submitting hit

谁说胖子不能爱 提交于 2019-11-29 15:42:23
I have managed to create a HIT with an external question that calls an html file hosted in an S3 server. I have worked in the sandbox environment. When I create the hit, I get the following error when I try to submit the hit as a worker: There was a problem submitting your results for this HIT. This HIT is still assigned to you. To try this HIT again, click "HITs Assigned To You" in the navigation bar, then click "Continue work on this HIT" for the HIT. If this problem persists, you can contact the Requester for this HIT using the "Contact" link above. To return this HIT and continue working