cloudyr / pyMTurkR

A Client for the MTurk Requester API
15 stars 8 forks source link

Auto-approval delay always goes to default #6

Closed claravdw closed 5 years ago

claravdw commented 5 years ago

When creating a HIT, the auto.approval.delay parameter seems to have no effect: the HIT always ends up with an AutoApprovalDelayInSeconds of 2592000, i.e. the default (and maximum) of 30 days.

q <- GenerateHTMLQuestion(file=question_file)
hit <-CreateHIT(title = "Get qualified to label radio fragments about climate change",
                description = "Classify a political radio fragment, and get qualified for more",
                reward = ".20",
                annotation = "Clim Coding Step 1b",
                assignments = 100,
                duration = pyMTurkR::seconds(hours=1),
                expiration = pyMTurkR::seconds(days = 7),
                question = q$string,
                auto.approval.delay = 1) #gets ignored
)
HIT 309D674SHZ8HPWUGNRYOTF35Q72BCI created

GetHIT(hit="309D674SHZ8HPWUGNRYOTF35Q72BCI")$HITs$AutoApprovalDelayInSeconds
HIT (309D674SHZ8HPWUGNRYOTF35Q72BCI) Retrieved
[1] "2592000"
tylerburleigh commented 5 years ago

I think I got it -- try version 0.6.5?

claravdw commented 5 years ago

Yes, it's solved, thank you!

Clara

On Sun, Aug 25, 2019 at 12:04 PM Tyler Burleigh notifications@github.com wrote:

I think I got it -- try version 0.6.5?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cloudyr/pyMTurkR/issues/6?email_source=notifications&email_token=AEUIZPGOPRI3JKTP7KK2U4TQGKUSTA5CNFSM4IPJGBKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CWL7Q#issuecomment-524641790, or mute the thread https://github.com/notifications/unsubscribe-auth/AEUIZPBEFXZIYMT55VTGPJ3QGKUSTANCNFSM4IPJGBKA .