Skip to content

feat: Simplify fares and transfer logic for 2026 fall fares changes - #3463

Draft
joshlarson wants to merge 7 commits into
mainfrom
jdl/feat/2026-fall-fares-changes
Draft

feat: Simplify fares and transfer logic for 2026 fall fares changes#3463
joshlarson wants to merge 7 commits into
mainfrom
jdl/feat/2026-fall-fares-changes

Conversation

@joshlarson

@joshlarson joshlarson commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Scope

Asana Ticket: 💸 🗺️ Update Trip Planner fares to reflect fare pilot starting 9/1
Press Release: Governor Healey Announces New MBTA Affordability Initiatives, Extends Commuter Rail Savings Through Fall

Implementation

Note

🤖 This PR was entirely generated with AI. The first several commits have (robot) in the prefix - those were AI-generated; the ones without

This was the prompt I used for the second commit, which is the meat of the actual work:

Subway-to-subway transfers should now be free. Transfers should no longer be limited to two transfers. Transfers between ferry and subway/bus should be treated the same as transfers between subway/bus and subway/bus. The end result is that trips that include ferry, subway, and bus should only include the highest-priced service of those legs

Screenshots

Screenshot 2026-09-01 at 10 13 28 AM

Trips from Alewife to Charlestown (Navy Yard)


Screenshot 2026-09-01 at 10 30 52 AM

Trips from Alewife to Orient Heights

How to test

Look at the various trips linked in this PR and in the associated ticket.. Find other ones that involve subway -> subway station-exiting transfers (if you can).

Note

The A/C's also include a mention of reducing express bus fares from $4.25 to $1.70. That was actually accomplished in this PR, which you can validate by looking at this trip in dev where it shows the correct $1.70 fare. It's not reflected in prod yet, because we haven't deployed since ☝️ PR was merged.

Screenshot 2026-09-01 at 10 33 26 AM

AI Prompt: Of the tests in transfer_test and fares_test, check to see
whether any of them are duplicates of each other, now that the overall
logic is simpler
@joshlarson joshlarson added the dev-blue Deploy to dev-blue label Sep 1, 2026
@joshlarson joshlarson removed the dev-blue Deploy to dev-blue label Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant