How are these numbers calculated?

Big Games

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

Week of 8/19100.0*Chance in playoffs100.0*Average seed
Padres 824 Diamondbacks 1387 -4.9
-0.4
Cardinals 620 Cubs 720 -3.7
-0.1
Dodgers 813 Rockies 430 -1.5
-0.1
Reds 833 Royals 918 +0.5
+0.2
Brewers 806 Pirates 1064 -0.5
If winner is:HomeTieAway
Week of 8/26100.0*Chance in playoffs100.0*Average seed
Padres vs Mariners+0.2-0.2-0.2
Reds vs Cubs-0.2-0.2+0.2

What If

Chances based on how well the Padres finish out the regular season.   Explain

100100100100100100100100100100100100100100100
If finish:Chance inChance will finish regular season at seed
TWW-L-Tplayoffs123456789101112131415Count
132-0-0Out1585615,015
12.51-0-1Out762450,142
121-1-0Out74261,230,515
0-0-2Out73271,043
11.50-1-1Out267450,272
110-2-0Out23752615,733
Total:Out4643212,562,720
Games Above .500
Chance Will Make Playoffs

Lottery

We are out of the playoffs. Here are the big games and what ifs for draft seeds.
Although it might be more fun to go down swinging.

Big Games

Week of 8/19100.0*Lottery seed
Padres 824 Diamondbacks 1387 +0.8
Reds 833 Royals 918 -0.2
Cardinals 620 Cubs 720 +0.2
Dodgers 813 Rockies 430 +0.1
Twins 1148 Indians 879 +0.1
Tigers 705 White Sox 789 +0.1
Angels 915 Rangers 1290 -0.1
If winner is:HomeTieAway
Week of 8/26100.0*Lottery seed
Padres vs Mariners-0.7+0.7+0.7
Brewers vs Twins-0.2-0.2+0.2
Reds vs Cubs+0.2-0.2-0.2
Rays vs Blue Jays+0.1-0.1-0.1
Nationals vs Orioles-0.1-0.1+0.1
Angels vs Astros+0.1-0.1-0.1
Athletics vs Rangers-0.1-0.1+0.1

What If

100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100
If finish:Chance will finish season at seed
TWW-L-T123456789101112131415161718192021222324252627282930
132-0-078202
12.51-0-1244128600
121-1-0244228600
0-0-215233825710
11.50-1-105233825710
110-2-005233825710
Total:312721137200