Skip to content

Commit

Permalink
BM upd
Browse files Browse the repository at this point in the history
  • Loading branch information
babenek committed Sep 3, 2024
1 parent e673534 commit 9aa5ca9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
11 changes: 11 additions & 0 deletions .ci/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Directory to store auxiliary CI/CD files

The following files are used for:
* **benchmark.txt** - template scores to compare it with empty result

To update the benchmark file, do:

```.venv/bin/python -m benchmark --scanner credsweeper --load .ci/empty_report.json | tee .ci/benchmark.txt```


* **empty_report.json** - empty report from CredSweeper
14 changes: 7 additions & 7 deletions .ci/benchmark.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
META MD5 09ddf796180413981211440a025cfb27
DATA MD5 7b62b847e5b876e1418ad2fc26d2ed35
META MD5 514244ee1914d923ac3b4db607edb764
DATA MD5 2fe1d6cff9dd73fe75e961c10871840d
DATA: 16345596 interested lines. MARKUP: 62804 items
FileType FileNumber ValidLines Positives Negatives Templates
--------------- ------------ ------------ ----------- ----------- -----------
Expand Down Expand Up @@ -82,7 +82,7 @@ FileType FileNumber ValidLines Positives Negatives Templat
.ipynb 1 134 5
.j 1 241 4
.j2 30 5530 6 186 10
.java 621 134132 361 1367 170
.java 621 134132 364 1364 170
.jenkinsfile 1 58 2 6
.jinja2 1 64 2
.js 659 536413 535 2496 328
Expand Down Expand Up @@ -223,7 +223,7 @@ FileType FileNumber ValidLines Positives Negatives Templat
.yml 419 36169 548 891 379
.zsh 6 872 12
.zsh-theme 1 97 1
TOTAL: 10264 16345596 12186 50511 5103
TOTAL: 10264 16345596 12189 50508 5103
credsweeper result_cnt : 0, lost_cnt : 0, true_cnt : 0, false_cnt : 0
Rules Positives Negatives Templates Reported TP FP TN FN FPR FNR ACC PRC RCL F1
------------------------------ ----------- ----------- ----------- ---------- ---- ---- ----- ----- -------- -------- -------- ----- -------- ----
Expand Down Expand Up @@ -262,13 +262,13 @@ Key 3899 15718 482
Nonce 91 49 0 0 0 49 91 0.000000 1.000000 0.350000 0.000000
Other 0 8291 1 0 0 8292 0 0.000000 1.000000
PEM Private Key 1019 1483 0 0 0 1483 1019 0.000000 1.000000 0.592726 0.000000
Password 1854 7542 2702 0 0 10244 1854 0.000000 1.000000 0.846752 0.000000
Password 1856 7540 2702 0 0 10242 1856 0.000000 1.000000 0.846586 0.000000
Salt 45 76 2 0 0 78 45 0.000000 1.000000 0.634146 0.000000
Secret 1297 1575 799 0 0 2374 1297 0.000000 1.000000 0.646690 0.000000
Seed 1 6 0 0 0 6 1 0.000000 1.000000 0.857143 0.000000
Slack Token 4 1 0 0 0 1 4 0.000000 1.000000 0.200000 0.000000
Token 646 4176 438 0 0 4614 646 0.000000 1.000000 0.877186 0.000000
Token 647 4175 438 0 0 4613 647 0.000000 1.000000 0.876996 0.000000
Twilio API Key 0 5 2 0 0 7 0 0.000000 1.000000
URL Credentials 210 151 220 0 0 371 210 0.000000 1.000000 0.638554 0.000000
UUID 1069 265 0 0 0 265 1069 0.000000 1.000000 0.198651 0.000000
12186 50511 5103 0 0 0 50511 12186 0.000000 1.000000 0.805637 0.000000
12189 50508 5103 0 0 0 50508 12189 0.000000 1.000000 0.805589 0.000000

0 comments on commit 9aa5ca9

Please sign in to comment.