Skip to content

Respect anomaly interval bounds with duplicate timestamps - #771

Open
Mr-KnightCLI wants to merge 1 commit into
awslabs:masterfrom
Mr-KnightCLI:fix/anomaly-duplicate-timestamps
Open

Mr-KnightCLI wants to merge 1 commit into
awslabs:masterfrom
Mr-KnightCLI:fix/anomaly-duplicate-timestamps

Conversation

@Mr-KnightCLI

Copy link
Copy Markdown

Description of changes

Use the first timestamp at or above each bound so anomaly searches honor the documented half-open interval [start, end) even when timestamps are repeated. The regression test covers duplicates at both bounds.

The boundary check fails on the original implementation and passes with this change. All seven tests in AnomalyDetectorTest passed when run directly with ScalaTest.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found.


Generated by AI (model: us.anthropic.claude-opus-4-8, prompt: 4d2f5d73) — may not be fully accurate. Reply if this doesn't help.
Reviewed by Shadow · github.com/sudsali/shadow

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