Skip to content

add abstract base class for density clustering based alert aggregation - #375

Closed
LukasKarner wants to merge 13 commits into
ait-detectmate:developmentfrom
LukasKarner:main
Closed

LukasKarner wants to merge 13 commits into
ait-detectmate:developmentfrom
LukasKarner:main

Conversation

@LukasKarner

@LukasKarner LukasKarner commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Description

This PR introduces an abstract base class for alert aggregation based on density-clustering.

How Has This Been Tested?

The implementation has been tested on project data.

Checklist

  • [ x] This Pull-Request goes to the development branch.
  • I have successfully run prek locally.
  • I have added tests to cover my changes.
  • I have linked the issue-id to the task-description.
  • [ x] I have performed a self-review of my own code.

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

viktorbeck98 and others added 13 commits October 12, 2026 13:54
The parser passed its api_key setting to the OpenAI client as is. The
default is an empty string, and the client only reads OPENAI_API_KEY when
api_key is None. So the environment variable was never used, and
LogBatcherParser() failed on creation unless the key was in the config.

An empty api_key is now passed as None, the same way base_url already is.
A key set in the config still takes precedence.

Closes #356

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bumps [openai](https://github.com/openai/openai-python) from 3.24.0 to 3.29.0.
- [Release notes](https://github.com/openai/openai-python/releases)
- [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md)
- [Commits](openai/openai-python@v3.24.0...v3.29.0)

---
updated-dependencies:
- dependency-name: openai
  dependency-version: 3.29.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [tenacity](https://github.com/jd/tenacity) from 9.1.4 to 9.2.1.
- [Release notes](https://github.com/jd/tenacity/releases)
- [Commits](jd/tenacity@9.1.4...9.2.1)

---
updated-dependencies:
- dependency-name: tenacity
  dependency-version: 9.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.13.5 to 2.14.1.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](pydantic/pydantic@v2.13.5...v2.14.1)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-version: 2.14.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [polars](https://github.com/pola-rs/polars) from 1.44.2 to 2.0.0.
- [Release notes](https://github.com/pola-rs/polars/releases)
- [Commits](pola-rs/polars@py-1.44.2...py-2.0.0)

---
updated-dependencies:
- dependency-name: polars
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [prek](https://github.com/j178/prek) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/j178/prek/releases)
- [Changelog](https://github.com/j178/prek/blob/master/CHANGELOG.md)
- [Commits](j178/prek@v0.5.4...v0.5.5)

---
updated-dependencies:
- dependency-name: prek
  dependency-version: 0.5.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
build(deps-dev): bump prek from 0.5.4 to 0.5.5
build(deps): bump polars from 1.44.2 to 2.0.0
…14.1

build(deps): bump pydantic from 2.13.5 to 2.14.1
build(deps): bump tenacity from 9.1.4 to 9.2.1
build(deps): bump openai from 3.24.0 to 3.29.0
…-key-env

fix: let LogBatcherParser fall back to OPENAI_API_KEY
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.

3 participants