Problems with /Line/Route/Sequence 1/7/2023 to 31/12/2023

hi @nickp

Sorry - should have spotted the date was before yesterday.

So, you’ve spotted one of my pet peeves here! Essentially, we have to run our API data build as an entire build. All files at once. Monolithic I know…

To restore the 266, we had to fix the faulty file at source and rebuild the whole API dataset. For one route…

We are working on new architecture for doing this which will allow us to load individual routes or at least smaller subsets to the API.

But for now, we have to run our 90+ minute build and push it through our 180+ minute deployment pipeline to get a single route corrected.

Thanks,
James

@jamesevans
Not that it matters much but the same thing is done for the weekly bus WTT upload; every live file is recreated! In a typical week, about half of the recreated files have a slightly different file size. Not that I can talk; I do the same for the route-level landing pages on my bus WTT website!

1 Like

@jamesevans , I take your point about total dataset reload but, nevertheless, the data does change day on day. I take the output from /Line/Mode/{modes}/Route each day and check for change of created/modified, for expiry (i.e. no routeSection where validFrom>ValidTo includes current timestamp), and for change of data (i.e mismatch between previous and current routeSections). This throws up a number of routes on most days, which shows me that the data is being selectively amended , albeit without any update to dateModified.

Incidentally, I think your use of validTo needs tweaking. I notice, particularly on a Friday, a number of routes with a validTo timestamp of, say 20/10/2023 00:00:00, where the actual changes don’t appear until the following day. I think your timestamps should be using 23:59:59 for the time component of validTo.

Result of update dated 24/10/2023:

Lines restored: District, Piccadilly
Line deleted: 675 (maybe half-term)
Lines duplicated: B16, EL1, N137, N271

63/outbound: stop 490006382N - Clayton Road is not a passenger stop - driver changeover only
638/inbound split into stopping/non-stopping sections

Result of intermediate update on 30/10/2023:

Line deleted: 65, 675 (maybe half-term)
Lines duplicated: B16, EL1, N137, N271

63/outbound: stop 490006382N - Clayton Road is not a passenger stop - driver changeover only
638/inbound split into stopping/non-stopping sections

1 Like

Result of update dated 31/10/2023:

Lines restored: 65, N271
Line deleted: 675 (maybe half-term)
Lines duplicated: B16, EL1, H10, N137

63/outbound: stop 490006382N - Clayton Road is not a passenger stop - driver changeover only
638/inbound split into stopping/non-stopping sections

Hi @nickp

The 675 appears to have been start-dated incorrectly in the source system for schedules. This should appear on Monday automatically as there is a schedule loaded that starts on this day.

The 63 and 638 have been fixed and will appear when we release next week’s build.

thanks,
James

Thanks, @jamesevans

The school runs are back (but not until Tuesday?), which puts the 675 back in but doesn’t sort out the 638

Result of intermediate update on 7/11/2023:

Line restored: 675
Lines duplicated: B16, EL1, H10, N137

63/outbound: stop 490006382N - Clayton Road is not a passenger stop - driver changeover only
638/inbound split into stopping/non-stopping sections

1 Like

Thanks - we hope to address all of these issues in this week’s build. Hopefully that will be live either tomorrow or Thursday.

Result of update dated 8/11/2023:

Lines restored: 63, 638
Lines duplicated: B16, EL1, H10, N137

1 Like

Result of update dated 14/11/2023:

Lines duplicated: B16, District, EL1, H10, N137, Piccadilly

Result of intermediate update on 18/11/2023:

Line deleted: 453
Lines duplicated: B16, District, EL1, H10, N137, Piccadilly

Result of update dated 20/11/2023:

Line restored: SL1 (missed earlier duplication)
Line deleted: 453
Lines duplicated: B16, District, EL1, H10, N137, Piccadilly

hi @nickp

The 453 is now restored.

Thanks,
James

Hi @jamesevans , indeed

Result of update dated 22/11/2023:

Lines restored: 453, Piccadilly
Lines duplicated: B16, C10, District, EL1, H10, N2, N11, N38, N44, N136, N137

Result of intermediate update on 25/11/2023:

Line deleted: 698
Lines duplicated: B16, C10, District, EL1, H10, N2, N11, N38, N44, N136, N137

Hi @nickp

The 698 is back now. With school buses (i.e. no weekend service), old schedules end on the Friday and new schedules start on the Monday. Often, this will lead to an “interregnum” between the 2.

Thanks,
James

1 Like

Thanks @jamesevans, I won’t flag school buses disappearing over the weekend in future

Result of intermediate update on 27/11/2023:

Line restored: 698
Lines duplicated: B16, C10, District, EL1, H10, N2, N11, N38, N44, N136, N137

1 Like

Result of update dated 29/11/2023:

Lines duplicated: B16, C10, District, EL1, H10, N2, N11, N38, N44, N136, N137

Result of intermediate update on 4/12/2023:

Line deleted: 220

Lines duplicated: B16, C10, District, EL1, H10, N2, N11, N38, N44, N136, N137