Skip to content

Commit 8246c07

Browse files
authored
Update README.md
1 parent e6421fd commit 8246c07

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ String random = collection.get();
1515
# Proven Probability
1616
The probability test is run **1,000,000 times**. Each time getting **100,000** random elements and counting the spread. The test would not pass if the spread had over **3.5%** deviation from the expected probability.
1717

18-
Here is a real world example which used 1,000 selects:
18+
A real world example is provided in App.java, You can run this file to view the accurate probability:
1919
```
20-
A's Probability is 0.38% | Was selected 0.39% of the time
21-
B's Probability is 0.38% | Was selected 0.38% of the time
22-
C's Probability is 0.19% | Was selected 0.18% of the time
23-
D's Probability is 0.04% | Was selected 0.04% of the time
24-
RareAF's Probability is 0.01% | Was selected 0.01% of the time
20+
Prob | Actual
21+
-----------------------
22+
A: 58.824% | 58.975%
23+
B: 29.412% | 29.256%
24+
C: 11.765% | 11.769%
2525
```
2626

2727
# Performance

0 commit comments

Comments
 (0)