fixed sorting

This commit is contained in:
lottopy committed 2023-01-02 12:39:58 -05:00
1 parent a7f8ff61a2
commit a8c39310d2
12 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -1,2 +1,2 @@
Forecast,Chance
14-15-16-22-25-6,17/8855
6-14-15-16-18-22,31/16100
1 Forecast Chance
2 14-15-16-22-25-6 6-14-15-16-18-22 17/8855 31/16100
+1 -1
View File
@@ -40,7 +40,7 @@ for n in range(0, 25):
likely_nums = [v[0] for v in most_common]
frequency = [v[-1] for v in most_common]
sorted_nums = sorted(likely_nums)
sorted_nums = sorted(likely_nums, key=lambda x: (len(x), x))
total_freq = sum(frequency)
Chance = frac(total_freq, 177100) # Chance = number call freq / all possible numbers i.e. 177100
Forecast = str("-".join(sorted_nums))
+1 -1
View File
@@ -1,2 +1,2 @@
Forecast,Chance
2-3-6,3419/5000
2-3-6,171/250
1 Forecast Chance
2 2-3-6 3419/5000 171/250
+1 -1
View File
@@ -1,2 +1,2 @@
Forecast,Chance
3-4-8-9,531/10000
3-4-8-9,33/625
1 Forecast Chance
2 3-4-8-9 531/10000 33/625
+1 -1
View File
@@ -36,7 +36,7 @@ for n in range(0, 10):
likely_nums = [v[0] for v in most_common]
frequency = [v[-1] for v in most_common]
sorted_nums = sorted(likely_nums)
sorted_nums = sorted(likely_nums, key=lambda x: (len(x), x))
total_freq = sum(frequency)
Chance = frac(total_freq, 15000) # Chance = number call freq / all possible numbers i.e. 1000
Forecast = str("-".join(sorted_nums))
+1 -1
View File
@@ -39,7 +39,7 @@ for n in range(0, 9):
likely_nums = [v[0] for v in most_common]
frequency = [v[-1] for v in most_common]
sorted_nums = sorted(likely_nums)
sorted_nums = sorted(likely_nums, key=lambda x: (len(x), x))
total_freq = sum(frequency)
Chance = frac(total_freq, 10000) # Chance = number call freq / all possible numbers i.e. 10000
Forecast = str("-".join(sorted_nums))
+1 -1
View File
@@ -1,2 +1,2 @@
Forecast,SB,Chance
1-14-32-48-52,[2],37/6497400
1-29-32-48-52,[2],149/25989600
1 Forecast SB Chance
2 1-14-32-48-52 1-29-32-48-52 [2] 37/6497400 149/25989600
+1 -1
View File
@@ -47,7 +47,7 @@ for n in range(0, 10):
SB = [v[0] for v in most_common_sb]
frequency_sb = [v[-1] for v in most_common_sb]
sorted_nums = sorted(likely_nums)
sorted_nums = sorted(likely_nums, key=lambda x: (len(x), x))
total_freq = sum(frequency + frequency_sb)
Chance = frac(total_freq, 25989600) # Chance = number call freq / all possible numbers i.e. 25,989,600
Forecast = str("-".join(sorted_nums))
+1 -1
View File
@@ -45,7 +45,7 @@ for n in range(0, 26):
PB = [v[0] for v in most_common_pb]
frequency_pb = [v[-1] for v in most_common_pb]
sorted_nums = sorted(likely_nums)
sorted_nums = sorted(likely_nums, key=lambda x: (len(x), x))
total_freq = sum(frequency + frequency_pb)
Chance = frac(total_freq, 292201338) # Chance = number call freq / all possible numbers i.e. 292201338
Forecast = str("-".join(sorted_nums))
+1 -1
View File
@@ -47,7 +47,7 @@ for n in range(0, 25):
MB = [v[0] for v in most_common_mb]
frequency_mb = [v[-1] for v in most_common_mb]
sorted_nums = sorted(likely_nums)
sorted_nums = sorted(likely_nums, key=lambda x: (len(x), x))
total_freq = sum(frequency + frequency_mb)
Chance = frac(total_freq, 302575350) # Chance = number call freq / all possible numbers i.e. 11238513
Forecast = str("-".join(sorted_nums))
+1 -1
View File
@@ -1,2 +1,2 @@
Forecast,MB,Chance
15-21-38-64-7,[9],43/100858450
3-7-15-38-64,[9],64/151287675
1 Forecast MB Chance
2 15-21-38-64-7 3-7-15-38-64 [9] 43/100858450 64/151287675
+1 -1
View File
@@ -1,2 +1,2 @@
Forecast,PB,Chance
33-36-37-39-6,[18],103/146100669
6-33-36-37-56,[18],1/1453738
1 Forecast PB Chance
2 33-36-37-39-6 6-33-36-37-56 [18] 103/146100669 1/1453738