Skip to content

Commit 714c914

Browse files
Update sha
1 parent ddc0dfd commit 714c914

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ The full list of configuration parameters is available at the [documentation](ht
162162
| `pipeline.data_inspection.inspector.models` | List of models to use for data inspection (e.g., anomaly detection). | Array of model definitions (e.g., `{"model": "ZScoreDetector", "module": "streamad.model", "model_args": {"is_global": false}}`)|
163163
| `pipeline.data_inspection.inspector.anomaly_threshold` | Threshold for classifying an observation as an anomaly. | `0.01` |
164164
| `pipeline.data_analysis.detector.model` | Model to use for data analysis (e.g., DGA detection). | `rf` (Random Forest) option: `XGBoost` |
165-
| `pipeline.data_analysis.detector.checksum` | Checksum for the model file to ensure integrity. | `ba1f718179191348fe2abd51644d76191d42a5d967c6844feb3371b6f798bf06` |
165+
| `pipeline.data_analysis.detector.checksum` | Checksum for the model file to ensure integrity. | `021af76b2385ddbc76f6e3ad10feb0bb081f9cf05cff2e52333e31040bbf36cc` |
166166
| `pipeline.data_analysis.detector.base_url` | Base URL for downloading the model if not present locally. | `https://heibox.uni-heidelberg.de/d/0d5cbcbe16cd46a58021/` |
167167

168168
<p align="right">(<a href="#readme-top">back to top</a>)</p>

‎config.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pipeline:
5959
data_analysis:
6060
detector:
6161
model: rf # XGBoost
62-
checksum: ba1f718179191348fe2abd51644d76191d42a5d967c6844feb3371b6f798bf06
62+
checksum: 021af76b2385ddbc76f6e3ad10feb0bb081f9cf05cff2e52333e31040bbf36cc
6363
base_url: https://heibox.uni-heidelberg.de/d/0d5cbcbe16cd46a58021/
6464
threshold: 0.5
6565

‎tests/detector/test_detector.py‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def setUp(self):
4545

4646
@patch(
4747
"src.detector.detector.CHECKSUM",
48-
"ba1f718179191348fe2abd51644d76191d42a5d967c6844feb3371b6f798bf06",
48+
"021af76b2385ddbc76f6e3ad10feb0bb081f9cf05cff2e52333e31040bbf36cc",
4949
)
5050
@patch("src.detector.detector.MODEL", "rf")
5151
@patch(
@@ -70,7 +70,7 @@ def setUp(self):
7070

7171
@patch(
7272
"src.detector.detector.CHECKSUM",
73-
"ba1f718179191348fe2abd51644d76191d42a5d967c6844feb3371b6f798bf06",
73+
"021af76b2385ddbc76f6e3ad10feb0bb081f9cf05cff2e52333e31040bbf36cc",
7474
)
7575
@patch("src.detector.detector.MODEL", "rf")
7676
@patch(
@@ -246,7 +246,7 @@ def setUp(self):
246246

247247
@patch(
248248
"src.detector.detector.CHECKSUM",
249-
"ba1f718179191348fe2abd51644d76191d42a5d967c6844feb3371b6f798bf06",
249+
"021af76b2385ddbc76f6e3ad10feb0bb081f9cf05cff2e52333e31040bbf36cc",
250250
)
251251
@patch("src.detector.detector.MODEL", "rf")
252252
@patch(
@@ -265,13 +265,13 @@ def test_save_warning(self, mock_clickhouse, mock_kafka_consume_handler):
265265
"request": "google.de",
266266
"probability": 0.8765,
267267
"model": "rf",
268-
"sha256": "ba1f718179191348fe2abd51644d76191d42a5d967c6844feb3371b6f798bf06",
268+
"sha256": "021af76b2385ddbc76f6e3ad10feb0bb081f9cf05cff2e52333e31040bbf36cc",
269269
},
270270
{
271271
"request": "request.de",
272272
"probability": 0.12388,
273273
"model": "rf",
274-
"sha256": "ba1f718179191348fe2abd51644d76191d42a5d967c6844feb3371b6f798bf06",
274+
"sha256": "021af76b2385ddbc76f6e3ad10feb0bb081f9cf05cff2e52333e31040bbf36cc",
275275
},
276276
]
277277
sut.messages = [{"logline_id": "test_id"}]
@@ -285,7 +285,7 @@ def test_save_warning(self, mock_clickhouse, mock_kafka_consume_handler):
285285

286286
@patch(
287287
"src.detector.detector.CHECKSUM",
288-
"ba1f718179191348fe2abd51644d76191d42a5d967c6844feb3371b6f798bf06",
288+
"021af76b2385ddbc76f6e3ad10feb0bb081f9cf05cff2e52333e31040bbf36cc",
289289
)
290290
@patch("src.detector.detector.MODEL", "rf")
291291
@patch(
@@ -309,7 +309,7 @@ def test_save_empty_warning(self, mock_clickhouse, mock_kafka_consume_handler):
309309

310310
@patch(
311311
"src.detector.detector.CHECKSUM",
312-
"ba1f718179191348fe2abd51644d76191d42a5d967c6844feb3371b6f798bf06",
312+
"021af76b2385ddbc76f6e3ad10feb0bb081f9cf05cff2e52333e31040bbf36cc",
313313
)
314314
@patch("src.detector.detector.MODEL", "rf")
315315
@patch(
@@ -328,7 +328,7 @@ def test_save_warning_error(self, mock_clickhouse, mock_kafka_consume_handler):
328328
"request": "request.de",
329329
"probability": "INVALID",
330330
"model": "rf",
331-
"sha256": "ba1f718179191348fe2abd51644d76191d42a5d967c6844feb3371b6f798bf06",
331+
"sha256": "021af76b2385ddbc76f6e3ad10feb0bb081f9cf05cff2e52333e31040bbf36cc",
332332
}
333333
]
334334
with self.assertRaises(Exception):

0 commit comments

Comments
 (0)