CTF-505: Team Size Limits¶
Statement¶
The system should support configuring a maximum team size per event. The system shall reject join attempts when a team is at capacity. The minimum team size shall be 1 (solo in team mode). The maximum shall be configurable by organizers with no hard-coded upper limit. A value of 0 or null shall mean unlimited team size.
Rationale¶
Team size limits ensure competitive balance, a team of 20 has an unfair advantage over a team of 3. For Shifter events, organizers may want to enforce balanced teams of 3-5 to ensure everyone participates rather than one expert carrying a large team. (CTFd supports team size configuration.)
Traceability¶
- IMPLEMENTS → CODE_FILE
shifter/shifter_platform/ctf/models/(CTFEvent.team_size_limit field and CTFTeam.is_full property) - TESTS → TEST
shifter/shifter_platform/tests/ctf/test_models.py(TestCTFTeamModel.test_team_is_full - verifies is_full at capacity) - DOCUMENTS → GITHUB_ISSUE
Brad-Edwards/bigrae#648(CTF-505: Team Size Limits)