Feat/realtime tripupdates builder eta estimator subissue 16#14
Open
jloria2703 wants to merge 5 commits intomainfrom
Open
Feat/realtime tripupdates builder eta estimator subissue 16#14jloria2703 wants to merge 5 commits intomainfrom
jloria2703 wants to merge 5 commits intomainfrom
Conversation
…g gtfs-realtime-bindings
…hiclePositions, and Alerts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sub-issue #16 — Build TripUpdates with ETA Module
Work focused on implementing the ETA-aware TripUpdates builder using a simulated Bytewax-style flow.
The goal was to construct
TripUpdateentities enriched with Estimated Time of Arrival (ETA) predictions, while still working with synthetic data instead of real database-backed journeys.To validate the dataflow before having real
Journey/StopTimesmodels wired in, several helper files were created:fake_stop_times.py: generates synthetic stops with deterministic arrival times.stop_times.py: provides the helper functionestimate_stop_times()that returns predefined ETA values.trip_update_fixture.json: acts as a synthetic input fixture to feedbuild_trip_updates_bytewax()when there are no realJourneyorStopTimesobjects available.Execution
The module can be executed interactively through the Django shell using the following commands: