Skip to content

E023 issue wrongly raised for DUPLICATED trips #187

@laurentg

Description

@laurentg

Summary:

E023 error (start_time does not match GTFS initial arrival_time) is wrongly raised for schedule_relationship=DUPLICATED trips.

Steps to reproduce:

Validate a GTFS-RT with a schedule_relationship=DUPLICATED trip, linked to a trip where the start time does not match RT.

Expected behavior:

Ignore E023 for DUPLICATED trips.

Observed behavior:

E023 error is raised. Example of live data:

trip start_time does not match first GTFS arrival_time [E023]
For normal scheduled trips (i.e., not defined in frequencies.txt), the GTFS-realtime trip start_time must match the first GTFS arrival_time in stop_times.txt for this trip

  • GTFS-rt trip_id 268439313_27 start_time is 08:18:00 and GTFS initial arrival_time is 05:00:01 - times do not match
    

Platform:

N/A

Relevant section of the code is TripDescriptorValidator::checkE023. The code never checks for duplicated schedule_relationship.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions