mechanical turk on rails
DESCRIPTION
The Mechanical Turk is the only solution available for specific kind of tasks where human assistance cannot be replaced by machines. Think about moderation of images, web sites or videos that should go public inside your app for example. If you can’t hire people specifically for the task, you can give the Mechanical Turk a try. Interfacing with the Turk isn’t simple though: it’s a highly asynchronous interaction where you need to persist state, then checking for tasks in the queue and acting accordingly. The low level Ruby APIs from Amazon can be used to integrate the service into a Rails application but then you need specific classes to deal with it. This presentation illustrates patterns for creating tasks, observing Turk tasks, parsing results and send events back to the application.TRANSCRIPT
MechanicalTurk On Rails Renzo Borgatti
AMooConf 2010, June 5, Rostock
Rails iPhoneAgile Productivity
when cpu power is not enoughand cost is an issue
human intelligence on-demandwith a programmable approach
user generated content thatmust obey rules and restrictions or need classification
visual or graphical aspectsoffensive contentout-of-topics
requester submits a HITproperties: tags, expiration, $$
HIT rendered from a HTML Templateworker accepts the HIT
worker executes the task and earn $$retrieve results when HIT Reviewablerequester pays the worker or rejects
Rails Options
web service call
ruby-aws
RTurk
...
http://rubyforge.org/projects/ruby-aws
http://github.com/markpercival/rturk
Engine
ModerableModerableModerable TaskProps
Template
CallbackNotify
GetResults
Parser
Ninja Tips
initial performance testsupervised training period
add RAILS_ENV to HIT tagsstub MechanicalTurkRequester
http://http://www.mturk.comhttp://turkers.proboards.comhttp://docs.amazonwebservices.com/AWSMturkAPI/2008-08-02
http://developer.amazonwebserv ices.com/connect/forum.jspa?forumID=11
http://http://www.mturk.comhttp://turkers.proboards.comhttp://docs.amazonwebservices.com/AWSMturkAPI/2008-08-02http://developer.amazonwebserv ices.com/connect/forum.jspa?forumID=11
Mereborg AT reborg.net@reborghttp://reborg.nethttp://github.com/reborg
The Talk
http://amoocon.de/talks/133
http://www.slideshare.net/reborg/mechanical-turk-onrails
http://speakerrate.com/talks/3383-mechanical-turk-on-rails
http://http://www.mturk.comhttp://turkers.proboards.comhttp://docs.amazonwebservices.com/AWSMturkAPI/2008-08-02http://developer.amazonwebserv ices.com/connect/forum.jspa?forumID=11
Thanks!Questions?
Rate my talk! http://spkr8.com/t/3383