You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OutputTest.py
+22-16Lines changed: 22 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -148,44 +148,44 @@
148
148
],
149
149
['52 -p 0.1 -c -t', True,
150
150
[
151
-
'The number of samples, sampled uniformly at random from a set of ≈80529020383886612857810199580012764961409004334781435987268084328737 (≈8*10^67) items, needed to have at least a 10% chance of a non-unique sample is:',
152
-
' 4119363813276486714957808853108064 (≈4*10^33) (Taylor series approximation used in main calculation)'
151
+
'The number of samples, sampled uniformly at random from a set of 80658175170943878571660636856403766975289505440883277824000000000000 (≈8*10^67) items, needed to have at least a 10% chance of a non-unique sample is:',
152
+
' 4122665867622533660736208120290868 (≈4*10^33) (Taylor series approximation used in main calculation)'
153
153
]
154
154
],
155
155
['52 -p 0.5 -c -t', True,
156
156
[
157
-
'The number of samples, sampled uniformly at random from a set of ≈80529020383886612857810199580012764961409004334781435987268084328737 (≈8*10^67) items, needed to have at least a 50% chance of a non-unique sample is:',
158
-
' 10565837726592754214318243269428637 (≈10^34) (Taylor series approximation used in main calculation)'
157
+
'The number of samples, sampled uniformly at random from a set of 80658175170943878571660636856403766975289505440883277824000000000000 (≈8*10^67) items, needed to have at least a 50% chance of a non-unique sample is:',
158
+
' 10574307231100289363611308602026252 (≈10^34) (Taylor series approximation used in main calculation)'
159
159
]
160
160
],
161
161
['52 -n 10000000000000000000 -c -s -t', True,
162
162
[
163
-
'The probability of finding at least one non-unique sample among 10000000000000000000 (=10^19) samples, sampled uniformly at random from a set of ≈80529020383886612857810199580012764961409004334781435987268084328737 (≈8*10^67) items, is:',
163
+
'The probability of finding at least one non-unique sample among 10000000000000000000 (=10^19) samples, sampled uniformly at random from a set of 80658175170943878571660636856403766975289505440883277824000000000000 (≈8*10^67) items, is:',
164
164
" ≈0% (≈6*10^-31) (Stirling's approximation used in factorial calculation)",
165
165
' ≈0% (≈6*10^-31) (Taylor series approximation used in main calculation (removes need for factorial calculation))'
'The probability of finding at least one non-unique sample among 10000000000000000000000000000000000 (=10^34) samples, sampled uniformly at random from a set of ≈80529020383886612857810199580012764961409004334781435987268084328737 (≈8*10^67) items, is:',
171
-
" ≈46.2536366051% (Stirling's approximation used in factorial calculation)",
172
-
' ≈46.2536366051% (Taylor series approximation used in main calculation (removes need for factorial calculation))'
170
+
'The probability of finding at least one non-unique sample among 10000000000000000000000000000000000 (=10^34) samples, sampled uniformly at random from a set of 80658175170943878571660636856403766975289505440883277824000000000000 (≈8*10^67) items, is:',
171
+
" ≈46.2001746672% (Stirling's approximation used in factorial calculation)",
172
+
' ≈46.2001746672% (Taylor series approximation used in main calculation (removes need for factorial calculation))'
173
173
]
174
174
],
175
175
['4 -n 18 -b -c -a', True,
176
176
[
177
-
'The probability of finding at least one non-unique sample among 2^18 samples, sampled uniformly at random from a set of ≈2^44.2426274105 items, is:',
178
-
' ≈0.1649423866% (≈2*10^-3) (Exact method)',
179
-
" ≈0.1649422224% (≈2*10^-3) (Stirling's approximation used in factorial calculation)",
180
-
' ≈0.1649428504% (≈2*10^-3) (Taylor series approximation used in main calculation (removes need for factorial calculation))'
177
+
'The probability of finding at least one non-unique sample among 2^18 samples, sampled uniformly at random from a set of ≈2^44.2501404699 items, is:',
178
+
' ≈0.1640861961% (≈2*10^-3) (Exact method)',
179
+
" ≈0.1640861961% (≈2*10^-3) (Stirling's approximation used in factorial calculation)",
180
+
' ≈0.1640868208% (≈2*10^-3) (Taylor series approximation used in main calculation (removes need for factorial calculation))'
181
181
]
182
182
],
183
183
['16 -n 262144 -c -a', True,
184
184
[
185
-
'The probability of finding at least one non-unique sample among 262144 (≈3*10^5) samples, sampled uniformly at random from a set of ≈20814114415223 (≈2*10^13) items, is:',
186
-
' ≈0.1649423866% (≈2*10^-3) (Exact method)',
187
-
" ≈0.1649422224% (≈2*10^-3) (Stirling's approximation used in factorial calculation)",
188
-
' ≈0.1649428504% (≈2*10^-3) (Taylor series approximation used in main calculation (removes need for factorial calculation))'
185
+
'The probability of finding at least one non-unique sample among 262144 (≈3*10^5) samples, sampled uniformly at random from a set of 20922789888000 (≈2*10^13) items, is:',
186
+
' ≈0.1640861961% (≈2*10^-3) (Exact method)',
187
+
" ≈0.1640861961% (≈2*10^-3) (Stirling's approximation used in factorial calculation)",
188
+
' ≈0.1640868208% (≈2*10^-3) (Taylor series approximation used in main calculation (removes need for factorial calculation))'
189
189
]
190
190
],
191
191
['20922789888000 -n 262144 -a', True,
@@ -210,6 +210,12 @@
210
210
' 0% (Taylor series approximation used in main calculation (removes need for factorial calculation))'
211
211
]
212
212
],
213
+
['1280 -p 0.5 -b -c -e', True,
214
+
[
215
+
'The number of samples, sampled uniformly at random from a set of ≈2^26614275474014559821953787196100807012412948367028783328633986189111799719299525295290069853854877867120534538070982737886888824825850066183609939356930416666755910887266773840385877776851876084664629106697034459995685244418266399190317043076208186461319737435225525519543453247219560088300601118286958869004726993677805799134087110255288245085785541666888810491274634074724367056992419344.3330052449 items, needed to have at least a 50% chance of a non-unique sample is:',
216
+
" N/A (Calculation failed: d exceeds maximum size and is needed for method (Exact method))"
217
+
]
218
+
],
213
219
['12800 -n 6400 -b -c -s -t', False, "dLog exceeds maximum size and is needed to initialize calculations"]
0 commit comments