Repository navigation
add abstract base class for density-clustering-based alert aggregation - #377
Merged
Merged
Conversation
prepare documentation
Collaborator
Author
|
The config field documentation still needs to be compiled, otherwise ready for merging. @ipmach |
LukasKarner
marked this pull request as ready for review
October 23, 2026 14:09
ipmach
reviewed
Oct 27, 2026
ipmach
requested changes
Oct 27, 2026
ipmach
left a comment
Contributor
There was a problem hiding this comment.
There are a few things that has to be done before merging
Contributor
|
Unittests are failing: =================================== FAILURES ===================================
__ TestDensityClusteringAggregation.test_default_hooks_raise_not_implemented ___
self = <test_density_clustering.TestDensityClusteringAggregation object at 0x734983146000>
def test_default_hooks_raise_not_implemented(self) -> None:
aggregator = DensityClusteringAggregation(
config=DensityClusteringAggregationConfig(delta=1.0)
)
alert = make_alert("a", 0.0)
> with pytest.raises(NotImplementedError):
E Failed: DID NOT RAISE NotImplementedError
tests/test_alert_aggregators/test_density_clustering.py:128: Failed
=========================== short test summary info ============================
FAILED tests/test_alert_aggregators/test_density_clustering.py::TestDensityClusteringAggregation::test_default_hooks_raise_not_implementedAnd |
ipmach
approved these changes
Oct 27, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Task
Description
This PR introduces an abstract base class for alert aggregation based on density-clustering, which will be used subsequently for the implementation of alert aggregation by the time-delta and AlertBERT methods.
How Has This Been Tested?
appropriate tests have been added and run successfully
Checklist
Need help on this PR? Tag
@codesmith-botwith what you need.