Overview
The bracket progress display sometimes shows incorrect round numbers because max_round is derived from the highest observed roundNum across current match data rather than using the totalRounds field already returned by the Matcherino API.
Steps to Reproduce Bug
Impact
Staff see incorrect round numbers and rounds remaining in the bracket progress embed, making it harder to track tournament progress accurately.
Notes
Each match object already returns a totalRounds field from the Matcherino API which is never used. The fix should replace the derived max_round calculation at matcherino.py:587 with totalRounds taken directly from the match data. The current derivation (max(resolved_round) across all matches) is unreliable when rounds haven't been fully generated yet.
Acceptance Criteria
Branch
Overview
The bracket progress display sometimes shows incorrect round numbers because
max_roundis derived from the highest observedroundNumacross current match data rather than using thetotalRoundsfield already returned by the Matcherino API.Steps to Reproduce Bug
Impact
Staff see incorrect round numbers and rounds remaining in the bracket progress embed, making it harder to track tournament progress accurately.
Notes
Each match object already returns a
totalRoundsfield from the Matcherino API which is never used. The fix should replace the derivedmax_roundcalculation atmatcherino.py:587withtotalRoundstaken directly from the match data. The current derivation (max(resolved_round)across all matches) is unreliable when rounds haven't been fully generated yet.Acceptance Criteria
max_roundis sourced fromtotalRoundson the match object instead of being derivedBranch