The two versions here have the home & away flipped but also the teams within each division are mixed up such that the two are not simply mirror images of each other.
Code:
#
# 24 team schedule, 84 games
# Designed for the following configuration:
# 2 subleagues, each with 2 divisions of 6 teams
#
#
# 12 games against 5 other teams in division (6H/6A)
# 4 games against 6 teams in other division (4H or 4A)
# no interleague games
#
#
# Some times involve only division games
# Otherwise have two teams from each division playing interdivision
# with others playing intradivision
#
# No homestands or roadtrips longer than 13 games
#
# Teams play as many as 20 consecutive days without offday
#
# All teams play 6-7 weekend series at home
#
# All weekday game times set at 7:05pm
# Saturday game times 30% 1:05pm, 20% 4:05pm, 50% 7:05pm
# Sunday game times 50% 1:05pm, 30% 4:05pm, 20% 7:05pm
# Except 1:05pm game time for all getaway days for both teams
#
# Season begins first Monday of June
# Season ends first Sunday on or after Aug30
# Season spans 91 days
#
# No All-Star Game defined
#
# Built 2022-11-01
#