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

Assert that dates are sorted chronologically #121

Merged
merged 1 commit into from
Feb 14, 2025
Merged

Assert that dates are sorted chronologically #121

merged 1 commit into from
Feb 14, 2025

Conversation

eschrom
Copy link
Collaborator

@eschrom eschrom commented Feb 13, 2025

Super small PR here - just a few lines! Dates (the time_end column) is already sorted chronologically before any operations (e.g. intervals between dates, days since rollout, etc.) are applied to it. I've just added a few assert statements to check this.

This will close #43

@eschrom eschrom requested a review from Fuhan-Yang February 13, 2025 18:38
Copy link
Contributor

@Fuhan-Yang Fuhan-Yang left a comment

Choose a reason for hiding this comment

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

This looks good to me, thanks Ed!

@eschrom eschrom merged commit 9004441 into main Feb 14, 2025
2 checks passed
@eschrom eschrom deleted the ecs_datesort branch February 14, 2025 19:56
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.

Check that UptakeData rows are chronologically ordered
2 participants