I don't know how to compute the odds of the things i mentioned above.
If someone can help me with that it will be great.
A mathematical formula will be most welcomed
A level 1 rat has a random speed of 10-31
A level 2 rat has a random speed of 10-32
A level 3 rat has a random speed of 10-33
A level 4 rat has a random speed of 10-34
A level 5 rat has a random speed of 10-35
A level 6 rat has a random speed of 10-36
Example of one race:
1 lvl 1: The difference between maximum and minimum speeds: 21
1 lvl 2: The difference between maximum and minimum speeds: 22
1 lvl 3: The difference between maximum and minimum speeds: 23
1 lvl 4: The difference between maximum and minimum speeds: 24
1 lvl 5: The difference between maximum and minimum speeds: 25
Total: 115
Now, divide the difference between min and max speeds by the total and multiply it by 100.
21 / 115 * 100 = 18.3%
22 / 115 * 100 = 19.1%
23 / 115 * 100 = 20.0%
24 / 115 * 100 = 20.9%
25 / 115 * 100 = 21.7%
Of course, this would be different depending on the actual level of the rats. For example, in a race with one lvl 1 rat and 4 lvl 5 rats, the level 1 would have 17.3% chances of winning and the rest of them would have 20.7% chances of winning.
A race with all of the rats being the same level would obviously give each one 20% chance of winning, so you can use that to see if your rat is above or below average. I don't think it really matters that much, though.