Jay-Rajput commited on
Commit
a167043
Β·
1 Parent(s): 17c5f72

Adding wildcard

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. leaders/users.json +73 -73
app.py CHANGED
@@ -321,7 +321,7 @@ def display_predictions():
321
  predictions_df['prediction_date'] = predictions_df.apply(lambda x: datetime.strptime(x['prediction_date'], '%Y-%m-%d'), axis=1)
322
 
323
  # Filter for today's predictions
324
- today_str = "2025-05-29" # datetime.now().strftime('%Y-%m-%d')
325
  todays_predictions = predictions_df[predictions_df['prediction_date'] == today_str]
326
 
327
  # Remove the 'prediction_id' column if it exists
 
321
  predictions_df['prediction_date'] = predictions_df.apply(lambda x: datetime.strptime(x['prediction_date'], '%Y-%m-%d'), axis=1)
322
 
323
  # Filter for today's predictions
324
+ today_str = datetime.now().strftime('%Y-%m-%d')
325
  todays_predictions = predictions_df[predictions_df['prediction_date'] == today_str]
326
 
327
  # Remove the 'prediction_id' column if it exists
leaders/users.json CHANGED
@@ -1,14 +1,14 @@
1
  {
2
  "Arpit": {
3
  "last_5_results": [
 
4
  "🟒",
5
  "πŸ”΄",
6
  "🟒",
7
- "πŸ”΄",
8
  "πŸ”΄"
9
  ],
10
- "points": 90301,
11
- "redistributed_bonus": 641,
12
  "wildcard": [
13
  0,
14
  0,
@@ -23,8 +23,8 @@
23
  "βšͺ",
24
  "βšͺ"
25
  ],
26
- "points": 26364,
27
- "redistributed_bonus": 1065,
28
  "wildcard": [
29
  0,
30
  0,
@@ -33,14 +33,14 @@
33
  },
34
  "Haaris": {
35
  "last_5_results": [
 
36
  "🟒",
37
  "βšͺ",
38
  "βšͺ",
39
- "πŸ”΄",
40
- "βšͺ"
41
  ],
42
- "points": 27938,
43
- "redistributed_bonus": 1023,
44
  "wildcard": [
45
  0,
46
  0,
@@ -50,13 +50,13 @@
50
  "Jay": {
51
  "last_5_results": [
52
  "🟒",
53
- "πŸ”΄",
54
  "πŸ”΄",
55
  "πŸ”΄",
56
  "πŸ”΄"
57
  ],
58
- "points": 34262,
59
- "redistributed_bonus": 1494,
60
  "wildcard": [
61
  0,
62
  0,
@@ -67,12 +67,12 @@
67
  "last_5_results": [
68
  "🟒",
69
  "🟒",
70
- "βšͺ",
71
  "βšͺ",
72
  "βšͺ"
73
  ],
74
- "points": 54994,
75
- "redistributed_bonus": 303,
76
  "wildcard": [
77
  0,
78
  0,
@@ -81,32 +81,32 @@
81
  },
82
  "Megha": {
83
  "last_5_results": [
 
84
  "🟒",
85
  "πŸ”΄",
86
  "πŸ”΄",
87
- "🟒",
88
- "πŸ”΄"
89
  ],
90
- "points": 55003,
91
- "redistributed_bonus": 1155,
92
  "wildcard": [
93
- 0,
94
  0,
95
  0
96
  ]
97
  },
98
  "Naveein": {
99
  "last_5_results": [
 
100
  "πŸ”΄",
101
  "πŸ”΄",
102
  "πŸ”΄",
103
- "🟒",
104
- "βšͺ"
105
  ],
106
- "points": 66375,
107
  "redistributed_bonus": 0,
108
  "wildcard": [
109
- 0,
110
  0,
111
  0
112
  ]
@@ -119,8 +119,8 @@
119
  "βšͺ",
120
  "βšͺ"
121
  ],
122
- "points": 52504,
123
- "redistributed_bonus": 1115,
124
  "wildcard": [
125
  0,
126
  0,
@@ -135,8 +135,8 @@
135
  "βšͺ",
136
  "βšͺ"
137
  ],
138
- "points": 26474,
139
- "redistributed_bonus": 1062,
140
  "wildcard": [
141
  0,
142
  0,
@@ -146,13 +146,13 @@
146
  "Rakesh": {
147
  "last_5_results": [
148
  "πŸ”΄",
149
- "🟒",
150
  "🟒",
151
  "🟒",
152
  "🟒"
153
  ],
154
- "points": 74140,
155
- "redistributed_bonus": 0,
156
  "wildcard": [
157
  0,
158
  0,
@@ -161,14 +161,14 @@
161
  },
162
  "Sai": {
163
  "last_5_results": [
164
- "βšͺ",
165
  "βšͺ",
166
  "βšͺ",
167
  "βšͺ",
168
  "βšͺ"
169
  ],
170
- "points": 79323,
171
- "redistributed_bonus": 28,
172
  "wildcard": [
173
  0,
174
  0,
@@ -179,28 +179,28 @@
179
  "last_5_results": [
180
  "🟒",
181
  "🟒",
182
- "πŸ”΄",
183
  "🟒",
184
- "πŸ”΄"
 
185
  ],
186
- "points": 199826,
187
  "redistributed_bonus": 0,
188
  "wildcard": [
189
- 0,
190
  0,
191
  0
192
  ]
193
  },
194
  "Vaibhav": {
195
  "last_5_results": [
 
196
  "🟒",
197
  "πŸ”΄",
198
  "🟒",
199
- "βšͺ",
200
  "βšͺ"
201
  ],
202
- "points": 53346,
203
- "redistributed_bonus": 346,
204
  "wildcard": [
205
  0,
206
  0,
@@ -215,8 +215,8 @@
215
  "βšͺ",
216
  "βšͺ"
217
  ],
218
- "points": 24295,
219
- "redistributed_bonus": 1120,
220
  "wildcard": [
221
  0,
222
  0,
@@ -226,16 +226,16 @@
226
  "Anandh": {
227
  "last_5_results": [
228
  "🟒",
229
- "πŸ”΄",
230
  "🟒",
231
  "πŸ”΄",
 
232
  "πŸ”΄"
233
  ],
234
- "points": 80117,
235
- "redistributed_bonus": 486,
236
  "wildcard": [
237
  0,
238
- 0,
239
  0
240
  ]
241
  },
@@ -247,8 +247,8 @@
247
  "βšͺ",
248
  "βšͺ"
249
  ],
250
- "points": 26307,
251
- "redistributed_bonus": 1067,
252
  "wildcard": [
253
  0,
254
  0,
@@ -258,13 +258,13 @@
258
  "Biswabarenya": {
259
  "last_5_results": [
260
  "βšͺ",
261
- "πŸ”΄",
262
  "βšͺ",
 
263
  "βšͺ",
264
  "βšͺ"
265
  ],
266
- "points": 17727,
267
- "redistributed_bonus": 1295,
268
  "wildcard": [
269
  0,
270
  0,
@@ -273,30 +273,30 @@
273
  },
274
  "Naitik": {
275
  "last_5_results": [
 
276
  "πŸ”΄",
277
  "πŸ”΄",
278
  "🟒",
279
- "πŸ”΄",
280
- "🟒"
281
  ],
282
- "points": 48605,
283
- "redistributed_bonus": 1218,
284
  "wildcard": [
285
  0,
286
  0,
287
- 0
288
  ]
289
  },
290
  "Alekhya": {
291
  "last_5_results": [
292
- "🟒",
293
  "βšͺ",
 
294
  "βšͺ",
295
  "βšͺ",
296
  "βšͺ"
297
  ],
298
- "points": 37736,
299
- "redistributed_bonus": 762,
300
  "wildcard": [
301
  0,
302
  0,
@@ -306,45 +306,45 @@
306
  "Siri Gowri": {
307
  "last_5_results": [
308
  "🟒",
309
- "πŸ”΄",
310
  "🟒",
311
  "πŸ”΄",
312
- "βšͺ"
 
313
  ],
314
- "points": 63739,
315
- "redistributed_bonus": 70,
316
  "wildcard": [
317
  0,
318
- 0,
319
  0
320
  ]
321
  },
322
  "Priyavrat Mohan": {
323
  "last_5_results": [
324
- "🟒",
325
  "πŸ”΄",
326
  "🟒",
327
  "πŸ”΄",
 
328
  "πŸ”΄"
329
  ],
330
- "points": 73021,
331
- "redistributed_bonus": 568,
332
  "wildcard": [
333
  0,
334
- 0,
335
  0
336
  ]
337
  },
338
  "Satish": {
339
  "last_5_results": [
 
340
  "πŸ”΄",
341
  "πŸ”΄",
342
  "βšͺ",
343
- "βšͺ",
344
- "πŸ”΄"
345
  ],
346
- "points": 16613,
347
- "redistributed_bonus": 1325,
348
  "wildcard": [
349
  0,
350
  0,
 
1
  {
2
  "Arpit": {
3
  "last_5_results": [
4
+ "βšͺ",
5
  "🟒",
6
  "πŸ”΄",
7
  "🟒",
 
8
  "πŸ”΄"
9
  ],
10
+ "points": 81271,
11
+ "redistributed_bonus": 0,
12
  "wildcard": [
13
  0,
14
  0,
 
23
  "βšͺ",
24
  "βšͺ"
25
  ],
26
+ "points": 23728,
27
+ "redistributed_bonus": 0,
28
  "wildcard": [
29
  0,
30
  0,
 
33
  },
34
  "Haaris": {
35
  "last_5_results": [
36
+ "βšͺ",
37
  "🟒",
38
  "βšͺ",
39
  "βšͺ",
40
+ "πŸ”΄"
 
41
  ],
42
+ "points": 25145,
43
+ "redistributed_bonus": 0,
44
  "wildcard": [
45
  0,
46
  0,
 
50
  "Jay": {
51
  "last_5_results": [
52
  "🟒",
53
+ "🟒",
54
  "πŸ”΄",
55
  "πŸ”΄",
56
  "πŸ”΄"
57
  ],
58
+ "points": 57586,
59
+ "redistributed_bonus": 1324,
60
  "wildcard": [
61
  0,
62
  0,
 
67
  "last_5_results": [
68
  "🟒",
69
  "🟒",
70
+ "🟒",
71
  "βšͺ",
72
  "βšͺ"
73
  ],
74
+ "points": 72070,
75
+ "redistributed_bonus": 1076,
76
  "wildcard": [
77
  0,
78
  0,
 
81
  },
82
  "Megha": {
83
  "last_5_results": [
84
+ "🟒",
85
  "🟒",
86
  "πŸ”΄",
87
  "πŸ”΄",
88
+ "🟒"
 
89
  ],
90
+ "points": 82892,
91
+ "redistributed_bonus": 889,
92
  "wildcard": [
93
+ 1,
94
  0,
95
  0
96
  ]
97
  },
98
  "Naveein": {
99
  "last_5_results": [
100
+ "🟒",
101
  "πŸ”΄",
102
  "πŸ”΄",
103
  "πŸ”΄",
104
+ "🟒"
 
105
  ],
106
+ "points": 134375,
107
  "redistributed_bonus": 0,
108
  "wildcard": [
109
+ 1,
110
  0,
111
  0
112
  ]
 
119
  "βšͺ",
120
  "βšͺ"
121
  ],
122
+ "points": 47254,
123
+ "redistributed_bonus": 0,
124
  "wildcard": [
125
  0,
126
  0,
 
135
  "βšͺ",
136
  "βšͺ"
137
  ],
138
+ "points": 23827,
139
+ "redistributed_bonus": 0,
140
  "wildcard": [
141
  0,
142
  0,
 
146
  "Rakesh": {
147
  "last_5_results": [
148
  "πŸ”΄",
149
+ "πŸ”΄",
150
  "🟒",
151
  "🟒",
152
  "🟒"
153
  ],
154
+ "points": 67677,
155
+ "redistributed_bonus": 1151,
156
  "wildcard": [
157
  0,
158
  0,
 
161
  },
162
  "Sai": {
163
  "last_5_results": [
164
+ "πŸ”΄",
165
  "βšͺ",
166
  "βšͺ",
167
  "βšͺ",
168
  "βšͺ"
169
  ],
170
+ "points": 60401,
171
+ "redistributed_bonus": 1278,
172
  "wildcard": [
173
  0,
174
  0,
 
179
  "last_5_results": [
180
  "🟒",
181
  "🟒",
 
182
  "🟒",
183
+ "πŸ”΄",
184
+ "🟒"
185
  ],
186
+ "points": 223644,
187
  "redistributed_bonus": 0,
188
  "wildcard": [
189
+ 1,
190
  0,
191
  0
192
  ]
193
  },
194
  "Vaibhav": {
195
  "last_5_results": [
196
+ "🟒",
197
  "🟒",
198
  "πŸ”΄",
199
  "🟒",
 
200
  "βšͺ"
201
  ],
202
+ "points": 81263,
203
+ "redistributed_bonus": 917,
204
  "wildcard": [
205
  0,
206
  0,
 
215
  "βšͺ",
216
  "βšͺ"
217
  ],
218
+ "points": 21866,
219
+ "redistributed_bonus": 0,
220
  "wildcard": [
221
  0,
222
  0,
 
226
  "Anandh": {
227
  "last_5_results": [
228
  "🟒",
 
229
  "🟒",
230
  "πŸ”΄",
231
+ "🟒",
232
  "πŸ”΄"
233
  ],
234
+ "points": 146117,
235
+ "redistributed_bonus": 0,
236
  "wildcard": [
237
  0,
238
+ 1,
239
  0
240
  ]
241
  },
 
247
  "βšͺ",
248
  "βšͺ"
249
  ],
250
+ "points": 23677,
251
+ "redistributed_bonus": 0,
252
  "wildcard": [
253
  0,
254
  0,
 
258
  "Biswabarenya": {
259
  "last_5_results": [
260
  "βšͺ",
 
261
  "βšͺ",
262
+ "πŸ”΄",
263
  "βšͺ",
264
  "βšͺ"
265
  ],
266
+ "points": 15955,
267
+ "redistributed_bonus": 0,
268
  "wildcard": [
269
  0,
270
  0,
 
273
  },
274
  "Naitik": {
275
  "last_5_results": [
276
+ "🟒",
277
  "πŸ”΄",
278
  "πŸ”΄",
279
  "🟒",
280
+ "πŸ”΄"
 
281
  ],
282
+ "points": 81518,
283
+ "redistributed_bonus": 913,
284
  "wildcard": [
285
  0,
286
  0,
287
+ 1
288
  ]
289
  },
290
  "Alekhya": {
291
  "last_5_results": [
 
292
  "βšͺ",
293
+ "🟒",
294
  "βšͺ",
295
  "βšͺ",
296
  "βšͺ"
297
  ],
298
+ "points": 33963,
299
+ "redistributed_bonus": 0,
300
  "wildcard": [
301
  0,
302
  0,
 
306
  "Siri Gowri": {
307
  "last_5_results": [
308
  "🟒",
 
309
  "🟒",
310
  "πŸ”΄",
311
+ "🟒",
312
+ "πŸ”΄"
313
  ],
314
+ "points": 129817,
315
+ "redistributed_bonus": 78,
316
  "wildcard": [
317
  0,
318
+ 1,
319
  0
320
  ]
321
  },
322
  "Priyavrat Mohan": {
323
  "last_5_results": [
 
324
  "πŸ”΄",
325
  "🟒",
326
  "πŸ”΄",
327
+ "🟒",
328
  "πŸ”΄"
329
  ],
330
+ "points": 54254,
331
+ "redistributed_bonus": 1433,
332
  "wildcard": [
333
  0,
334
+ 1,
335
  0
336
  ]
337
  },
338
  "Satish": {
339
  "last_5_results": [
340
+ "βšͺ",
341
  "πŸ”΄",
342
  "πŸ”΄",
343
  "βšͺ",
344
+ "βšͺ"
 
345
  ],
346
+ "points": 14952,
347
+ "redistributed_bonus": 0,
348
  "wildcard": [
349
  0,
350
  0,