The Math of When to Self-Improve — LessWrong