ryantate/rturk

hit.max_assignments has no effect

Closed this issue · 0 comments

So I've been using rturk to post HITs to Mechanical Turk with no problem so far except that hit.max_assignments isn't setting the correct amount of assignments per worker.

RTurk.setup(YourAWSAccessKeyId, YourAWSAccessKey, :sandbox => true)
hit = RTurk::Hit.create(:title => "My Hit") do |hit|
hit.max_assignments = 1
hit.assignments = 29
hit.description = description
hit.question("myapp.com",
:frame_height => 500)
hit.reward = 0.01
hit.keywords = ['fun','easy','research','search']
hit.lifetime= 1800
end

When I search for my HIT as a worker it appears in the search results, but says only one HIT is available. But when I go to my requester dashboard it says that I have the correct amount of assignments left. Is this a bug or am I just missing something. Thanks!