Use the command below to create the plan-goal annotation:
python create_hit.py --html index.html --config turker_parameter --number 20 --sandbox --title "your_hit_title"Creates a new HIT. Example:
create_hit.py --html phase_one.html --config hit_configuration_ph1 --number 100 [--sandbox] --title "Brain Phase 1 Survey"
phase_one.htmlandhit_configuration_ph1.yamlare both in thetemplatesdirectory.--numberare the number of HITs that we want.--sandboxcreates the HIT in the sandbox versus in production.--titleis what the HIT looks like on the MTurk dashboard.
Gets the results from one or more HITs.
get_results.py --hit_id HIT_ID --output OUTPUT [--sandbox]
--hit_idis the HIT ID. You can have multiple HIT IDs and it will concatenate the results.--outputis the output .csv file.--sandboxgets the results from the sandbox as opposed to production.
Lists the HITs that have been run so far.
list_hits.py [--sandbox] --output OUTPUT
--outputis the output .csv file.--sandboxgets the results from the sandbox as opposed to production.
List the qualifications that we've defined so far.
list_qualifications.py [--output OUTPUT] [--sandbox]
--outputis the output .csv file.--sandboxgets the results from the sandbox as opposed to production.
List the workers that fulfill a qualification ID.
list_workers_with_qualification.py --qualification_id QUALIFICATION_ID --output OUTPUT [--sandbox]
--qualification_idis the qualification ID.--outputis the output .csv file.--sandboxgets the results from the sandbox as opposed to production.
- Edit/create a new HTML file in the
templatesdirectory. - Edit/create a new configuration file in the
templatesdirectory. - Test:
- Create a new HIT in the sandbox with
create_hit.py(with--sandbox). - Test the new HIT in the sandox.
- Get the new HIT ID using
list_hits.py(with--sandbox). - Get the data from the test HIT using
get_results.py(with--sandbox). Make sure it's good.
- Create a new HIT in the sandbox with
- Create a new HIT in production with
create_hit.py. Specify the number of HITs with--number. - Get the HIT ID using
list_hits.py. - Get the data from the HIT using
get_results.py. - Update worker qualifications (if needed):
- Use
set_qualifications.pywith the data file to set which workers have completed the survey (if needed) - Create a subset of the data file with the HITs that fulfill the requirements for a next phase.
- Use that subset file with
set_qualifications.pyto set which workers are qualified for a next phase.
- Use
- If you need more data, add more instances to the HIT with
create_additional_assignments.py.