Latent variables for prediction markets: motivation, technical guide, and design considerations — LessWrong