Random number generation for task int success probs