Skip to content

Commit 41bcef7

Browse files
Kranium2002mattbit
andauthored
fix: add metric and metric_value
Co-authored-by: Matteo <me@mattbit.com>
1 parent df252f3 commit 41bcef7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎giskard/scanner/robustness/base_numerical_detector.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ def _detect_issues(
133133
"slice_size": slice_size,
134134
"threshold": threshold,
135135
"output_sensitivity": output_sensitivity,
136+
"metric": "Fail rate",
137+
"metric_value": fail_rate,
136138
},
137139
importance=fail_rate,
138140
)

0 commit comments

Comments
 (0)