Spaces:
Runtime error
Runtime error
Commit
·
76a45e4
1
Parent(s):
8a9ef5d
save two indiv leaderboards
Browse files- calculate_personal_scores.py +8 -1
- leaderboard_personal.csv +54 -54
calculate_personal_scores.py
CHANGED
@@ -347,12 +347,19 @@ def calculate_personal_scores():
|
|
347 |
full_df = pd.DataFrame(full_rows)
|
348 |
if not full_df.empty:
|
349 |
full_df.sort_values("Arena", ascending=False, inplace=True)
|
350 |
-
full_df.to_csv(
|
|
|
|
|
|
|
|
|
351 |
|
352 |
# Return display dataframe for UI
|
353 |
display_df = pd.DataFrame(display_rows)
|
354 |
if not display_df.empty:
|
355 |
display_df.sort_values("Arena", ascending=False, inplace=True)
|
|
|
|
|
|
|
356 |
|
357 |
return display_df
|
358 |
|
|
|
347 |
full_df = pd.DataFrame(full_rows)
|
348 |
if not full_df.empty:
|
349 |
full_df.sort_values("Arena", ascending=False, inplace=True)
|
350 |
+
full_df.to_csv(
|
351 |
+
os.path.join(DATA_DIR, LEADERBOARD_PERSONAL_CSV),
|
352 |
+
index=False,
|
353 |
+
encoding="utf-8",
|
354 |
+
)
|
355 |
|
356 |
# Return display dataframe for UI
|
357 |
display_df = pd.DataFrame(display_rows)
|
358 |
if not display_df.empty:
|
359 |
display_df.sort_values("Arena", ascending=False, inplace=True)
|
360 |
+
display_df.to_csv(
|
361 |
+
os.path.join(LEADERBOARD_PERSONAL_CSV), index=False, encoding="utf-8"
|
362 |
+
)
|
363 |
|
364 |
return display_df
|
365 |
|
leaderboard_personal.csv
CHANGED
@@ -1,54 +1,54 @@
|
|
1 |
-
Username,
|
2 |
-
roverico,
|
3 |
-
steminism,
|
4 |
-
andres_seba,
|
5 |
-
mcdaqc,
|
6 |
-
dreamripper1,
|
7 |
-
bea esparcia,
|
8 |
-
angustias22,
|
9 |
-
henry mantilla,
|
10 |
-
fabianpp,
|
11 |
-
alvaro8gb,
|
12 |
-
enpaiva93,
|
13 |
-
ghuerta170,
|
14 |
-
edmenciab,
|
15 |
-
luceldasilva,
|
16 |
-
adriszmar,
|
17 |
-
helenpy,
|
18 |
-
danielcavilla,
|
19 |
-
gonzalo_40146,
|
20 |
-
gonzalo.fuentes
|
21 |
-
gfuentes2000
|
22 |
-
valaery,
|
23 |
-
clauvallory
|
24 |
-
lucase#5596,
|
25 |
-
daelsand
|
26 |
-
da.qc
|
27 |
-
guidoivetta
|
28 |
-
jorge-neo
|
29 |
-
yee51,
|
30 |
-
freddyalfonsoboulton
|
31 |
-
mgomez8540,
|
32 |
-
gpalomeque,
|
33 |
-
conilinguist,
|
34 |
-
arri98
|
35 |
-
dramos7,
|
36 |
-
maria isabel ll,
|
37 |
-
jorgeav,
|
38 |
-
jorge.vallego
|
39 |
-
oscarcumbicus,
|
40 |
-
pablo.ce,
|
41 |
-
rasel
|
42 |
-
reewos,
|
43 |
-
bel21093_72376
|
44 |
-
godswrath97,
|
45 |
-
susanazhou,
|
46 |
-
henrymantilla
|
47 |
-
neovalleltd
|
48 |
-
amayuelas
|
49 |
-
elena w.,
|
50 |
-
alebravo,
|
51 |
-
jedzill4,
|
52 |
-
gonznm
|
53 |
-
agumeister,
|
54 |
-
alexis_castillo,
|
|
|
1 |
+
Username,Arena,Blend-ES,Estereotipos,INCLUDE
|
2 |
+
roverico,140,0,0,304
|
3 |
+
steminism,133,0,0,577
|
4 |
+
andres_seba,120,0,0,440
|
5 |
+
mcdaqc,118,0,0,449
|
6 |
+
dreamripper1,83,0,0,987
|
7 |
+
bea esparcia,80,0,0,126
|
8 |
+
angustias22,63,0,0,0
|
9 |
+
henry mantilla,58,0,0,0
|
10 |
+
fabianpp,50,0,0,372
|
11 |
+
alvaro8gb,42,0,0,2
|
12 |
+
enpaiva93,40,0,0,505
|
13 |
+
ghuerta170,35,0,0,353
|
14 |
+
edmenciab,30,0,0,0
|
15 |
+
luceldasilva,23,0,0,0
|
16 |
+
adriszmar,22,0,0,247
|
17 |
+
helenpy,19,0,0,0
|
18 |
+
danielcavilla,19,0,0,0
|
19 |
+
gonzalo_40146,8,0,0,0
|
20 |
+
gonzalo.fuentes,1,0,0,0
|
21 |
+
gfuentes2000,1,0,0,0
|
22 |
+
valaery,0,0,0,1
|
23 |
+
clauvallory,0,0,0,5
|
24 |
+
lucase#5596,0,0,0,3
|
25 |
+
daelsand,0,0,0,2
|
26 |
+
da.qc,0,0,0,2
|
27 |
+
guidoivetta ,0,0,0,393
|
28 |
+
jorge-neo,0,0,0,927
|
29 |
+
yee51,0,0,0,1
|
30 |
+
freddyalfonsoboulton,0,0,0,1
|
31 |
+
mgomez8540,0,0,0,348
|
32 |
+
gpalomeque,0,0,0,120
|
33 |
+
conilinguist,0,0,0,300
|
34 |
+
arri98,0,0,0,598
|
35 |
+
dramos7,0,0,0,5
|
36 |
+
maria isabel ll,0,0,0,12
|
37 |
+
jorgeav,0,0,0,13
|
38 |
+
jorge.vallego,0,0,0,14
|
39 |
+
oscarcumbicus,0,0,0,1280
|
40 |
+
pablo.ce,0,0,0,2830
|
41 |
+
rasel,0,0,0,300
|
42 |
+
reewos,0,0,0,608
|
43 |
+
bel21093_72376,0,0,0,300
|
44 |
+
godswrath97,0,0,0,561
|
45 |
+
susanazhou,0,0,0,560
|
46 |
+
henrymantilla,0,0,0,302
|
47 |
+
neovalleltd,0,0,0,122
|
48 |
+
amayuelas,0,0,0,2300
|
49 |
+
elena w.,0,0,0,57
|
50 |
+
alebravo,0,0,0,30
|
51 |
+
jedzill4,0,0,0,27
|
52 |
+
gonznm,0,0,0,24
|
53 |
+
agumeister,0,0,0,21
|
54 |
+
alexis_castillo,0,0,0,68
|