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

Bug at smooth_temp_ends in jasmine #280

Merged
merged 3 commits into from
Dec 19, 2024
Merged

Conversation

GeorgeEfstathiadis
Copy link
Collaborator

Closes #263

In GPS summary measures we smooth out the ends of a trajectory to be within a given day. This can mean either expanding or shrinking the time range (start and end points) to match the start and end of a day. This bug occurs when we expand the time range, but the start or end points we expand are marked as observed, but if that's the case they should be labelled as imputed, since the expansion is no longer observed.

This is identified by checking whether p0 or p1 are larger than 1, thus indicating that the time range is expanded and not shrunk.

@GeorgeEfstathiadis GeorgeEfstathiadis added the bug Something isn't working label Dec 19, 2024
Copy link
Member

@hackdna hackdna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@hackdna hackdna merged commit cd554b9 into develop Dec 19, 2024
4 checks passed
@hackdna hackdna deleted the jasmine-smooth_ends_bug branch December 19, 2024 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document: Don't understand the time unit of summary statistics
2 participants