You're looking at Less Wrong's discussion board. This includes all posts, including those that haven't been promoted to the front page yet. For more information, see About Less Wrong.

gwern comments on Open thread, Feb. 23 - Mar. 1, 2015 - Less Wrong Discussion

3 Post author: MrMind 23 February 2015 08:01AM

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

Comments (161)

You are viewing a single comment's thread.

Comment author: gwern 26 February 2015 03:35:35AM 4 points [-]

I had the idea a long time ago to make a PredictionBook commandline tool, but I never got past designing the interface and outlining what the basic functionality should be. So I'm dropping it here in case anyone might find it interesting.

pb-search argument

Interface to google.com: "argument site:predictionbook.com -site:predictionbook.com/users/"

Returns: select all hits, spit out the pages, newline delimited:

1. Title
2. due date
3. creator: probability
4-n. author: probability: comment
n+1. double-newline
pb-new -u user password -p/--prediction prediction -d/--date date -%/--probability n [-c/--comment comment] [-h/--public/--private: default private]

returns: 'ID URL'

pb-update -u user password -n/--numeric-id n [-c/--comment comment] [-%/--probability n]
returns: prediction n's page as rendered in the first search example

Comment and prediction fields must:

  • enforce length limits on prediction and comments
  • enforce 0-100 on probabilities (warn on 0 or 100)