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*Chance wins title100.0*Promoted
Dunfermline 0 Hearts 0 -0.2
-0.1
If winner is:HomeDrawAway
Ayr Utd vs Dundee+0.1+0.0-0.1
+0.1+0.0-0.1
If winner is:HomeDrawAway
Week of 4/10100.0*Chance wins title100.0*Promoted
Hearts vs Alloa Athletic+0.7-0.6-2.2
+0.6-0.5-1.8
Queen of the South vs Raith Rovers+0.8+0.6-0.7
+0.6+0.5-0.6
Raith Rovers vs Arbroath-0.6+0.6+0.8
-0.5+0.5+0.6
Dunfermline vs Dundee+0.1+0.0-0.1
+0.1+0.0-0.1
Dundee vs Morton-0.1+0.1+0.1
-0.1+0.0+0.1

What If

Chances based on how well Hearts finishes out the regular season.   Explain

100100100100100100100100100100
If finish:ChanceChance will finish season at seed
TPW-D-Lwins titlePromoted12345678910RelegatedCount
52-59YesYes100No10,364,060,081*
511-1-296.8%97.4%973No888,794,412
0-4-099.999.91000No50,732,487
501-0-394.395.2946No233,999,617
0-3-197.597.9973No170,364,872
490-2-287.489.587130No206,999,197
480-1-373.577.974260No107,391,233
470-0-456.964.157421No23,024,821
Total:99.1%99.2%9910No12,045,366,720

* Row combines multiple less frequent records.

Points
Chance Will Win Championship