Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect mapping of flex safe duration offset #6059

Merged

Conversation

leonardehrenfried
Copy link
Member

Summary

During #5796 I made a mistake by interpreting the safe_duration_offset as a number of seconds. The spec clearly states though that it's a number of minutes.

Issue

MobilityData/gtfs-flex#79

Unit tests

Updated.

@leonardehrenfried leonardehrenfried requested a review from a team as a code owner September 12, 2024 08:58
Copy link

codecov bot commented Sep 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.78%. Comparing base (eccee39) to head (b40ea4b).
Report is 15 commits behind head on dev-2.x.

Additional details and impacted files
@@            Coverage Diff             @@
##             dev-2.x    #6059   +/-   ##
==========================================
  Coverage      69.78%   69.78%           
  Complexity     17359    17359           
==========================================
  Files           1962     1962           
  Lines          74359    74359           
  Branches        7624     7624           
==========================================
+ Hits           51893    51895    +2     
+ Misses         19823    19821    -2     
  Partials        2643     2643           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@leonardehrenfried leonardehrenfried added the IBI Developed by or important for IBI Group label Sep 12, 2024
@leonardehrenfried leonardehrenfried changed the title Fix incorrect flex safe duration offset Fix incorrect mapping of flex safe duration offset Sep 12, 2024
@leonardehrenfried leonardehrenfried merged commit 43a136e into opentripplanner:dev-2.x Sep 16, 2024
5 checks passed
t2gran pushed a commit that referenced this pull request Sep 16, 2024
@leonardehrenfried leonardehrenfried deleted the fix-flex-safe-duration branch September 16, 2024 14:43
@t2gran t2gran added this to the 2.6 milestone Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IBI Developed by or important for IBI Group
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants