mechanicalturk

Specify CLI path for mTurk for Mac

百般思念 提交于 2019-12-08 06:56:48
问题 I am setting up the CLI on a MAC (iOS 10.9) and I believe I've set up the MTURK_CMD_HOME and JAVA_CMD_HOME paths correctly. But, I'm still getting an error that the file can't be found when I run getBalance.sh . My code is as follows: /users/USER/Desktop/aws-mturk-clt-1.3.1/ -bash: /users/USER/Desktop/aws-mturk-clt-1.3.1/: is a directory /System/Library/Frameworks/JavaVM.framework/Home -bash: /System/Library/Frameworks/JavaVM.framework/Home: is a directory export MTURK_CMD_HOME=/users/USER

How to use Turkit for MTURK?

喜夏-厌秋 提交于 2019-12-08 04:42:51
问题 I am trying to use the package Turkit on windows7 and just trying to get the sample code given in the package working. print("Hello World") print("Your balance is: " + mturk.getAccountBalance()) And I have specified my awsAccessKeyID and awsSecretAccessKey in properties file. But I got the following error: org.mozilla.javascript.WrappedException: Wrapped java.lang.IllegalArgumentException: ERROR 500: aws:Client.NonSecureRequestThis request must be made over a secure channel. You must use

boto and the 'In' comparator

 ̄綄美尐妖づ 提交于 2019-12-08 01:39:19
问题 I'm trying to use the 'In' comparator with boto for specifying multiple locales on Mechanical Turk jobs. This answer says it's possible, as do the AMT docs. I tried: min_qualifications.add( LocaleRequirement( comparator='In', required_to_preview=False, locale=['US', 'CA', 'GB', 'IE', 'AU'])) I also tried, variously: locale='US, CA, GB, IE, AU' locale='US|CA|GB|IE|AU' locale='US CA GB IE AU' How is it done? 回答1: Just because something is possible in the mTurk API does not mean that Boto will

How to use Turkit for MTURK?

余生颓废 提交于 2019-12-07 17:59:28
I am trying to use the package Turkit on windows7 and just trying to get the sample code given in the package working. print("Hello World") print("Your balance is: " + mturk.getAccountBalance()) And I have specified my awsAccessKeyID and awsSecretAccessKey in properties file. But I got the following error: org.mozilla.javascript.WrappedException: Wrapped java.lang.IllegalArgumentException: ERROR 500: aws:Client.NonSecureRequestThis request must be made over a secure channel. You must use 'https' rather than 'http'.72aff2a1-4ba4-40a6-beb3-b65deafd3945 I am thinking there might be something

Sanitize text for Mechanical Turk?

一世执手 提交于 2019-12-07 17:49:14
问题 Is there a pre-existing function to sanitize a data.frame's character columns for Mechanical Turk? Here's an example of a line that it's getting hung up on: x <- "Duke\U3e32393cs B or C, no concomittant malignancy, ulcerative colitis, Crohn\U3e32393cs disease, renal, heart or liver failure" I assume those are unicode characters, but MT is not letting me proceed with them in there. I can obviously regex these out pretty easily, but I use MT a decent bit and was hoping for a more generic

javascript validation/prevent submit form amazon mechanical turk

吃可爱长大的小学妹 提交于 2019-12-06 17:29:19
问题 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? 回答1: 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

boto and the 'In' comparator

混江龙づ霸主 提交于 2019-12-06 10:21:11
I'm trying to use the 'In' comparator with boto for specifying multiple locales on Mechanical Turk jobs. This answer says it's possible, as do the AMT docs . I tried: min_qualifications.add( LocaleRequirement( comparator='In', required_to_preview=False, locale=['US', 'CA', 'GB', 'IE', 'AU'])) I also tried, variously: locale='US, CA, GB, IE, AU' locale='US|CA|GB|IE|AU' locale='US CA GB IE AU' How is it done? Just because something is possible in the mTurk API does not mean that Boto will support it. Boto has not been updated for this yet. Here's how to do it with mturk-python : import mturk m =

In mTurk, how can I use participation in a previous HIT (or series of HITs) as a qualification?

 ̄綄美尐妖づ 提交于 2019-12-06 09:52:22
I am using mTurk for surveys, and I need a way of making sure that people who have participated in a previous survey / HIT do not participate in certain future surveys / HITs. I am not sure whether I should do this as a qualification or in some other way. I know there is some way to do this, but I have no idea how. I have very limited programming experience and would greatly, greatly appreciate specific instructions on how I might do this. My understanding is that I might need to use AWS? Many thanks! Mass rejections as suggested above are a really, really bad idea in terms of your reputation

Getting workerId by assignmentId

不打扰是莪最后的温柔 提交于 2019-12-06 02:11:32
问题 In Amazon Mechanical Turk, when creating an External Question then it will send you each assignment like this: http://tictactoe.amazon.com/gamesurvey.cgi?gameid=01523 &hitId=123RVWYBAZW00EXAMPLE &assignmentId=123RVWYBAZW00EXAMPLE456RVWYBAZW00EXAMPLE Surprisingly, it doesn't send me the workerId and I can't find any way to do this. The closest method is GetAssignmentsForHIT which only gives me the assignment already submitted but I need to render the assignment based on the worker history. 回答1

Rspec Testing of real time results through mTurk

主宰稳场 提交于 2019-12-05 00:16:17
I am creating hits at mTurk through Rspec test code but at the same time i need to test the results which must be send back from mTurk. In order to save complexity testing for every test i'm using VCR to record the HTTP Requests in a cassette. How can i implement this test?? well i did some hack for that, i used debugger to hold my rspec test until results comes back from mTurk and then it get stored in VCR. so i have to do this kinda hack once and then after that VCR works for me 来源: https://stackoverflow.com/questions/6260404/rspec-testing-of-real-time-results-through-mturk