How are these numbers calculated?

Big Games

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

Week of 6/30100.0*Average seed
Mets 186 Red Sox 237 -0.1
Rangers 290 Brewers 266 +0.1
If winner is:HomeTieAway
Week of 7/7100.0*Average seed
Astros vs Mets-0.1+0.0+0.1
Twins vs Brewers+0.1+0.0-0.1

What If

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

100100100100100100100100100100100100
If finish:Chance inChance will finish regular season at seed
TWW-L-Tplayoffs123456789101112Count
87-0-0Out012483916,545
7.56-0-1Out238594,601
76-1-0Out118810113,899
5-0-2Out01882620
6.55-1-1Out0891027,763
4-0-3Out89239
65-2-0Out2953342,382
4-1-2Out29622,874
3-0-4Out1003
5.54-2-1Out194569,238
3-1-3Out1972162
54-3-0Out08515570,720
3-2-2Out87135,759
2-1-4Out1004
4.53-3-1Out772392,612
2-2-3Out7129222
43-4-0Out5842570,411
2-3-2Out60405,768
1-2-4Out71297
3.52-4-1Out455569,240
1-3-3Out4753137
32-5-0Out2773342,403
1-4-2Out25752,815
2.51-5-1Out168427,748
0-4-3Out217939
21-6-0Out694114,353
0-5-2Out496544
1.50-6-1Out2984,630
10-7-0Out10016,366
Total:Out00265332,401,904
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 6/30100.0*Lottery seed
Mets 186 Red Sox 237 +0.4
Mariners 198.5 Pirates 288.5 -0.1
Tigers 180 Giants 233 -0.1
Rangers 290 Brewers 266 -0.1
Indians 225.5 Diamondbacks 222.5 +0.0
Braves 268.5 Rays 207.5 -0.0
If winner is:HomeTieAway
Week of 7/7100.0*Lottery seed
Astros vs Mets+0.3+0.3-0.3
Tigers vs Cubs+0.1-0.1-0.1
Braves vs Mariners-0.1-0.1+0.1
Twins vs Brewers-0.1-0.1+0.1
Rays vs Dodgers+0.0-0.1-0.0

What If

100100100100100100100100100100100100100100100100100100100100100100100100
If finish:Chance will finish season at seed
TWW-L-T123456789101112131415161718192021222324
87-0-001927392130
7.56-0-10215423380
76-1-00215423380
5-0-2013393710
6.55-1-11123939100
4-0-3135631
65-2-001123939100
4-1-2011144413
3-0-4100
5.54-2-1011143413
3-1-32196514
54-3-0011143414
3-2-201176418
2-1-47525
4.53-3-101176121
2-2-344550
43-4-001165924
2-3-2024751
1-2-4100
3.52-4-1024255
1-3-31882
32-5-00023959
1-4-21783
2.51-5-101584
0-4-3595
21-6-001288
0-5-2397
1.50-6-1298
10-7-0199
Total:00001411233724