News for hackers. Stuff that matters.
Re:A New Algorithm for Controlled Randomness by andreareina on Sunday September 01, 2019 @12:40AM (#20850499)
The problem is the inverse: starting with 18.9%, how do you get the 5+5%
Re:A New Algorithm for Controlled Randomness by fenomas on Sunday September 01, 2019 @02:08AM (#20850755)
The author doesn't examine that question. They comment that one can run a large number of trials to estimate the 18.9 given the 5+5, and my post is how to get that answer analytically for any sequence of probabilities.

For the reverse case, there are arbitrarily many such sequences that would average out to any given value. In practice someone using this technique for gamedev wouldn't necessarily only want X+X%.