Made some adjustments to how interleague games are laid out to cut back on numbers of very short homestands/roadtrips, and expanded variations to balance the home/away also for the division matchups.
Code:
#
# 32 team schedule, 162 games
# Designed for the following configuration:
# 2 subleagues, each with 2 divisions of 8 teams
#
#
# 8-10 games against 7 other teams in division (3-7H/3-7A)
# 6 games against 8 other teams in subleague (3H/3A)
# 3 games against each team in one division of other subleague (3H or 3A)
#
# This is one of 4 sibling schedules with the same structure
# Across the four collectively each matchup is balanced in home/away games
#
# No homestands or roadtrips longer than 14 games
#
# Teams play as many as 20 consecutive days without offday
#
# All teams play 13-14 weekend series at home
#
# All weekday game times set at 7:05pm
# Saturday game times 50%-1:05pm, 20%-4:05pm, 30%-7:05pm
# Sunday game times 60%-1:05pm, 25%-4:05pm, 15%-7:05pm
# Exceptions 1:05pm getaway days (where both teams play elsewhere next day)
#
# Season begins first Friday on or after March 29
# Season ends late September/early October
# Season spans 185 days
#
# All-Star Game first Tuesday after July 9 (day 103)
#
# Built 2025-12-20
#