Closed mmcdermott closed 6 months ago
The recent updates focus on enhancing the data handling capabilities in dataset_polars.py
. Key improvements include the introduction of the timedelta
import for better time calculations, refined logic for total observations, and advanced data aggregation techniques tailored to various window sizes. These changes aim to optimize the observation frequency calculations and provide more precise data analysis tools.
File Path | Summary of Changes |
---|---|
EventStream/.../dataset_polars.py |
Added timedelta import, refined observation frequency calculations, and introduced new aggregation functions for different window sizes. Adjusted data aggregation logic. |
tests/test_e2e_runs.py |
Updated feature_selector in make_command function to include additional window sizes "-1h" and "-FULL" in the dictionary. |
tests/test_e2e_runs.py (8)
5-5: Module level import not at top of file --- 6-6: Module level import not at top of file --- 7-7: Module level import not at top of file --- 8-8: Module level import not at top of file --- 9-9: Module level import not at top of file --- 10-10: Module level import not at top of file --- 11-11: Module level import not at top of file --- 13-13: Module level import not at top of file
tests/test_e2e_runs.py (1)
`201-204`: The addition of new window sizes "-1h" and "-FULL" to the `feature_selector` dictionary aligns with the PR objectives and enhances the flexibility of feature selection based on different time windows.
Attention: Patch coverage is 66.66667%
with 4 lines
in your changes are missing coverage. Please review.
Project coverage is 86.56%. Comparing base (
2d00aec
) to head (f84069c
). Report is 1 commits behind head on dev.:exclamation: Current head f84069c differs from pull request most recent head 8da042a. Consider uploading reports for the commit 8da042a to get more accurate results
Files | Patch % | Lines |
---|---|---|
EventStream/data/dataset_polars.py | 66.66% | 4 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This is useful when using flat features to compare/contrast populations (e.g., across clusters).
Summary by CodeRabbit
feature_selector
functionality in tests to include additional window sizes for more comprehensive testing scenarios.