Percentage weighted distribution of SV Constraints

In reply to natasv:

This is very much probabilistic, when you run for more iterations the probability ratio is more accurate.
When I run this code in eda playground, I see [0:5] is about 599 times, & [6:7] is about 401 times, that is 6:4 ratio. what is not working for you in this?