Kevin comments on Spring 2010 Meta Thread - Less Wrong

3 Post author: FAWS 11 March 2010 10:27AM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (141)

You are viewing a single comment's thread. Show more comments above.

Comment author: jimrandomh 29 March 2010 03:08:33AM *  7 points [-]

My polling code for Less Wrong is now (mostly) complete. Check it out with 'git clone http://github.com/jimrandomh/lesswrong.git'. The syntax for creating a poll in a comment is:

Which choice? [poll]{First choice}{Second choice}{Third choice}
How much do you agree? [poll: Agree.....Disagree]
How likely? [poll: probability]
How many? [poll: number]

The first is a conventional multiple-choice poll, with the options in curly braces. The second gives radio buttons along a scale, with labels (such as Agree/Disagree) on the left and right. After you've submitted a ballot, it will show you the vote breakdown. There are also probability and number polls, for which you can get the mean and median. There is also a 'raw data' link, which provides a CSV file with all of the votes broken down by question and user (either their username, if they unchecked the 'vote anonymously' box, or a number), so people can do fancy analysis on the results.

The main areas that still need work are the templates (the results look a little ugly), error handling, and bug-testing. If all goes well, it should be ready to deploy on Less Wrong in another week or two.

Comment author: Kevin 29 March 2010 03:12:47AM 0 points [-]

:) Thanks! I am excited.