On 5/3/07, Ken Bloom <kbloom / gmail.com> wrote: > Apparently some people around here can't stand Ruby Quiz withdrawal. For > those people, here's a quiz question I just came up with. > > I have a list of some items, and I would like to manually rank which ones > are most important to me. But it's not easy to rank them when I'm looking > at them all at once, so I'd like to consider them in pairs and choose > from each pair which one is most important to me. Then I'd like to use my > answers to those questions to create a ranked list. Anyone think they can > come up with a good program to quiz me about these items pairwise, and > output a ranking? > > Extra credit: come up with a solution that lets me take the quiz multiple > times, and outputs a single ranked list reflecting all of my sessions > taking the quiz. > > I have my solution to the basic question, but I want to see what other > people come up with. > > --Ken > > -- > Ken Bloom. PhD candidate. Linguistic Cognition Laboratory. > Department of Computer Science. Illinois Institute of Technology. > http://www.iit.edu/~kbloom1/ > > I wrote a webapp that did something like that using a perverted Condorcet method described here: http://xkcd.com/date/algorithms.html. I don't have the code anymore, but that's a concise way fo doing it. -- Chris Carter concentrationstudios.com brynmawrcs.com