Stats Based Team Generator
This is the thread for the Stats Based Team Generator!
This application builds complete, Showdown-importable teams for any format from Smogon's usage statistics, checks and counters data, teammate data, and Smogon analysis sets.
Examples
Gen 9 OU:
Champions VGC:
Gen 1 OU:
How does it work?
You pick a stats month, a format, and a rating cutoff. The application pulls the matching chaos stats file from Smogon, then builds a team out of it.
Every Pokémon in the file gets a set. If Smogon has a written analysis for it, the analysis set is used directly, otherwise the set is reconstructed from the usage data: most common ability, item, spread, Tera type, and the four highest-weighted moves. Move selection is item-aware, so a Choice user will not be handed a status move it cannot click, an Assault Vest user will not be handed Protect, and a Body Press set will pull in the defense boost that makes it work.
Each set is then read for what it actually does on a team: hazard setting, hazard removal, hazard preservation, speed control, positioning, spread pressure, board control, breaking, cleaning, pivoting, setup, status, item disruption, and weather or terrain. The team is assembled with a beam search that keeps the five best partial teams at every step, so it is not just stacking the six highest-usage Pokémon.
Teams are scored on usage, set confidence, teammate synergy from the stats file, role coverage, threat coverage from the checks and counters data, set-to-team fit, and duplicate-role penalties. Anything the team cannot answer gets flagged.
Format awareness
Singles and doubles are not scored with the same priorities. Singles weights hazards, removal, preservation, pivoting, and item disruption. Doubles weights speed control, positioning, spread pressure, and board control, and it enforces Item Clause where the format requires it. Trick Room teams are checked for slow attackers that actually benefit from the speed reversal, weather teams for setter-plus-abuser pairs, and Mega Stones for being not wildly distributed.
Six archetypes are available: Balanced, Offense, Bulky Offense, Stall, Weather, and Trick Room.
It gives me the team, but is it legal?
Every generated team is run through the real Showdown team validator via @pkmn/sim. If the format is supported, you get a legality verdict and the exact problems back. Any generation is one click away from a Showdown import.
What else can I do with it?
You can lock any Pokémon you want to keep and regenerate around it, or reroll a single slot and the generator will replace just that one while preserving the rest of the team. Every member comes with an explanation of why it was added. There is also a dark mode. :)
Disclaimer
In no way I claim the teams are perfect or meta teams, this was just a fun way for me to find a way to generate teams on the fly.
If you have suggestions to improve the team generation algorithm, go ahead!
Enough of it, how can I use it?
The website: https://teamgen.fulllifegames.com/
The source: https://github.com/FullLifeGames/StatsBasedTeamGenerator
This is the thread for the Stats Based Team Generator!
This application builds complete, Showdown-importable teams for any format from Smogon's usage statistics, checks and counters data, teammate data, and Smogon analysis sets.
Examples
Gen 9 OU:
Champions VGC:
Gen 1 OU:
How does it work?
You pick a stats month, a format, and a rating cutoff. The application pulls the matching chaos stats file from Smogon, then builds a team out of it.
Every Pokémon in the file gets a set. If Smogon has a written analysis for it, the analysis set is used directly, otherwise the set is reconstructed from the usage data: most common ability, item, spread, Tera type, and the four highest-weighted moves. Move selection is item-aware, so a Choice user will not be handed a status move it cannot click, an Assault Vest user will not be handed Protect, and a Body Press set will pull in the defense boost that makes it work.
Each set is then read for what it actually does on a team: hazard setting, hazard removal, hazard preservation, speed control, positioning, spread pressure, board control, breaking, cleaning, pivoting, setup, status, item disruption, and weather or terrain. The team is assembled with a beam search that keeps the five best partial teams at every step, so it is not just stacking the six highest-usage Pokémon.
Teams are scored on usage, set confidence, teammate synergy from the stats file, role coverage, threat coverage from the checks and counters data, set-to-team fit, and duplicate-role penalties. Anything the team cannot answer gets flagged.
Format awareness
Singles and doubles are not scored with the same priorities. Singles weights hazards, removal, preservation, pivoting, and item disruption. Doubles weights speed control, positioning, spread pressure, and board control, and it enforces Item Clause where the format requires it. Trick Room teams are checked for slow attackers that actually benefit from the speed reversal, weather teams for setter-plus-abuser pairs, and Mega Stones for being not wildly distributed.
Six archetypes are available: Balanced, Offense, Bulky Offense, Stall, Weather, and Trick Room.
It gives me the team, but is it legal?
Every generated team is run through the real Showdown team validator via @pkmn/sim. If the format is supported, you get a legality verdict and the exact problems back. Any generation is one click away from a Showdown import.
What else can I do with it?
You can lock any Pokémon you want to keep and regenerate around it, or reroll a single slot and the generator will replace just that one while preserving the rest of the team. Every member comes with an explanation of why it was added. There is also a dark mode. :)
Disclaimer
In no way I claim the teams are perfect or meta teams, this was just a fun way for me to find a way to generate teams on the fly.
If you have suggestions to improve the team generation algorithm, go ahead!
Enough of it, how can I use it?
The website: https://teamgen.fulllifegames.com/
The source: https://github.com/FullLifeGames/StatsBasedTeamGenerator
