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 +13.1
+1.2
Rockies 232.5 Dodgers 265.5 +2.8
+0.1
Nationals 401 Mets 277.5 +0.2
Phillies 302 Braves 202 +0.1
Week of 8/19100.0*Chance in playoffs100.0*Average seed
Diamondbacks 137 Dodgers 86 +23.2
+1.3
Rockies 126 Giants 64.5 -2.1
+0.0
Nationals 96 Braves 128 -0.2
Phillies 137.5 Mets 174 -0.1
If winner is:HomeTieAway
Week of 8/26100.0*Chance in playoffs100.0*Average seed
Rockies vs DiamondbacksOut*+0.0In
-1.8+0.0+1.8
Braves vs Mets-0.2-0.2+0.3

* A starred number could be exactly 0 or just really small. The simulation did not run long enough to know.

What If

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

100100100100100100100100100100100100
If finish:Chance inChance will finish regular season at seed
TWW-L-Tplayoffs123456789101112Count
111-0-0In1002,674,985
10.50-0-150.1%502524109,528
100-1-0Out49512,672,607
Total:50.0%5025255,457,120
Games Above .500
Chance Will Make Playoffs

Lottery

Ye of little faith, already thinking about next year. Here are the big games and what ifs for draft seeds.

Big Games

Week of 8/12100.0*Lottery seed
Diamondbacks 173 Giants 138.5 -1.7
Astros 138 Rangers 277.5 +0.1
Phillies 302 Braves 202 -0.1
Nationals 401 Mets 277.5 -0.1
Yankees 290 Red Sox 367 -0.1
Blue Jays 279 Rays 329.5 +0.1
Rockies 232.5 Dodgers 265.5 -0.1
Week of 8/19100.0*Lottery seed
Diamondbacks 137 Dodgers 86 -1.7
Angels 125.5 Rangers 78 -0.1
Phillies 137.5 Mets 174 +0.1
Rays 113.5 Red Sox 151.5 -0.1
Nationals 96 Braves 128 +0.1
Rockies 126 Giants 64.5 +0.1
If winner is:HomeTieAway
Week of 8/26100.0*Lottery seed
Rockies vs Diamondbacks+2.0*-0.0-2.0

* A starred number could be exactly 0 or just really small. The simulation did not run long enough to know.

What If

100100100100100100100100100100100100100100100100100100100100100100100100
If finish:Chance will finish season at seed
TWW-L-T123456789101112131415161718192021222324
111-0-0100
10.50-0-15050
100-1-010000
Total:505000