Skip to content

Commit

Permalink
retrain
Browse files Browse the repository at this point in the history
  • Loading branch information
babenek committed Aug 29, 2024
1 parent 44b6cd4 commit 9d38b78
Show file tree
Hide file tree
Showing 8 changed files with 1,195 additions and 1,033 deletions.
60 changes: 30 additions & 30 deletions .ci/benchmark.txt

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
- name: Check ml_model.onnx integrity
if: ${{ always() && steps.code_checkout.conclusion == 'success' }}
run: |
md5sum --binary credsweeper/ml_model/ml_config.json | grep c5649ba16316042734f5b35e6fb05994
md5sum --binary credsweeper/ml_model/ml_model.onnx | grep 1bfbb60ffbd66bc6c4336cc92d69f22e
md5sum --binary credsweeper/ml_model/ml_config.json | grep ab18ac9d1955f2fb292522c57f37bf0a
md5sum --binary credsweeper/ml_model/ml_model.onnx | grep 4c7e02e0837f885ea1105b1dbb9fc233
# # # line ending

Expand Down
Binary file modified credsweeper/ml_model/ml_model.onnx
Binary file not shown.
10 changes: 5 additions & 5 deletions tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
NEGLIGIBLE_ML_THRESHOLD = 0.0001

# credentials count after scan
SAMPLES_CRED_COUNT: int = 374
SAMPLES_CRED_LINE_COUNT: int = 391
SAMPLES_CRED_COUNT: int = 373
SAMPLES_CRED_LINE_COUNT: int = 390

# credentials count after post-processing
SAMPLES_POST_CRED_COUNT: int = 334
SAMPLES_POST_CRED_COUNT: int = 337

# with option --doc
SAMPLES_IN_DOC = 418

# archived credentials that are not found without --depth
SAMPLES_IN_DEEP_1 = SAMPLES_POST_CRED_COUNT + 24
SAMPLES_IN_DEEP_2 = SAMPLES_IN_DEEP_1 + 16
SAMPLES_IN_DEEP_1 = SAMPLES_POST_CRED_COUNT + 23
SAMPLES_IN_DEEP_2 = SAMPLES_IN_DEEP_1 + 18
SAMPLES_IN_DEEP_3 = SAMPLES_IN_DEEP_2 + 1

# well known string with all latin letters
Expand Down
Loading

0 comments on commit 9d38b78

Please sign in to comment.