Skip to content

Refactor match result handling and enhance tournament logic - #13

Merged
pangwangshu merged 1 commit into
mainfrom
feature/knockout
Jul 3, 2026
Merged

pangwangshu merged 1 commit into
mainfrom
feature/knockout

Conversation

@pangwangshu

Copy link
Copy Markdown
Owner
  • Updated the match result state to include winner and loser team attributes.
  • Modified the MatchupPredictor to load winner and loser teams from match data.
  • Enhanced TournamentStructureResolver to resolve winner and loser slots based on match results.
  • Added utility methods in WorldRankingTournamentSimulator to handle known match pairs.
  • Updated tests to verify the correct handling of match results, including penalty outcomes and known fixtures.
  • Adjusted the logic for predicting matchup candidates to respect known match results.

- Updated the match result state to include winner and loser team attributes.
- Modified the MatchupPredictor to load winner and loser teams from match data.
- Enhanced TournamentStructureResolver to resolve winner and loser slots based on match results.
- Added utility methods in WorldRankingTournamentSimulator to handle known match pairs.
- Updated tests to verify the correct handling of match results, including penalty outcomes and known fixtures.
- Adjusted the logic for predicting matchup candidates to respect known match results.
@pangwangshu
pangwangshu merged commit 02fad98 into main Jul 3, 2026
2 checks passed
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