How are these numbers calculated?

Big Games

How we did last week and who we should root for this week.   Explain

Week of 4/3100.0*Promoted100.0*Relegated100.0*Average seed
Dunfermline 0 Hearts 0 -0.0
Arbroath 2 Alloa Athletic 1 +0.1
If winner is:HomeDrawAway
Morton vs Inverness CT+0.5+0.3-0.4
+0.2-0.0-0.1
+0.0+0.1-0.0
Ayr Utd vs Dundee+0.2+0.1-0.2
+0.1-0.0-0.1
-0.1+0.0+0.1
If winner is:HomeDrawAway
Week of 4/10100.0*Promoted100.0*Relegated100.0*Average seed
Queen of the South vs Inverness CT+3.0-0.3-1.8
-0.3-0.1+0.3
+0.9-0.0-0.5
Queen of the South vs Raith Rovers+2.6-0.3-1.3
-0.3-0.1+0.2
+0.7-0.0-0.4
Ayr Utd vs Dunfermline+0.4+0.2-0.6
+0.1-0.0-0.1
Dundee vs Morton-0.3+0.1+0.4
-0.1-0.0+0.2
Dunfermline vs Dundee-0.3+0.2+0.2
Raith Rovers vs Arbroath-0.1+0.0+0.1
-0.2-0.0+0.4
+0.0+0.0-0.1

What If

Chances based on how well the Queen of the South finish out the regular season.   Explain

100100100100100100100100100100
If finish:ChanceChance will finish season at seed
TPW-D-Lwins titlePromoted12345678910RelegatedCount
455-0-0No16.7%76240No32,161,397
434-1-0No16.7395480No124,224,510
424-0-1No16.516582510No217,551,028
413-2-0No16.18523630No211,379,032
403-1-1No13.6127531710No739,652,217
393-0-2No8.908464070No646,641,159
2-3-0No11.4015532930No179,628,334
382-2-1No5.90333491500No941,958,401
372-1-2No1.800114739200No1,645,839,664
1-4-0No3.00118503010No76,220,849
362-0-3No0.302265913000.0%958,105,679
1-3-1No0.70434548000.0532,578,137
351-2-2No0.100126026200.01,394,707,782
0-5-0No0.101176319100.012,923,879
341-1-3No0.0024347800.01,622,426,450
0-4-1No0.0044742700.0112,789,613
331-0-4No0.00021572110.2707,452,073
0-3-2No0.00026551810.1393,551,510
320-2-3NoNo09493840.9686,247,470
310-1-4NoNo23254123.0597,991,660
300-0-5NoNo017592406.0211,335,876
Total:No3.1%15122030219100.3%12,045,366,720
Points
Chance Will Win Championship