Skip to content

Commit

Permalink
Updated Carbon Reference file to 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
7h3Rabbit committed Jan 11, 2025
1 parent 4c2ae3b commit dacde60
Showing 1 changed file with 102 additions and 102 deletions.
204 changes: 102 additions & 102 deletions tests/energy_efficiency_carbon_percentiles.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This array was last generated with carbon-rating.py on 2024-03-31
# This array was last generated with carbon-rating.py on 2025-01-09
def get_generated_date():
"""
Get the date when the data was generated.
Expand All @@ -7,7 +7,7 @@ def get_generated_date():
str: A string that represents the date when the data was generated.
The date is in the format 'YYYY-MM-DD'.
"""
return '2024-03-31'
return '2025-01-09'

def get_percentiles():
"""
Expand All @@ -21,113 +21,113 @@ def get_percentiles():
The percentile values are floats.
"""
return [
0.08354936412472742,
0.13657804459389297,
0.18515692842479328,
0.22692933166886212,
0.2525221250193426,
0.2874776061070385,
0.31191066180402416,
0.344436006239173,
0.36667539186773357,
0.39758132844476496,
0.7195952818745981,
0.7706758259036811,
0.8246947915802244,
0.864793432929809,
0.9271062361625955,
0.9866173468456139,
1.0280096576667856,
1.061448940867814,
1.09573927227268,
1.1360545822188723,
# 10 percentile
0.42584487272235566,
0.4464283894000808,
0.46531171471399724,
0.48831765141088984,
0.510851378373918,
0.5317421617470216,
0.5543698387214449,
0.5791470562671542,
0.6028803097745404,
0.6186698679652763,
1.1699348951320163,
1.2147008457232498,
1.249170034221164,
1.2792559820437106,
1.3194955966393465,
1.3529217133346714,
1.3990941891606665,
1.4341873880397062,
1.4722503573893104,
1.502322656416567,
# 20 percentile
0.631780596878333,
0.6463543994801352,
0.6655098084641156,
0.6942654328065225,
0.7170844340597977,
0.7372893775268226,
0.7558947352377232,
0.7787478584792232,
0.8010871503955684,
0.8200965462073219,
1.539990389450267,
1.5687833671211266,
1.6170550083711275,
1.655786720460979,
1.697164996655192,
1.730082201379142,
1.767065420803125,
1.8008167694809147,
1.8281698474776464,
1.865497204635874,
# 30 percentile
0.8394079517579637,
0.8574583870709639,
0.8799363854723051,
0.8971731259099208,
0.9300173361049964,
0.9541632124678697,
0.9763189208532217,
0.9938500749687432,
1.0212998279130319,
1.0504173141319773,
1.9010437557259574,
1.934970898957923,
1.9669621076763375,
2.0057327164213175,
2.0443316300736036,
2.0861144507727354,
2.1223484815534905,
2.1493408069397324,
2.1827582906514635,
2.2279277005960467,
# 40 percentile
1.0768987260450609,
1.0988630619226023,
1.1215843754201895,
1.1494796192552659,
1.1679330798609882,
1.196162212776602,
1.2189920173166087,
1.2507048967148173,
1.2774594292205759,
1.307289932363783,
2.2698465993019283,
2.309275846820325,
2.3432775037933604,
2.383390396800218,
2.4359921304131857,
2.470044476021733,
2.5122664455035935,
2.5576627485840113,
2.5908547136852285,
2.630395345983561,
# 50 percentile
1.3392636821991764,
1.3570009668838463,
1.38218706954075,
1.411758462603763,
1.4452612874577753,
1.4804685478239554,
1.5103988125680712,
1.5413658552356755,
1.5866408142562025,
1.6249815582929876,
2.6687325934208466,
2.7099887297773497,
2.7457207935567713,
2.786273944612406,
2.830521771501168,
2.8794038707949228,
2.9305072753503913,
2.9806218415672427,
3.0302468597396044,
3.0708806737285332,
# 60 percentile
1.657838934993767,
1.7014340311565435,
1.7496255158773157,
1.7901508147093466,
1.8204601590682286,
1.8672358344797044,
1.9200499443119627,
1.9582236473505616,
2.024268769118678,
2.087484008510713,
3.128674833484622,
3.197390320348181,
3.281886587732006,
3.353935443185177,
3.4110046734642236,
3.4930577582621942,
3.554626243976573,
3.6184129482993153,
3.69737528028402,
3.7618564816109137,
# 70 percentile
2.159640824487759,
2.228946874949638,
2.3116927446237296,
2.393050343723898,
2.4580033448385072,
2.540090069335118,
2.6137265979916324,
2.6977107944072927,
2.7708533379551255,
2.87857855274051,
3.833286559524969,
3.9153947217936858,
3.9854729661120554,
4.069211942387605,
4.137290469394648,
4.214598499869672,
4.30092180077848,
4.386039112462475,
4.5338635714594275,
4.658924154902808,
# 80 percentile
2.9831052229901087,
3.0822705451690124,
3.205326033772178,
3.3414577193540285,
3.4742567115516865,
3.662649320810405,
3.824050304002779,
4.022925911478537,
4.2230293800118375,
4.470116463111714,
4.761884975552838,
4.897171352176927,
5.009684617401868,
5.158261279351962,
5.325759560409118,
5.5755929450997845,
5.785922447958589,
6.070004807722104,
6.317559374117899,
6.665658417993342,
# 90 percentile
4.695625259033334,
4.9861721319525785,
5.365176268398273,
5.774669570875075,
6.345150944315008,
7.2068164399044585,
8.434910226292136,
10.216039042627969,
13.186847352152784,
40.041936754347404
6.954556294588348,
7.333459656625008,
7.856159684408294,
8.28457829550749,
9.075920278409493,
10.06626644719094,
11.618200617671459,
14.460188703512507,
18.25513119120255,
80.10806937437329
]

0 comments on commit dacde60

Please sign in to comment.