How are these numbers calculated?

Big Games

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

Week of 8/12100.0*Chance in playoffs100.0*Average seed
Diamondbacks 173 Giants 138.5 -4.7
-1.1
Rockies 232.5 Dodgers 265.5 +1.8
+0.1
Reds 261.5 Cubs 224.5 +0.1
Phillies 302 Braves 202 +0.1
Nationals 401 Mets 277.5 +0.0
Week of 8/19100.0*Chance in playoffs100.0*Average seed
Rockies 293 Giants 144 Out
-0.7
Diamondbacks 383 Dodgers 309 -3.2
Phillies 268.5 Mets 321 -0.2
Brewers 225.5 Cubs 218 +0.1
Nationals 287 Braves 217 +0.0
If winner is:HomeTieAway
Week of 8/26100.0*Chance in playoffs100.0*Average seed
Dodgers vs Giants-0.4-0.4+1.2
Braves vs Mets-0.2-0.2+0.1

What If

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

100100100100100100100100100100100100
If finish:Chance inChance will finish regular season at seed
TWW-L-Tplayoffs123456789101112Count
91-0-0Out58423,668,154
8-8.5Out10010,130,390*
Total:Out15117313,798,544

* Row combines multiple less frequent records.

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/12100.0*Lottery seed
Diamondbacks 173 Giants 138.5 +1.2
Astros 138 Rangers 277.5 +0.2
Blue Jays 279 Rays 329.5 +0.1
Phillies 302 Braves 202 -0.0
Nationals 401 Mets 277.5 -0.0
Yankees 290 Red Sox 367 -0.0
Week of 8/19100.0*Lottery seed
Rockies 293 Giants 144 +0.8
Phillies 268.5 Mets 321 +0.3
Yankees 237 Blue Jays 218.5 +0.3
Diamondbacks 383 Dodgers 309 +0.2
Nationals 287 Braves 217 -0.0
Rays 270 Red Sox 329.5 -0.0
If winner is:HomeTieAway
Week of 8/26100.0*Lottery seed
Dodgers vs Giants+0.3+0.3-0.9
Yankees vs Rays-0.0-0.3+0.2
Braves vs Mets+0.3-0.2-0.2

What If

100100100100100100100100100100100100100100100100100100100100100100100100
If finish:Chance will finish season at seed
TWW-L-T123456789101112131415161718192021222324
91-0-0186022
8.50-0-10144046
80-1-00144046
Total:5263533