Skip to content

地区優勝とワイルドカード進出の確定を順位表に表示 - #59

Merged
shin4488 merged 1 commit into
masterfrom
codex/show-clinched-standings
Sep 27, 2026
Merged

shin4488 merged 1 commit into
masterfrom
codex/show-clinched-standings

Conversation

@shin4488

Copy link
Copy Markdown
Owner

概要

  • SportsDataIO の ClinchedDivision と ClinchedWildCard を順位データに取り込み、確定したチームの勝敗の後に地区順位では 🏆、ワイルドカード順位では ✅ を表示します。
  • フラグが false・null・欠落の場合は確定表示を付けません。ワイルドカードの --- は従来どおり暫定圏内と圏外の境目です。
  • README に表示の意味を追記しました。

動作確認

  • dotnet build MlbBot.sln --no-restore -m:1 -p:UseSharedCompilation=false:成功
  • dotnet test MlbBot.sln --no-restore -m:1 -p:UseSharedCompilation=false:237件成功、実投稿を伴う手動テスト1件は既定どおりSkip
  • dotnet format MlbBot.sln --no-restore と --verify-no-changes:成功
  • dotnet run --project TwitterMlbBot -- --dry-run:成功。SportsDataIO の確定フラグと MLB公式順位表の表示も照合済み
  • ステージ対象6ファイルに対する gitleaks・git-secrets と git diff --check:成功

ドライラン出力(2026年9月26日分):

info: TwitterMlbBot.Mlb.MlbStatsApiClient[0] Season calendar fetched: 2026 regular season ends 09/27/2026
info: TwitterMlbBot.Mlb.MlbApiClient[0] MLB standings fetched: 30 teams for 2026
----- dry-run: 以下はツイートされません(170文字) -----
9/26 ⚾ AL East ⚾ W-L (GB)

1. Rays 98-63 🏆
2. Yankees 93-68 (5)
3. Red Sox 87-74 (11)
4. Orioles 79-82 (19)
5. Blue Jays 78-83 (20)

#MLB #RaysUp #Rays #RepBX #Yankees
----- dry-run: 以下はツイートされません(186文字) -----
9/26 ⚾ NL East ⚾ W-L (GB)

1. Braves 94-67 🏆
2. Phillies 87-74 (7)
3. Marlins 79-82 (15)
4. Nationals 76-85 (18)
5. Mets 74-87 (20)

#MLB #BravesCountry #Braves #RingTheBell #Phillies
info: TwitterMlbBot.BotRunner[0] Tweets sent: 2/2
info: TwitterMlbBot.Mlb.MlbStatsApiClient[0] Season calendar fetched: 2026 regular season ends 09/27/2026
info: TwitterMlbBot.Mlb.MlbApiClient[0] MLB standings fetched: 30 teams for 2026
----- dry-run: 以下はツイートされません(175文字) -----
9/26 ⚾ AL Central ⚾ W-L (GB)

1. Guardians 85-76 🏆
2. White Sox 83-78 (2)
3. Tigers 76-85 (9)
4. Twins 76-85 (9)
5. Royals 68-93 (17)

#MLB #GuardsBall #Guardians #WhiteSox
----- dry-run: 以下はツイートされません(171文字) -----
9/26 ⚾ NL Central ⚾ W-L (GB)

1. Brewers 102-59 🏆
2. Cubs 88-73 (14)
3. Pirates 81-80 (21)
4. Cardinals 77-84 (25)
5. Reds 75-86 (27)

#MLB #ThisIsMyCrew #Brewers #Cubs
info: TwitterMlbBot.BotRunner[0] Tweets sent: 2/2
info: TwitterMlbBot.Mlb.MlbStatsApiClient[0] Season calendar fetched: 2026 regular season ends 09/27/2026
info: TwitterMlbBot.Mlb.MlbApiClient[0] MLB standings fetched: 30 teams for 2026
----- dry-run: 以下はツイートされません(180文字) -----
9/26 ⚾ AL West ⚾ W-L (GB)

1. Rangers 80-81
2. Astros 80-81 (0)
3. Mariners 75-86 (5)
4. Athletics 64-97 (16)
5. Angels 62-99 (18)

#MLB #AllForTX #Rangers #ChaseTheFight #Astros
----- dry-run: 以下はツイートされません(178文字) -----
9/26 ⚾ NL West ⚾ W-L (GB)

1. Dodgers 99-62 🏆
2. Padres 90-71 (9)
3. Diamondbacks 86-75 (13)
4. Giants 65-96 (34)
5. Rockies 58-103 (41)

#MLB #Dodgers #ForTheFaithful #Padres
----- dry-run: 以下はツイートされません(205文字) -----
9/26 ⚾ AL Wild Card ⚾ W-L (GB)

1. Yankees 93-68 ✅
2. Red Sox 87-74 ✅
3. White Sox 83-78 ✅
---
4. Astros 80-81 (3)
5. Orioles 79-82 (4)
6. Blue Jays 78-83 (5)

#MLB #RepBX #Yankees #DirtyWater #RedSox
----- dry-run: 以下はツイートされません(195文字) -----
9/26 ⚾ NL Wild Card ⚾ W-L (GB)

1. Padres 90-71 ✅
2. Cubs 88-73 ✅
3. Phillies 87-74
---
4. Diamondbacks 86-75 (1)
5. Pirates 81-80 (6)
6. Marlins 79-82 (8)

#MLB #ForTheFaithful #Padres #Cubs
info: TwitterMlbBot.BotRunner[0] Tweets sent: 4/4

注意

  • 同率チームの表示順は既存の勝率・勝ち数順です。上記のAL西地区では、MLB公式のタイブレーク順位と異なります。このPRでは順位付けの規則は変更していません。
  • masterへのマージは本番Lambdaへの自動デプロイになることを理解している
  • シークレット(APIキー等)を含んでいない

@shin4488
shin4488 merged commit 4267117 into master Sep 27, 2026
4 checks passed
@shin4488
shin4488 deleted the codex/show-clinched-standings branch September 27, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant