-
Notifications
You must be signed in to change notification settings - Fork 122
Add exclude_detection_period_from_training flag to volume_anomalies test #877
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
Merged
arbiv
merged 18 commits into
master
from
core-12-oss-anomalies-add-flag-to-exclude-test-data-from-training
Oct 27, 2025
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
53870ce
Add exclude_detection_period_from_training flag to volume_anomalies test
arbiv d3a8597
Fix test values for exclude_detection_period_from_training test
devin-ai-integration[bot] 8a409d1
Add exclude_detection_period_from_training flag to freshness tests
devin-ai-integration[bot] 50f9e61
Adjust test values to make anomalies more detectable
devin-ai-integration[bot] 2805b51
Fix test failures: add exclude_detection_period_from_training to expe…
devin-ai-integration[bot] 490de30
Fix exclude_detection_period_from_training implementation
devin-ai-integration[bot] 642f015
Remove freshness anomalies support from this PR
devin-ai-integration[bot] 3b9ae55
Remove freshness test functions from test files
devin-ai-integration[bot] 40a5f36
Remove package-lock.yml from PR
devin-ai-integration[bot] 8b5791d
Remove 'NEW:' references and clean up obvious comments
devin-ai-integration[bot] 57e7b7c
Address PR review comments: rename column, add validation comment, se…
devin-ai-integration[bot] 9b9f435
Improve comment: clarify backfill_days definition and configuration
devin-ai-integration[bot] e2a11d9
Add Redshift-specific override for edr_multi_value_in to fix multi-co…
devin-ai-integration[bot] ecc6a80
Fix whitespace handling in redshift__edr_multi_value_in to prevent sy…
devin-ai-integration[bot] 9ddf019
Replace Redshift EXISTS with CONCAT approach to avoid correlated subq…
devin-ai-integration[bot] e4f5c73
Fix Redshift PARTITION BY error by excluding constant bucket_seasonal…
devin-ai-integration[bot] 842a255
Add explanatory comment to redshift__edr_multi_value_in macro
devin-ai-integration[bot] 961ad2a
Add explanatory comment for partition_by_keys dynamic PARTITION BY logic
devin-ai-integration[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
validate this calculation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
backfill days is the days to detect on, so the calculation is correct
see https://github.com/elementary-data/dbt-data-reliability/blob/79d8d7fd64bc0b8a0e329c69a968ba0a22dda9e0/macros/edr/tests/test_configuration/get_period_vars.sql
and elementary-data/elementary#1548 (comment)