Skip to content

Commit

Permalink
↪️ Merge pull request Yelp#251 from OiCMudkips/fix_signal_calculation
Browse files Browse the repository at this point in the history
Fix signal metric calculation in audit
  • Loading branch information
OiCMudkips authored Oct 14, 2019
2 parents b21c5f8 + 8c4d00a commit 5706eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detect_secrets/core/audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def determine_audit_results(baseline, baseline_path):
total += 1
audit_results['stats']['signal'] = str(
(
audit_results['stats']['true-positives']['count']
float(audit_results['stats']['true-positives']['count'])
/
total
) * 100,
Expand Down

0 comments on commit 5706eb1

Please sign in to comment.