gautam-shetty commited on
Commit
3deb082
1 Parent(s): 9d2fc83

fix: return loss and threshold

Browse files
Files changed (1) hide show
  1. predict.py +1 -1
predict.py CHANGED
@@ -25,7 +25,7 @@ class Predict:
25
 
26
  threshold = metric_json["Threshold"]
27
 
28
- return "Not a candidate for refactoring" if loss>threshold else "Is a candidate for refactoring"
29
 
30
 
31
 
 
25
 
26
  threshold = metric_json["Threshold"]
27
 
28
+ return "Not a candidate for refactoring" if loss>threshold else "Is a candidate for refactoring", threshold, loss
29
 
30
 
31