# mturk-utils **Repository Path**: mirrors_UKPLab/mturk-utils ## Basic Information - **Project Name**: mturk-utils - **Description**: UKP Amazon Mechanical Turk utilities - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-26 - **Last Updated**: 2026-07-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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](https://web.archive.org/web/20170710111508/https://requester.mturk.com/developer/tools/clt). 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](https://requester.mturk.com/developer) such as the [AWS Command Line Interface](https://github.com/aws/aws-cli). 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](https://maven.apache.org/). To run the utilities, you need a Bourne-compatible shell, a Java runtime environment, and the [Amazon Mechanical Turk Command Line Tools](https://web.archive.org/web/20170710111508/https://requester.mturk.com/developer/tools/clt) 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](https://forums.aws.amazon.com/thread.jspa?messageID=755218򸘒), so if you are using that version or later, then you probably do not need this script.) ## Contact [Tristan Miller](mailto:tristan.miller@ofai.at), [Austrian Research Institute for Artificial Intelligence](http://www.ofai.at/)