Completion Code Verification - gideongoldin/TurkGate GitHub Wiki
When you are ready to verify survey completion, download the Batch results file for your HIT from within Mechanical Turk. This comma-separated-value file will contain previously generated completion codes.
Copy and paste the entire contents of this file into the text area in the codes/verify.php
page in your TurkGate installation, and press Verify codes
.
The script will automatically verify all codes. First, it checks whether the information in the first half of a code (e.g., Worker ID, Group Name, and any custom key-value pairs)--when hashed with a private encryption key--matches the second half of the code. This step helps prevent users from fabricating their own codes, since users do not know your private salt. The script then checks if any codes are duplicated:
After pressing Verify codes
, you will see a table of completion codes, elapsed time, and submit time for the HITs. This can be helpful in quickly detecting suspiciously fast entries, or in comparing submit times for duplicate rows.