Skip to content

Conversation

@joshlarson
Copy link
Contributor

@joshlarson joshlarson commented Dec 23, 2025

This fixes an issue present in Ye Olde Schedulle Finderre, as well as previous instances of this, where commuter rail trips would only be endowed with predictions for their first stop until they actually pulled out of the station, like 👇.

Screenshot 2025-12-22 at 2 12 35 PM

Now, instead of checking only schedules or only predictions, we check predicted_schedules which already has the schedules and predictions stitched together, in order to fallback to schedules when predictions are unavailable, even within a single trip:

Screenshot 2025-12-23 at 10 41 51 AM

(Left: SF1.0 without the fix; Right: SF2.0 with the fix)


Asana Ticket: [SF/UD] CR: Use schedule data to fill in trip details when predictions are for a partial trip

@joshlarson joshlarson force-pushed the jdl/sf2.0/ud/cr-fancy-labels branch from a55dfbf to 8b0489a Compare December 23, 2025 20:52
@joshlarson joshlarson force-pushed the jdl/sf2.0/ud/refactor-predictions-schedules-fetching branch from 3703a0d to 247158b Compare December 24, 2025 16:27
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.

2 participants