From: Bill Guindon Date: 2007-05-04T09:41:51+09:00 Subject: Re: Unofficial Ruby Quiz -- Ranking Choices On 5/3/07, Ken Bloom 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? Thanks much for filling in. I'm very interested, and I hope I have the time to take a shot at this one. Could you elaborate on the rules a bit? Do all possible pairs have to be evaluated, or should it deduce values based on previous answers? banana is more important than apple orange is more important than banana no need to compare apples to oranges (pardon the pun). > 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/ PS: typo on your home page: 'contected', looks bad for a linguistics major ;) -- Bill Guindon (aka aGorilla) The best answer to most questions is "it depends".