Turksort is a novel sorting algorithm that uses human intelligence to compare the elements of a (possibily) heterogeneous list. It is published in Sigbovik 2020.
You can read more about it in the paper. Read the pdf online here.
- Clone this repository.
$ git clone https://github.com/cole-k/turksort.git
- Install a recent verion of Python 3.
- Create a Mechanical Turk account and get it set up.
- Install boto3 and set up your credentials if you didn't already while creating your Mechnical Turk account.
- Check that the
production
variable is set toFalse
inturksort.py
and thedebug
variable is set toTrue
, then run
$ python3 turksort.py
This should sort a sample list. The program will output links to the sandbox that you can follow to provide human input.
A blog post by Mikey Levine described this algorithm before this repository was created. We (the authors) promise that we came up with the idea independently, but we still wish to give credit to Mikey for writing about it first.
- Finish paper writeup
- Create graphs of performance
- Make into a library and clean up the code
- Parallelization