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

Add change_snooze_n #113

Merged
merged 4 commits into from
Nov 3, 2024
Merged

Add change_snooze_n #113

merged 4 commits into from
Nov 3, 2024

Conversation

andrewm4894
Copy link
Owner

This pull request introduces a new feature to snooze change detection for a specified number of periods after a change is detected. The most important changes include adding a new parameter snooze_n to the change detection function and updating the logic to handle snoozing.

Changes related to snooze functionality:

  • anomstack/jobs/change.py: Added a new configuration parameter change_snooze_n to the noop function to specify the number of periods to snooze change detection.
  • anomstack/ml/change.py:
    • Added the snooze_n parameter to the detect_change function signature.
    • Updated the docstring of detect_change to include the description of the snooze_n parameter.
    • Modified the change detection logic to check for recent changes and snooze if necessary, returning an empty DataFrame if snoozing.

Configuration updates:

Copy link

github-actions bot commented Nov 3, 2024

Your pull request is automatically being deployed to Dagster Cloud.

Location Status Link Updated
anomstack View in Cloud Nov 03, 2024 at 01:41 PM (UTC)

@andrewm4894 andrewm4894 changed the title Add change snooze n Add change_snooze_n Nov 3, 2024
@andrewm4894 andrewm4894 merged commit 80507b4 into main Nov 3, 2024
3 checks passed
@andrewm4894 andrewm4894 deleted the add-change-snooze-n branch November 3, 2024 13:25
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.

1 participant