Vaniver comments on Less Wrong Polls in Comments - Less Wrong

79 Post author: jimrandomh 19 September 2012 04:19PM

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

Comments (302)

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

Comment author: Vaniver 19 September 2012 05:17:33PM *  3 points [-]

Awesome! But since we're stress-testing it, let's try doing things wrong.

First thing that I noticed is that it doesn't let you post if there's a poll error. That's great! ... except it doesn't respect four spaces to put something in code format, so I can't easily tell you what I tried and what failed. Putting tests in their own comments to make it more obvious when something passes.

[edit]Oops, this also floods recent comments.

Comment author: Vaniver 19 September 2012 05:19:26PM *  8 points [-]

Trying to do a poll with only one option fails gracefully. Example: What kind of book did you read last? [poll]{a book}

Modifying the number of periods modifies the number of options available:

True False

|poll:True............False|

One period is well-defined: Nope. |poll:True.False| throws an "invalid poll type" error.

What about leaving off one of the names? |poll:True...| throws an "invalid poll type" error as well.

Submitting...