Skip to content

Add support for trend analysis, enriching examples and docs#18

Merged
Bilpapster merged 3 commits into
mainfrom
trend-analysis
Sep 30, 2025
Merged

Add support for trend analysis, enriching examples and docs#18
Bilpapster merged 3 commits into
mainfrom
trend-analysis

Conversation

@Bilpapster

@Bilpapster Bilpapster commented Sep 29, 2025

Copy link
Copy Markdown
Owner

Description

Add support for trend analysis as part of the data quality measurements (DQMs) suite. Trend analysis is implemented by computing the slope of line that best fits the elements in the window. Implementing this new feature uncovered an small bug regarding the way Pathway (and not) timestamps are handled. This bug is currently out of scope for the current PR but will be fixed soon.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Testing

  • I have tested this change locally
  • I have added tests that prove my fix is effective or that my feature works
  • All new and existing tests pass

examples/trend_analysis.py can be executed without external dependencies for testing purposes if needed.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

Fixes #12

@Bilpapster Bilpapster requested a review from Gatmatz September 29, 2025 00:37
@Bilpapster Bilpapster linked an issue Sep 29, 2025 that may be closed by this pull request
@Gatmatz

Gatmatz commented Sep 30, 2025

Copy link
Copy Markdown
Collaborator

Nice job on this! The examples are super clear and make it really easy to follow along.

@Bilpapster

Copy link
Copy Markdown
Owner Author

@Gatmatz good to go? I will need to fix a small style formatting issue that makes automated styling tests to fail. Anything else apart from that? Otherwise I am going to merge it.

@Bilpapster Bilpapster merged commit fdec163 into main Sep 30, 2025
3 of 4 checks passed
@Bilpapster Bilpapster deleted the trend-analysis branch September 30, 2025 21:52
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.

[FEATURE] Trend analysis as data quality measurement

2 participants