The primary cause of this is that bots are being promoted from bot-filled leagues in D.IV. As D.III has become more contested, more non-bot teams are being relegated, with some of these going into the bot-filled leagues at the high end of D.IV. These relegated teams will either get bored and quit, in which case, their league will have another bot promote; or they will get bored but still win their league playoff and promote back to D.III, but possibly having an active team relegated into their place to battle 15 bots.
Meanwhile the bots that are promoted into D.III are instantly relegated back into D.IV, but a different league. Since these leagues are are usually low-number, these bots are replaced sooner, leaving more of the high-numbered leagues with one team.
One solution is to integrate the bot cleanup with the regular pro/relegation. The key principle is that promotion and relegation should be determined on a relative rather than a absolute basis. That is, a team should not be promoted unless it is more deserving of the place in the higher division than the team that is being relegated. In particular, a team with a 0-22 owner who logs in every few weeks is more deserving than any bot, even one that is 22-0 and sweeps its playoffs.
The basic rules:
1) Any active team may promote to replace a bot;
2) No bot may promote.
3) An active playoff winner may swap places with an active 8th place team, or a 6th or 7th place team that loses its relegation playoff.
4) An active first place team that does not win its playoffs may swap places with an active 8th place team, or a 6th or 7th place team that loses its relegation playoff.
5) An active 2nd place team that does not win its playoffs may swap places with an active 8th place team, or a 7th place team that loses its relegation playoff.
6) An active 3rd place team that does not win its playoffs may swap places with an active 8th place team.
Rules 4, 5, and 6 only come into play when there are relatively few leagues in the lower division, and open up some promotion opportunities that are currently taken by bots.
Implementing Pro/Rel. This is done on a pair of divisions at a time, begining with the top 2:
Rank the active teams based on (0) Division that team finished in; (1) Playoff winner or not; (2) League Finish; (3) League Wins; (4) League point differential; (5) League points scored; (6) some ultimate tie-breaker. Rank all bots below all active teams. The ranking is fairly arbitrary, but perhaps could use place, so that the top promoting teams tend to get distributed across all leagues.
Then go through the two rankings, beginning with the lowest ranked team in the upper division, and highest ranked team in the lower division. Determining whether the two teams can be swapped using the rules above. If they can not, pro/rel between the two divisions is complete. Otherwise, swap the two teams and continue with the next ranked pair of teams (or if all teams in the upper division have been relegated.
Usually, the lowest ranked teams in the upper division will be bots, so the first swaps will swap bots with active playoff winners. If there are lot of bots in the upper division, the swapping may continue with bots being swapped with active teams with good regular season performances. Once all the bots are relegated, then we check to see if their are any active teams that finished 8th or lost their relegation playoff that may swap places with an active team in the lower division.
After completing the first two divisions, proceed to the next pair of divisions II and III. The teams in D.II should be re-ranked. This will move any active teams that relegated from D.I to D.II to the end of the relegation list so they won't be dropped further, and any bots toward the front of the relegation list so that they can rlegate further divisions.
Last edited by jimrtex at 5/19/2008 6:49:50 PM