I’m having a problem I’m not entirely sure is pyrevit related, but it only happens in pyrevit and the Revit Python Shell.
I noticed when I import the standard random module and try to generate a list of random numbers, either with random() or uniform(), all the results lie only within the first half of the domain. i.e. random() produces results from 0 to 0.5 instead of 0 to 1 and uniform(0,4) produces results from 0 to 2 instead of 0 to 4. Calling in dynamo works as expected.
Had my coworker test on her machine in RPS and she got the same results.