Closed pedrohba1 closed 2 years ago
As mentioned in #9 I'm working on v2, which includes a rewrite of the Swiss pairing algorithm. Obviously any detail you can provide would be helpful.
Do you have some spare time for us to explain the problem? Maybe it can help you on v2.
By all means! I'm modeling the v2 Swiss pairing algorithm more after the algorithm used for chess tournaments, in the ways that I can, so it should be better overall. But all information is helpful.
Can we talk on email? I think it actually should be easier if we make a call and we show it to you.
Would Discord work?
Sure!
slashinfty#6805
sent a request.
While using the lib I found out that when a player is dropped after a result is set, pairing may fail in subsequent rounds.
For example, after the code below executes, a round after will have not only wrong pairings, but it will pair the same player against himself sometimes. It's important to notice that this happens when recreating a tourney with
reloadTournament
and the type of tournament is "swiss".I'm still looking into replicating this problem right now. I can further explicate how we ended up in this problem, but it is quite a long (and visual) explanation.