Skip to content

Commit

Permalink
Adjusted some coefficients for IAAF scoring tables for Athletics
Browse files Browse the repository at this point in the history
  • Loading branch information
tontonsb committed Oct 10, 2017
1 parent 16ccae4 commit bf3a337
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions src/IaafCalculator.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public function getPoints($result)
],
'4x200m' => [
'resultShift' => -144,
'conversionFactor' => 0.2977,
'conversionFactor' => 0.29767,
'pointShift' => 0,
],
'4x400m' => [
Expand All @@ -237,7 +237,7 @@ public function getPoints($result)
/****************/
'10km' => [
'resultShift' => -3150,
'conversionFactor' => 0.0005285,
'conversionFactor' => 0.00052841,
'pointShift' => 0,
],
'15km' => [
Expand Down Expand Up @@ -267,7 +267,7 @@ public function getPoints($result)
],
'30km' => [
'resultShift' => -10531,
'conversionFactor' => 0.00004352,
'conversionFactor' => 0.00004353,
'pointShift' => 0,
],
'marathon' => [
Expand Down Expand Up @@ -315,7 +315,7 @@ public function getPoints($result)
],
'50kmW' => [
'resultShift' => -37200,
'conversionFactor' => 0.000002125,
'conversionFactor' => 0.000002124,
'pointShift' => 0,
],
/*********/
Expand Down Expand Up @@ -421,7 +421,7 @@ public function getPoints($result)
],
'2000m' => [
'resultShift' => -750,
'conversionFactor' => 0.00677,
'conversionFactor' => 0.006766,
'pointShift' => 0,
],
'3000m' => [
Expand Down Expand Up @@ -471,26 +471,26 @@ public function getPoints($result)
/* RELAYS */
/**********/
'4x100m' => [
'resultShift' => -77,
'conversionFactor' => 0.7,
'pointShift' => 0,
],
'4x200m' => [
'resultShift' => -98,
'conversionFactor' => 0.3895,
'pointShift' => 0,
],
'4x400m' => [
'4x200m' => [
'resultShift' => -212,
'conversionFactor' => 0.0795,
'pointShift' => 0,
],
'4x400m' => [
'resultShift' => -480,
'conversionFactor' => 0.01562,
'pointShift' => 0,
],
/****************/
/* ROAD RUNNING */
/****************/
'10km' => [
'resultShift' => -4500,
'conversionFactor' => 0.0001,
'conversionFactor' => 0.0001742,
'pointShift' => 0,
],
'15km' => [
Expand Down Expand Up @@ -519,8 +519,8 @@ public function getPoints($result)
'pointShift' => 0,
],
'30km' => [
'resultShift' => -15122,
'conversionFactor' => 0.000014264,
'resultShift' => -15123,
'conversionFactor' => 0.00001426,
'pointShift' => 0,
],
'marathon' => [
Expand Down Expand Up @@ -562,7 +562,7 @@ public function getPoints($result)
'pointShift' => 0,
],
'50kmW' => [
'resultShift' => -39552,
'resultShift' => -39952,
'conversionFactor' => 0.00000196,
'pointShift' => 0,
],
Expand Down Expand Up @@ -666,7 +666,7 @@ public function getPoints($result)
],
'800m' => [
'resultShift' => -184,
'conversionFactor' => 0.1975,
'conversionFactor' => 0.1974,
'pointShift' => 0,
],
'1000m' => [
Expand Down Expand Up @@ -696,7 +696,7 @@ public function getPoints($result)
],
'2miles' => [
'resultShift' => -907,
'conversionFactor' => 0.007211,
'conversionFactor' => 0.00721,
'pointShift' => 0,
],
'5000m' => [
Expand Down Expand Up @@ -767,8 +767,8 @@ public function getPoints($result)
/* COMBINED */
/************/
'heptathlon' => [
'resultShift' => 53209,
'conversionFactor' => 0.00000175,
'resultShift' => 53175,
'conversionFactor' => 0.000001752,
'pointShift' => -5000,
],
],
Expand Down Expand Up @@ -803,12 +803,12 @@ public function getPoints($result)
],
'400m' => [
'resultShift' => -112,
'conversionFactor' => 0.3225,
'conversionFactor' => 0.3224,
'pointShift' => 0,
],
'500m' => [
'resultShift' => -150.5,
'conversionFactor' => 0.1715,
'conversionFactor' => 0.1714,
'pointShift' => 0,
],
'600m' => [
Expand Down Expand Up @@ -870,7 +870,7 @@ public function getPoints($result)
'pointShift' => 0,
],
'60mh' => [
'resultShift' => -18.19,
'resultShift' => -18.2,
'conversionFactor' => 11.16,
'pointShift' => 0,
],
Expand Down Expand Up @@ -919,8 +919,8 @@ public function getPoints($result)
/* COMBINED */
/************/
'pentathlon' => [
'resultShift' => 41025,
'conversionFactor' => 0.00000294565,
'resultShift' => 41033,
'conversionFactor' => 0.0000029445,
'pointShift' => -5000,
],
],
Expand Down

0 comments on commit bf3a337

Please sign in to comment.