Skip to content

Commit

Permalink
testfix
Browse files Browse the repository at this point in the history
  • Loading branch information
babenek committed Dec 17, 2024
1 parent 53b44b8 commit 0e10c7e
Show file tree
Hide file tree
Showing 8 changed files with 1,195 additions and 4,601 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,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 af014fa49d90b015f64215044ce41cf2
md5sum --binary credsweeper/ml_model/ml_model.onnx | grep 05f049ee71ca60144ea91a20ccf7ee3f
md5sum --binary credsweeper/ml_model/ml_config.json | grep ec3ac77a923fed769fd95d567ef75137
md5sum --binary credsweeper/ml_model/ml_model.onnx | grep a707745d781517556fd58890cb2812be
# # # line ending

Expand Down
10 changes: 5 additions & 5 deletions tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@
NEGLIGIBLE_ML_THRESHOLD = 0.0001

# credentials count after scan with negligible ML threshold
SAMPLES_CRED_COUNT = 432
SAMPLES_CRED_COUNT = 427
SAMPLES_CRED_LINE_COUNT = SAMPLES_CRED_COUNT + 19

# Number of filtered credentials with ML
ML_FILTERED = 10
ML_FILTERED = 32

# credentials count after post-processing
SAMPLES_POST_CRED_COUNT = SAMPLES_CRED_COUNT - ML_FILTERED

# with option --doc
SAMPLES_IN_DOC = 740
SAMPLES_IN_DOC = 673

# archived credentials that are not found without --depth
SAMPLES_IN_DEEP_1 = SAMPLES_POST_CRED_COUNT + 37
SAMPLES_IN_DEEP_2 = SAMPLES_IN_DEEP_1 + 58
SAMPLES_IN_DEEP_1 = SAMPLES_POST_CRED_COUNT + 35
SAMPLES_IN_DEEP_2 = SAMPLES_IN_DEEP_1 + 55
SAMPLES_IN_DEEP_3 = SAMPLES_IN_DEEP_2 + 1

# well known string with all latin letters
Expand Down
Loading

0 comments on commit 0e10c7e

Please sign in to comment.