-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSample Run.txt
212 lines (141 loc) · 5.68 KB
/
Sample Run.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
Sample Run
input file with 3 draws: IN_data_draws3.csv
3 options selected:
ALL - OUT_results3.csv - Graph 1
SEL - D - 2 - OUT_result3_Tues.csv - Graph 2
SEL - M - 8 (No August found)
Welcome to the Travis's 6-49 Processing system!
===============================================
You first need to provide the input file name
You will be asked to provide the output file name later
The input file should be in this folder
The output file will be created in this folder
You will be able to provide new names for the files
or accept the default names. Both files should have the extension .csv
Type x for INPUT file name 'IN_data_draws3.csv', or a new file name ==> x
.... TRACE - data read from the file
....... ['25-Nov-15', '1', '2', '3', '4', '29', '48', '21', '1500', '2']
....... ['1-Apr-17', '27', '40', '41', '42', '45', '46', '20', '2500', '0']
....... ['17-Apr-18', '16', '17', '35', '43', '44', '46', '49', '55500', '3']
Please choose one of three options:
Type ALL to process all the data
Type SEL to process selected draws
Type END to end this program
Type ALL, SEL or END (not case sensitive) ==> all
============= ALL the data will be processed ============
Please confirm the output file name for your selected data
(if there is a file with this name in the folder
this new file will substitute the previous one)
Type x for OUTPUT file name 'OUT_results3.csv', or a new file name ==> x
JUST TO TRACE, the draw being processed is:
index# 0
date 25-Nov-15
numbers drawn ['1', '2', '3', '4', '29', '48', '21']
jackpot 1500
num winners 2
JUST TO TRACE, the draw being processed is:
index# 1
date 1-Apr-17
numbers drawn ['27', '40', '41', '42', '45', '46', '20']
jackpot 2500
num winners 0
JUST TO TRACE, the draw being processed is:
index# 2
date 17-Apr-18
numbers drawn ['16', '17', '35', '43', '44', '46', '49']
jackpot 55500
num winners 3
TRACING: Here is the output saved to the file!
25-Nov-15 [4, 0, 2, 0, 1] 750.0
1-Apr-17 [0, 1, 1, 1, 4] 0
17-Apr-18 [0, 2, 0, 1, 4] 18500.0
=========== STATS: ===========
draws processed 3
max jackpot 55500
date max jackpot 17-Apr-18
max average won 18500.0
date max average won 17-Apr-18
number of times each number was drawn
[0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 0, 1, 1]
number of numbers in each range - all selected draws considered
ranges: (0,10], (10,20], (20,30], (30,40], (40,50)
[4, 3, 3, 2, 9]
Six most frequently drawn numbers
number 46 was drawn 2 times
number 1 was drawn 1 times
number 2 was drawn 1 times
number 3 was drawn 1 times
number 4 was drawn 1 times
number 16 was drawn 1 times
Would you like to graph the ranges distribution? (Y/N): y
Please choose one of three options:
Type ALL to process all the data
Type SEL to process selected draws
Type END to end this program
Type ALL, SEL or END (not case sensitive) ==> qw
That was not an option. Please retype
Type ALL, SEL or END (not case sensitive) ==> sel
============= SELECTED data will be processed ============
Want to select by month (M) or day of week (D)? ==> wqe
That was not an option. Please retype
Want to select by month (M) or day of week (D)? ==> fds
That was not an option. Please retype
Want to select by month (M) or day of week (D)? ==> d
Please select a day of the week
Only the draws associated to this day of the week will be processed
Please type a day of the week number (1 to 7) (Mon = 1, Sun = 7) ==> 9
The day of the week number is out of range. Please retype
Please type a day of the week number (1 to 7) (Mon = 1, Sun = 7) ==> 0
The day of the week number is out of range. Please retype
Please type a day of the week number (1 to 7) (Mon = 1, Sun = 7) ==> 2
1 draws were found in the data for Tuesday
Please confirm the output file name for your selected data
(if there is a file with this name in the folder
this new file will substitute the previous one)
Type x for OUTPUT file name 'OUT_results3.csv', or a new file name ==> OUT_result3_Tues.csv
JUST TO TRACE, the draw being processed is:
index# 2
date 17-Apr-18
numbers drawn ['16', '17', '35', '43', '44', '46', '49']
jackpot 55500
num winners 3
TRACING: Here is the output saved to the file!
17-Apr-18 [0, 2, 0, 1, 4] 18500.0
=========== STATS: ===========
draws processed 1
max jackpot 55500
date max jackpot 17-Apr-18
max average won 18500.0
date max average won 17-Apr-18
number of times each number was drawn
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1]
number of numbers in each range - all selected draws considered
ranges: (0,10], (10,20], (20,30], (30,40], (40,50)
[0, 2, 0, 1, 4]
Six most frequently drawn numbers
number 16 was drawn 1 times
number 17 was drawn 1 times
number 35 was drawn 1 times
number 43 was drawn 1 times
number 44 was drawn 1 times
number 46 was drawn 1 times
Would you like to graph the ranges distribution? (Y/N): y
Please choose one of three options:
Type ALL to process all the data
Type SEL to process selected draws
Type END to end this program
Type ALL, SEL or END (not case sensitive) ==> sel
============= SELECTED data will be processed ============
Want to select by month (M) or day of week (D)? ==> m
Please select a month
Only the draws associated to this month will be processed
Please type a month number (1 to 12)==> 8
The file does not have any draws in Aug
Nothing will be processed, you can try another option
Please choose one of three options:
Type ALL to process all the data
Type SEL to process selected draws
Type END to end this program
Type ALL, SEL or END (not case sensitive) ==> end
BYE .... no more stats for you!!
>>>