Skip to content
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

Controlling the size of groups in a round robin stage #187

Open
Qanpi opened this issue Nov 1, 2023 · 4 comments
Open

Controlling the size of groups in a round robin stage #187

Qanpi opened this issue Nov 1, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@Qanpi
Copy link

Qanpi commented Nov 1, 2023

Hey!

This is a little urgent, since I'm in the middle of running a tournament and have just stumbled into this issue.

I'm trying to divide 14 participants into 4 groups for a round robin stage, like so: 4x4x3x3. However, no matter the seed ordering, I always end up with the following configuration instead: 4x4x4x2. As far as I know, the library does not expose any control over individual group sizes beyond that.

I wouldn't mind writing the code myself, but I'm wondering how feasible that patch would be. From what I gathered, this can't be fixed by adding a custom seed ordering, so I would have to change the group creation mechanism. Would that break something in the process, or is this a theoretical possibility?

Thanks

@Qanpi
Copy link
Author

Qanpi commented Nov 1, 2023

Alternatively, could I manually adjust the group_id of a match in the database?

@Drarig29
Copy link
Owner

Drarig29 commented Nov 1, 2023

Yes you can change the group_id as you wish

@Drarig29 Drarig29 added the enhancement New feature or request label Nov 1, 2023
@Qanpi
Copy link
Author

Qanpi commented Nov 2, 2023

Thank you for the quick answer.

In case others face a similar issue, a workaround is to manually change the group_id of several matches in one of the four-player groups to the two-player group. I also had to change the id's of opponents (ParticipantResult) and finally delete one extra match that was generated for the previously four-player group.

@laukaichung
Copy link

I hope this feature can get implemented soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants