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: repair completely overlapping trips in ENTD #247

Merged
merged 2 commits into from
Jul 5, 2024

Conversation

sebhoerl
Copy link
Contributor

@sebhoerl sebhoerl commented Jul 5, 2024

The cleaning logic for ENTD covered trips that are entirely contained in another trip along the chain of a person. Those trips (actually, there is only one in the whole data set) were deleted so far. However, this causes a problem when checking for the consistency of activity types along the chain later on. So far, we didn't notice this, because we never used the entire ENTD, but only filtered data sets for individual sets of departments. The problem is now fixed by squeezing the first trip to duration zero and setting departure time and arrival time to the departure time of the following trip.

image

@sebhoerl sebhoerl enabled auto-merge (squash) July 5, 2024 16:17
@sebhoerl sebhoerl merged commit 5e98fbe into develop Jul 5, 2024
2 checks passed
@sebhoerl sebhoerl deleted the fix/hts-repair-covered-trip branch July 5, 2024 16:40
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.

1 participant