Pair generator
This page explains how Fair Team Maker shuffles names, assigns teams, rerolls single squads, and what it does not optimize.
Shuffle once per generation
Generate teams and Reroll all run Fisher–Yates shuffle on the participant array using crypto.getRandomValues.
The shuffled order is then distributed round-robin into the requested number of teams, which may yield unequal sizes when headcount does not divide evenly.
Uneven groups implementation
Example: seven names and Number of teams set to 3. After shuffle, names fill team 1, team 2, team 3, team 1, team 2, team 3, team 1—producing 3-2-2 counts. The UI warning appears when remainders exist; facilitators assign the larger squad extra rest or a bye by house rules.
Team size mode computes how many squads fit the target size, then applies the same round-robin—odd leftovers land on the final teams, not in a hidden skill tier.
Reroll one team reshuffles only that squad’s drawer from names not already seated elsewhere; it does not rebalance counts automatically.
Team count versus target size
Number of teams mode calls splitIntoTeamCount with your Teams value.
Team size mode calls splitByTeamSize to derive how many teams are needed for the Target team size, again allowing remainder players on some squads.
Reroll one team
rerollTeam keeps other teams fixed and draws replacement members from the full participant list excluding names already placed on other teams.
This is still random, not skill-aware.
Pair preview mini-tool
pairGenerator shuffles for partner rows in the preview only; it does not mutate stored team results or the textarea.
An odd leftover name may appear as a solo row in the pair list.
Shuffle and assignment
Names are shuffled with crypto-backed Fisher–Yates, then sliced into teams according to the selected count or size mode.
Reroll runs a new shuffle; prior teams are not partially preserved unless the operator manually edits the list.
Equity framing for facilitators
Random splits reduce bias but do not guarantee skill balance; coaches should still adjust for injuries or accessibility needs after the initial split.
Document who ran the generator if disputes arise; the tool does not sign or timestamp results.
Local storage and shared devices
Participant text and last results may reload from localStorage on the same browser profile.
Shared gym laptops should paste a fresh roster each session and regenerate before players read old teams.
Nothing uploads to league software; captains must manually sync with external registration systems.
Audit expectations
The tool does not timestamp or sign outputs for draft leagues.
Facilitators who need audit trails should Copy teams into dated chat logs or print immediately.
Disputes about randomness should reference the methodology shuffle steps, not gut feelings about luck.
Round-robin assignment detail
After Fisher–Yates shuffle completes, names assign in round-robin order into the requested team count, which preserves equal expected load per team when sizes differ only because of indivisible headcount.
Team size mode derives squad count by ceiling division; the remainder players land on the earliest teams in rotation unless settings change—facilitators should read the on-screen warning for the exact sizes.
Duplicate lines in the participant textarea may collapse depending on paste cleanup; coaches should scan for duplicate first names before generating.
Reroll pool mechanics
Single-team reroll draws replacements from the full participant list minus names already seated on other teams, so a player cannot appear twice across squads after reroll.
If reroll fails, verify the textarea still lists every assigned player; missing names shrink the pool and can trigger errors.
Reroll remains uniformly random among eligible names—no weighting by position or skill tags because those fields do not exist in the tool.
Facilitator communication
Announce that results are not stored in the cloud before parents ask where rosters live.
When printing, margins may clip long names; abbreviate on paper if needed while keeping full names in the digital textarea.
For multi-week leagues, export Copy teams output each week; the app does not maintain season history.