8000 During leagues match reports we do not update standings unless there are no open matches · Issue #913 · PennyDreadfulMTG/gatherling · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

During leagues match reports we do not update standings unless there are no open matches #913

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bakert opened this issue Mar 27, 2025 · 1 comment

Comments

@bakert
Copy link
Member
bakert commented Mar 27, 2025

If there is an unconfirmed match report the reporting a match (even if verified) will not update the standings. Matchup::unresolvedMatchesCheck($subevent, $round) must return 0 otherwise the result of the reported/confirmed/verified match will be left as 'P' (pending). When all matches are closed out this does somehow update all the 'P' matches to the right state.

Further notes:

We add the match after it being reported, and "verify" it, but we don't update the result from 'P'
Then we call some other part of the code that updates the 'P' to either 'A' or 'B' depending on who won
But that part of the code says:
$matches_remaining = Matchup::unresolvedMatchesCheck($subevent, $round);

    if ($matches_remaining > 0) {
        // Nothing to do yet
        return;
    } else {
  • the update to P happens here -
    so essentially standings will never be recalculated correctly as long as there is a partially "open" match
    This code of course all written before leagues were a thing and the person writing it had tournaments in mind where you don't update the standings and do the next pairings until all the results are in
    So for leagues we should just trust the match report of whoever reports first and recalulcate standings every time? Or does a mod have to confirm? Do we need to change the behavior?
@bakert bakert changed the title During leagues match reports to do not update standings unless the are no open matches During leagues match reports we do not update standings unless the are no open matches Mar 29, 2025
@bakert
Copy link
Member Author
bakert commented Apr 2, 2025

Discussing this with Iron_lungs he does get people asking why the standings haven't updated with their matches. So I guess for leagues specifically we should update with each confirmed result even if there are partial results open. But probably not outside of leagues where that would give misleading hints about tiebreakers and generally be confusing.

@bakert bakert changed the title During leagues match reports we do not update standings unless the are no open matches During leagues match reports we do not update standings unless there are no open matches Apr 14, 2025
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

No branches or pull requests

1 participant
0