Ilyas KHIAT commited on
Commit
a306650
·
1 Parent(s): 7997ba5

emission export fin fin

Browse files
Files changed (4) hide show
  1. comparateur.py +2 -2
  2. emissions.csv +43 -1
  3. empreinte_carbone.py +2 -2
  4. empreinte_export.py +1 -1
comparateur.py CHANGED
@@ -40,7 +40,7 @@ def get_table_empreintes_detailed() -> pd.DataFrame:
40
  emissions_df = emissions_df.round(2)
41
  emissions_df = emissions_df.rename(index={
42
  "Scrapping": "Collecte de Documents et scrapping",
43
- "extraction_pp": "Extraction des parties prenantes",
44
  "cartographie": "Sauvegarde de la cartographie",
45
  "chatbot": "Dialogue avec ChatBot IA",
46
  "download_rapport": "Téléchargement Cartographie"
@@ -50,5 +50,5 @@ def get_table_empreintes_detailed() -> pd.DataFrame:
50
  emissions_df["EcoLogits (Cumulative)"] = custom_cumsum(emissions_df["EcoLogits (par requete)"], emissions_df["CodeCarbon (Cumulative)"])
51
 
52
  emissions_df['Consommation Totale'] = emissions_df["CodeCarbon (Cumulative)"] + emissions_df["EcoLogits (Cumulative)"]
53
-
54
  return emissions_df
 
40
  emissions_df = emissions_df.round(2)
41
  emissions_df = emissions_df.rename(index={
42
  "Scrapping": "Collecte de Documents et scrapping",
43
+ "extraction_pp": "Extraction des parties prenantes (serveur et IA)",
44
  "cartographie": "Sauvegarde de la cartographie",
45
  "chatbot": "Dialogue avec ChatBot IA",
46
  "download_rapport": "Téléchargement Cartographie"
 
50
  emissions_df["EcoLogits (Cumulative)"] = custom_cumsum(emissions_df["EcoLogits (par requete)"], emissions_df["CodeCarbon (Cumulative)"])
51
 
52
  emissions_df['Consommation Totale'] = emissions_df["CodeCarbon (Cumulative)"] + emissions_df["EcoLogits (Cumulative)"]
53
+ emissions_df = emissions_df.round(2)
54
  return emissions_df
emissions.csv CHANGED
@@ -1549,4 +1549,46 @@ timestamp,project_name,run_id,duration,emissions,emissions_rate,cpu_power,gpu_po
1549
  2024-07-17T18:13:09,codecarbon,161258ac-b508-4cd2-b278-f000ae4044c9,30.170949459075928,3.959411956343663e-05,1.3123259384707917e-06,42.5,2.9425893446481792,5.86829710006714,0.0003560254227783,6.168977157399586e-05,4.876202101815627e-05,0.0004664772153705,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1550
  2024-07-17T18:13:26,codecarbon,161258ac-b508-4cd2-b278-f000ae4044c9,47.24970531463623,6.082695831552333e-05,1.2873510619902503e-06,42.5,4.372465760609494,5.86829710006714,0.0005576376333832,8.242951038799073e-05,7.65642764330651e-05,0.0007166314202043,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1551
  2024-07-17T18:13:26,codecarbon,161258ac-b508-4cd2-b278-f000ae4044c9,47.522823095321655,6.172655562472033e-05,1.2988823391427883e-06,42.5,95.54273838380864,5.86829710006714,0.000560813815395,8.946562712799921e-05,7.695056283424046e-05,0.0007272300053572,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1552
- 2024-07-17T18:13:41,codecarbon,161258ac-b508-4cd2-b278-f000ae4044c9,62.91723895072937,8.074986975415777e-05,1.2834299645188368e-06,42.5,4.056912318334414,5.86829710006714,0.0007425415494375759,0.00010681036322599674,0.00010200083364773812,0.0009513527463113109,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1549
  2024-07-17T18:13:09,codecarbon,161258ac-b508-4cd2-b278-f000ae4044c9,30.170949459075928,3.959411956343663e-05,1.3123259384707917e-06,42.5,2.9425893446481792,5.86829710006714,0.0003560254227783,6.168977157399586e-05,4.876202101815627e-05,0.0004664772153705,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1550
  2024-07-17T18:13:26,codecarbon,161258ac-b508-4cd2-b278-f000ae4044c9,47.24970531463623,6.082695831552333e-05,1.2873510619902503e-06,42.5,4.372465760609494,5.86829710006714,0.0005576376333832,8.242951038799073e-05,7.65642764330651e-05,0.0007166314202043,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1551
  2024-07-17T18:13:26,codecarbon,161258ac-b508-4cd2-b278-f000ae4044c9,47.522823095321655,6.172655562472033e-05,1.2988823391427883e-06,42.5,95.54273838380864,5.86829710006714,0.000560813815395,8.946562712799921e-05,7.695056283424046e-05,0.0007272300053572,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1552
+ 2024-07-17T18:13:41,codecarbon,161258ac-b508-4cd2-b278-f000ae4044c9,62.91723895072937,8.074986975415777e-05,1.2834299645188368e-06,42.5,4.056912318334414,5.86829710006714,0.0007425415494375,0.0001068103632259,0.0001020008336477,0.0009513527463113,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1553
+ 2024-07-17T18:26:55,codecarbon,161258ac-b508-4cd2-b278-f000ae4044c9,856.3481163978577,0.0010381640651286,1.2123154652288098e-06,42.5,2.811285631570453,5.86829710006714,0.0101094104374448,0.0007264039144559,0.0013952918714133,0.0122311062233141,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1554
+ 2024-07-17T18:26:55,codecarbon,161258ac-b508-4cd2-b278-f000ae4044c9,856.6642475128174,0.0010388900905006,1.2127155925053897e-06,42.5,50.35758626948598,5.86829710006714,0.0101131307333707,0.0007307703068379,0.0013957588344444,0.0122396598746532,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1555
+ 2024-07-17T18:26:55,codecarbon,161258ac-b508-4cd2-b278-f000ae4044c9,856.8715786933899,0.0010396439546852,1.2133019469154827e-06,42.5,111.84546597375414,5.86829710006714,0.0101155183394749,0.0007369911451479,0.0013960320237033,0.0122485415083263,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1556
+ 2024-07-17T18:27:07,codecarbon,319a99d5-1bff-445a-8d3f-561bdfc09d18,0.0453436374664306,5.168833156829685e-07,1.139924683072975e-05,42.5,524.0960439412316,5.86829710006714,4.880092210239834e-07,5.581115575997719e-06,2.052418191264376e-08,6.0896489789343465e-06,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1557
+ 2024-07-17T18:27:08,codecarbon,319a99d5-1bff-445a-8d3f-561bdfc09d18,1.636852502822876,2.4822678272433142e-06,1.5164883964575033e-06,42.5,4.124770030104935,5.86829710006714,1.926492402950923e-05,7.400561476002265e-06,2.579296210146254e-06,2.9244781715657747e-05,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1558
+ 2024-07-17T18:27:09,codecarbon,319a99d5-1bff-445a-8d3f-561bdfc09d18,2.509826183319092,3.546124028718229e-06,1.4128962604209892e-06,42.5,3.7527128286436384,5.86829710006714,2.95590811305576e-05,8.306395534000977e-06,3.913102592009352e-06,4.177857925656792e-05,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1559
+ 2024-07-17T18:27:09,codecarbon,319a99d5-1bff-445a-8d3f-561bdfc09d18,2.7132301330566406,4.325769733111801e-06,1.5943246687440124e-06,42.5,117.64067342780376,5.86829710006714,3.1948533654212955e-05,1.4856122995995924e-05,4.159300666816535e-06,5.0963957317025416e-05,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1560
+ 2024-07-17T18:27:10,codecarbon,319a99d5-1bff-445a-8d3f-561bdfc09d18,2.884868621826172,5.109430386988353e-06,1.7711137166981263e-06,42.5,149.849380323745,5.86829710006714,3.3956728710068604e-05,2.1853350815996545e-05,4.386557887056502e-06,6.019663741312165e-05,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1561
+ 2024-07-17T18:27:55,codecarbon,ddbd7596-f9a4-4b7c-99d8-efc07fdcf04d,0.2000510692596435,8.844998409411533e-07,4.42137022418597e-06,42.5,147.13295017993403,5.86829710006714,2.325956523418427e-06,7.826672928000489e-06,2.680852240738811e-07,1.0420714675492795e-05,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1562
+ 2024-07-17T18:28:02,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,7.612771511077881,1.0822277065303537e-05,1.4215948882158458e-06,42.5,10.41670837409059,5.86829710006714,8.944920152425767e-05,2.5823909548000623e-05,1.2229299009193347e-05,0.0001275024100814,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1563
+ 2024-07-17T18:28:03,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,7.933133125305176,1.184129881070458e-05,1.4926383591034295e-06,42.5,88.28732086646185,5.86829710006714,9.321339776118596e-05,3.359447132000176e-05,1.2700122420886732e-05,0.000139507991502,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1564
+ 2024-07-17T18:28:03,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,8.11232614517212,1.2112162935010051e-05,1.493056703867651e-06,42.5,17.021420686695112,5.86829710006714,9.531702117787468e-05,3.4427527541999736e-05,1.2954622276603516e-05,0.0001426991709964,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1565
+ 2024-07-17T18:29:13,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,78.05253791809082,9.7263729383455e-05,1.2461315413667216e-06,42.5,3.271973689081744,5.86829710006714,0.0009209940928551,9.79917450600054e-05,0.0001269245684686,0.0011459104063838,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1566
+ 2024-07-17T18:29:13,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,78.68643069267273,9.837499314202929e-05,1.2502154726811103e-06,42.5,26.556999759726004,5.86829710006714,0.0009284539173046,0.000102638693222,0.0001279101244493,0.001159002734976,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1567
+ 2024-07-17T18:29:14,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,78.798335313797,9.910791032638328e-05,1.2577411684105743e-06,42.5,234.50321161683755,5.86829710006714,0.0009297750135262,0.000109797865616,0.0001280647029025,0.0011676375820448,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1568
+ 2024-07-17T18:29:14,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,78.88571095466614,9.920314520837202e-05,1.2575553165183725e-06,42.5,0.0,5.86829710006714,0.0009307827926344,0.000109797865616,0.0001281789313815,0.0011687595896319,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1569
+ 2024-07-17T18:29:22,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,87.63472867012024,0.0001103264187935,1.2589349047777854e-06,42.5,5.572494657896144,5.86829710006714,0.0010340695314937,0.00012333620978,0.0001424024420642,0.0012998081833379,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1570
+ 2024-07-17T18:29:25,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,90.5873956680298,0.0001141172326363,1.2597473610409152e-06,42.5,6.22451443713556,5.86829710006714,0.0010689038104481,0.0001284345471919,0.000147131212411,0.0013444695700511,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1571
+ 2024-07-17T18:29:30,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,95.22524285316469,0.0001203635064934,1.2639873933325792e-06,42.5,8.784936648792932,5.86829710006714,0.0011236561730504,0.000139745111796,0.0001546586179968,0.0014180599028432,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1572
+ 2024-07-17T18:29:32,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,97.63683700561523,0.0001234518131777,1.264397915416305e-06,42.5,6.07470688463781,5.86829710006714,0.0011521027836534,0.000143803448376,0.000158538485483,0.0014544447175124,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1573
+ 2024-07-17T18:29:43,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,108.10049366950987,0.0001363123157006,1.2609777353784828e-06,42.5,3.772912302263466,5.86829710006714,0.0012756320637133,0.00015476679048,0.0001755615800798,0.0016059604342731,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1574
+ 2024-07-17T18:29:43,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,108.31219339370728,0.0001366465463316,1.2615989211389068e-06,42.5,19.679034284403382,5.86829710006714,0.0012781200970212,0.0001559079025039,0.0001758701652939,0.0016098981648192,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1575
+ 2024-07-17T18:29:44,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,109.73206520080566,0.0001385167391533,1.2623178001786987e-06,42.5,7.652611737980549,5.86829710006714,0.0012948706565631,0.000158919849358,0.0001781412929141,0.0016319317988353,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1576
+ 2024-07-17T18:29:48,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,112.8036403656006,0.0001425443277711,1.2636500675785748e-06,42.5,7.395563747013953,5.86829710006714,0.001331066827476,0.0001652151321719,0.0001831007825037,0.0016793827421517,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1577
+ 2024-07-17T18:29:48,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,113.10225033760072,0.0001429573207331,1.263965308439696e-06,42.5,10.479262918653989,5.86829710006714,0.0013346237265401,0.00016608207731,0.0001835426054523,0.0016842484093025,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1578
+ 2024-07-17T18:29:48,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,113.27974009513856,0.0001432550852654,1.2646134705560912e-06,42.5,24.15748355879442,5.86829710006714,0.0013367066340314,0.0001672559671379,0.0001837939141689,0.0016877565153383,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1579
+ 2024-07-17T18:32:39,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,284.11822724342346,0.0003497593093142,1.2310343926459285e-06,42.5,2.9004712883645096,5.86829710006714,0.0033535379509131,0.000304895799472,0.0004622475643599,0.004120681314745,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1580
+ 2024-07-17T18:32:39,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,284.76977038383484,0.0003511569384999,1.2331257563842177e-06,42.5,42.89785252368359,5.86829710006714,0.003361229779654,0.0003126358056639,0.0004632818657584,0.0041371474510765,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1581
+ 2024-07-17T18:32:40,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,284.888498544693,0.000351565160394,1.2340447655486057e-06,42.5,101.57371202284494,5.86829710006714,0.0033626196268532,0.000315901086054,0.0004634361950921,0.0041419569079993,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1582
+ 2024-07-17T18:32:40,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,284.9972794055939,0.0003521183973523,1.2355149427629345e-06,42.5,173.54483190686176,5.86829710006714,0.003363892015318,0.0003210002567999,0.0004635825844706,0.0041484748565887,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1583
+ 2024-07-17T18:33:06,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,311.38012862205505,0.0003843438492896,1.2343236255648605e-06,42.5,3.4443740405441536,5.86829710006714,0.0036753443746103,0.0003462397214359,0.0005065541865633,0.0045281382826096,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1584
+ 2024-07-17T18:33:07,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,312.55321192741394,0.0003861509901886,1.2354727945598814e-06,42.5,17.39823860051277,5.86829710006714,0.0036891396919886,0.000351867781494,0.0005084215983564,0.004549429071839,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1585
+ 2024-07-17T18:33:07,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,312.657790184021,0.000386454592505,1.236030588835291e-06,42.5,74.18400554711589,5.86829710006714,0.0036904055251015,0.000354033894338,0.0005085665361571,0.0045530059555967,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1586
+ 2024-07-17T18:33:07,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,312.7487473487854,0.0003868320912722,1.2368781475594153e-06,42.5,131.99777268202075,5.86829710006714,0.0036914674724141,0.000357295563614,0.0005086904126728,0.004557453448701,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1587
+ 2024-07-17T18:34:11,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,376.7201812267304,0.0004640660135062,1.2318586490245869e-06,42.5,2.840061780121657,5.86829710006714,0.0044466857890288,0.0004077614373199,0.0006129359132529,0.0054673831396017,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1588
+ 2024-07-17T18:34:12,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,377.34828996658325,0.000464930034761,1.2320978976802722e-06,42.5,10.220283001649856,5.86829710006714,0.0044540891541375,0.000409538938742,0.0006139344934029,0.0054775625862825,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1589
+ 2024-07-17T18:34:12,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,377.4691610336304,0.0004654080563563,1.232969747997142e-06,42.5,123.4228494642088,5.86829710006714,0.004455504279832,0.0004136142197799,0.0006140758871777,0.0054831943867897,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1590
+ 2024-07-17T18:34:12,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,377.57105922698975,0.0004655449176543,1.2329994746087851e-06,42.5,9.820319138195776,5.86829710006714,0.0044567072446147,0.000413886719998,0.000614212850434,0.0054848068150468,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1591
+ 2024-07-17T18:34:39,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,404.151828289032,0.0004980585432608,1.2323550418401285e-06,42.5,3.518182016542716,5.86829710006714,0.0047704967796802,0.000439860907444,0.0006575076654469,0.0058678653525712,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1592
+ 2024-07-17T18:34:40,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,404.8156716823578,0.0004992809776485,1.2333538757865364e-06,42.5,30.207986240624955,5.86829710006714,0.0047783101624912,0.00044539757854,0.0006585596943598,0.0058822674353911,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1593
+ 2024-07-17T18:34:40,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,404.9339051246643,0.0004996029910711,1.2337889832102275e-06,42.5,69.4651394210638,5.86829710006714,0.0047797072293029,0.000447640080334,0.0006587139195375,0.0058860612291745,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
1594
+ 2024-07-17T18:34:40,codecarbon,c5ccb98c-56c5-45df-8c2f-2063a3ef816c,405.02332520484924,0.0005000046772351699,1.2345083508024676e-06,42.5,147.09287469615646,5.86829710006714,0.004780762883027394,0.00045119563873400464,0.000658835163781194,0.005890793685542595,France,FRA,nouvelle-aquitaine,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,-0.6455,44.8152,15.648792266845703,machine,N,1.0
empreinte_carbone.py CHANGED
@@ -94,7 +94,7 @@ def display_carbon_footprint():
94
  pourcentage_api = emission_api / total_emission
95
  pourcentage_serveur = serveur_emission / total_emission
96
 
97
- df = pd.DataFrame({"Categorie": ["Identification + dessin","Dialogue avec IA"], "valeur": [pourcentage_serveur, pourcentage_api]})
98
  base=alt.Chart(df).encode(
99
  theta=alt.Theta(field="valeur", type="quantitative", stack=True),
100
  color=alt.Color(field="Categorie", type="nominal")
@@ -102,7 +102,7 @@ def display_carbon_footprint():
102
 
103
 
104
  pie = base.mark_arc(outerRadius=100)
105
- text = base.mark_text(radius=115,fill= "black").encode(alt.Text(field="valeur", type="quantitative", format=".2%"))
106
 
107
  chart = alt.layer(pie, text, data=df).resolve_scale(theta="independent")
108
  st.altair_chart(chart, use_container_width=True)
 
94
  pourcentage_api = emission_api / total_emission
95
  pourcentage_serveur = serveur_emission / total_emission
96
 
97
+ df = pd.DataFrame({"Categorie": ["Identification + dessin","Dialogue avec IA (extraction pp + dialogue)"], "valeur": [pourcentage_serveur, pourcentage_api]})
98
  base=alt.Chart(df).encode(
99
  theta=alt.Theta(field="valeur", type="quantitative", stack=True),
100
  color=alt.Color(field="Categorie", type="nominal")
 
102
 
103
 
104
  pie = base.mark_arc(outerRadius=100)
105
+ text = base.mark_text(radius=150,fill= "black",align='center', baseline='middle',fontSize=20).encode(alt.Text(field="valeur", type="quantitative", format=".2%"))
106
 
107
  chart = alt.layer(pie, text, data=df).resolve_scale(theta="independent")
108
  st.altair_chart(chart, use_container_width=True)
empreinte_export.py CHANGED
@@ -122,7 +122,7 @@ def get_carbon_footprint_html():
122
  pourcentage_api = emission_api / total_emission
123
  pourcentage_serveur = serveur_emission / total_emission
124
 
125
- df = pd.DataFrame({"Categorie": ["Identification + dessin", "Dialogue avec IA"], "valeur": [pourcentage_serveur, pourcentage_api]})
126
  base = alt.Chart(df).encode(
127
  theta=alt.Theta(field="valeur", type="quantitative", stack=True),
128
  color=alt.Color(field="Categorie", type="nominal")
 
122
  pourcentage_api = emission_api / total_emission
123
  pourcentage_serveur = serveur_emission / total_emission
124
 
125
+ df = pd.DataFrame({"Categorie": ["Identification + dessin", "IA (extraction pp + dialogue)"], "valeur": [pourcentage_serveur, pourcentage_api]})
126
  base = alt.Chart(df).encode(
127
  theta=alt.Theta(field="valeur", type="quantitative", stack=True),
128
  color=alt.Color(field="Categorie", type="nominal")