Analyzes sports league schedules to extract statistical insights about team schedules, including back-to-back games, home/away patterns, travel analysis, or schedule density. Processes schedule data from spreadsheets or structured sources, identifies consecutive game patterns, categorizes them by location configurations (HA, AH, HH, AA), and generates team-by-team breakdowns.
google_sheet-get_sheet_data tool to fetch the raw data. Be prepared for large datasets; the tool may return an "overlong" output saved to a file.parse_schedule.py script. It will:
Date, Visitor, and Home fields from each row (skipping the header).H for Home, A for Away).analyze_back_to_back.py script. It will:
Team,HA,AH,HH,AA,Total. Populate rows for all teams in alphabetical order.After completing the analysis, offer a concise verbal summary to the user. Highlight: