Skip to content

Regenerate bus schedule for 2026 Spring: adjust times and flags#6

Merged
tiankaima merged 1 commit into
masterfrom
codex/update-school-bus-schedule
Mar 1, 2026
Merged

Regenerate bus schedule for 2026 Spring: adjust times and flags#6
tiankaima merged 1 commit into
masterfrom
codex/update-school-bus-schedule

Conversation

@tiankaima
Copy link
Copy Markdown
Member

Motivation

  • Update the bus schedules and metadata to reflect the 2026 spring semester timetable and new source link.
  • Apply several time adjustments and weekday/weekend flag changes for early departures across multiple routes.

Description

  • Modified schedule generation logic data in tools/bus_data_gen.py by changing departure times and boolean weekend flags for several RouteScheduleP entries (notably rsA, rsB, rsC, rsE, and others) and updated the message text and source url to the 2026 spring reference.
  • Regenerated the serialized schedule output at static/bus_data_v3.json, replacing the previous 2025 autumn data with the updated 2026 spring data.
  • Kept route and campus definitions intact while only altering schedule times, weekend/weekday inclusion flags, and the data message/url metadata.

Testing

  • Ran the generator with python tools/bus_data_gen.py to produce static/bus_data_v3.json, and the script executed successfully.
  • Validated the produced JSON by loading it with python -c "import json; json.load(open('static/bus_data_v3.json'))", which succeeded without errors.

Codex Task

Copilot AI review requested due to automatic review settings March 1, 2026 16:18
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the campus bus schedule dataset to the 2026 spring semester, adjusting a handful of departure times and weekend-inclusion flags, and regenerating the published JSON consumed by the app/site.

Changes:

  • Updated several RouteScheduleP entries (times + weekend flags) for routes A/B/C/E in tools/bus_data_gen.py.
  • Updated schedule metadata (message and url) to the 2026 spring reference.
  • Regenerated static/bus_data_v3.json to reflect the updated generator output.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
tools/bus_data_gen.py Adjusts schedule source data and updates 2026 spring message/source URL used for generation.
static/bus_data_v3.json Regenerated serialized bus schedule + metadata to match updated generator inputs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tiankaima tiankaima merged commit ba03dfc into master Mar 1, 2026
5 checks passed
@tiankaima tiankaima deleted the codex/update-school-bus-schedule branch March 1, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants