mariagrandury commited on
Commit
76a45e4
·
1 Parent(s): 8a9ef5d

save two indiv leaderboards

Browse files
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(LEADERBOARD_PERSONAL_CSV, index=False, encoding="utf-8")
 
 
 
 
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,Gmail,Discord_Username,HF_Username,Email,Arena,Blend-ES,Estereotipos,INCLUDE
2
- roverico,[email protected],roverico,rovi27,[email protected],140,0,0,304
3
- steminism,[email protected],steminism,4nd,[email protected],133,0,0,577
4
- andres_seba,[email protected],andres_seba,AndresSebad,[email protected],120,0,0,440
5
- mcdaqc,[email protected],mcdaqc,daqc,[email protected],118,0,0,449
6
- dreamripper1,[email protected],dreamripper1,JuanJCalderonG,[email protected],83,0,0,987
7
- bea esparcia,[email protected],Bea Esparcia,BeaEsparcia,[email protected],80,0,0,126
8
- angustias22,[email protected],angustias22,lauramm,[email protected],63,0,0,0
9
- henry mantilla,[email protected],Henry Mantilla,HenryM,[email protected],58,0,0,0
10
- fabianpp,[email protected],fabianpp,Factral,[email protected],50,0,0,372
11
- alvaro8gb,[email protected],Alvaro8gb,Alvaro8gb,[email protected],42,0,0,2
12
- enpaiva93,[email protected],enpaiva93,enpaiva,[email protected],40,0,0,505
13
- ghuerta170,[email protected],ghuerta170,Gerard-1705,[email protected],35,0,0,353
14
- edmenciab,[email protected],edmenciab,edmenciab ,[email protected],30,0,0,0
15
- luceldasilva,[email protected],luceldasilva,luceldasilva,[email protected],23,0,0,0
16
- adriszmar,[email protected],adriszmar,adriszmar,[email protected],22,0,0,247
17
- helenpy,[email protected],helenpy,LATEiimas,[email protected],19,0,0,0
18
- danielcavilla,[email protected],DanielCavilla,DanielCavilla,[email protected],19,0,0,0
19
- gonzalo_40146,[email protected],gonzalo_40146,gonznm,[email protected],8,0,0,0
20
- gonzalo.fuentes,,,,,1,0,0,0
21
- gfuentes2000,,,,,1,0,0,0
22
- valaery,[email protected],valaery,valaery,[email protected],0,0,0,1
23
- clauvallory,,,,,0,0,0,5
24
- lucase#5596,[email protected],Lucase#5596,Lucase,[email protected],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,[email protected],Yee51,cleysi51,[email protected],0,0,0,1
30
- freddyalfonsoboulton,,,,,0,0,0,1
31
- mgomez8540,[email protected],mgomez8540,[email protected],[email protected],0,0,0,348
32
- gpalomeque,[email protected],gpalomeque,GPalomeque,[email protected],0,0,0,120
33
- conilinguist,[email protected],conilinguist,conijeldres,[email protected],0,0,0,300
34
- arri98,,,,,0,0,0,598
35
- dramos7,[email protected],Dramos7,DRamos,[email protected],0,0,0,5
36
- maria isabel ll,[email protected],Maria Isabel LL,MariaIsabel,[email protected],0,0,0,12
37
- jorgeav,[email protected],JorgeAV,JorgeAV,[email protected],0,0,0,13
38
- jorge.vallego,,,,,0,0,0,14
39
- oscarcumbicus,[email protected],oscarcumbicus,oskrmiguel,[email protected],0,0,0,1280
40
- pablo.ce,[email protected],pablo.ce,pabloce,[email protected],0,0,0,2830
41
- rasel,,,,,0,0,0,300
42
- reewos,[email protected],reewos,reewos,[email protected],0,0,0,608
43
- bel21093_72376,,,,,0,0,0,300
44
- godswrath97,[email protected],godswrath97,JorgeMTT97,[email protected],0,0,0,561
45
- susanazhou,[email protected],susanazhou,susanazhou ,[email protected],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.,[email protected],Elena W.,hyrka,[email protected],0,0,0,57
50
- alebravo,[email protected],AleBravo,AleBravo,[email protected],0,0,0,30
51
- jedzill4,[email protected],jedzill4,jedzill4,[email protected],0,0,0,27
52
- gonznm,,,,,0,0,0,24
53
- agumeister,[email protected],agumeister,agustinghent,[email protected],0,0,0,21
54
- alexis_castillo,[email protected],alexis_castillo,AlexisCastillo,[email protected],0,0,0,68
 
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