Skip to content

UKPLab/mturk-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UKP Amazon Mechanical Turk utilities

This project contains various convenience utilities for Amazon Mechanical Turk (AMT) requesters using the original Amazon Mechanical Turk Command Line Tools.

Note that Amazon has dropped support for the Command Line Tools and no longer distributes them; requesters are now expected to use one of the AWS Software Development Kits such as the AWS Command Line Interface. As such, the UKP Amazon Mechanical Turk utilities provided in this repository may no longer work properly or at all.

Requirements

To compile the utilities, you need Maven. To run the utilities, you need a Bourne-compatible shell, a Java runtime environment, and the Amazon Mechanical Turk Command Line Tools version 1.3.1. (Using more recent versions of the Command Line Tools may also work, but we have not tested this.) The utilities assume that the Amazon Mechanical Turk Command Line Tools are in your PATH, but this can be overriden at compilation/installation time (see below).

Compilation and installation

For most setups it should be sufficient to use the standard incantation:

make
sudo make install

If the Amazon Mechanical Turk Command Line Tools are not in your PATH, or if you want to specify a different installation prefix, then you can pass these locations as arguments to make. For example:

make PREFIX=/path/to/mturk-utils AMTDIR=/path/to/aws-mturk-clt-1.3.4/bin/
sudo make PREFIX=/path/to/mturk-utils AMTDIR=/path/to/aws-mturk-clt-1.3.4/bin/ install

Usage

For detailed usage instructions for a script, invoke it without any command-line options.

approveSubmitted.sh

This script takes an AMT results file and approves all assignments with a status of "Submitted". It runs much faster than the official approveWork.sh script which attempts to approve all assignments regardless of their status.

extendRejected.sh

This script takes an AMT results file and determines how many rejected assignments there are for each HIT. Then it adds a corresponding number of assignments for those HITs.

rejectWorker.sh

This script takes an AMT results file and a worker ID, and then rejects all submitted assignments by that worker.

setHITLocales.sh

This script updates the locale qualification of existing HITs. Unlike earlier versions of the AMT command-line utilities, you can specify more than one locale. For example, you can restrict your HITs to workers in the United States, Germany, and Hungary by passing a locale value of us,de,hu. (Amazon apparently added this feature to the command-line tools in Version 1.3.3, so if you are using that version or later, then you probably do not need this script.)

Contact

Tristan Miller, Austrian Research Institute for Artificial Intelligence

About

UKP Amazon Mechanical Turk utilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published