Open noomorph opened 1 year ago
According to the code, when you define failureThreshold: 0.01, failureThresholdType: 'percent', that means 1% in fact.
failureThreshold: 0.01, failureThresholdType: 'percent'
I think this is misleading because percent is 1/100 (per+cent), and it is not a fraction (0..1).
1/100
Could you please rename it to fraction and add the real percent unit, i.e. 0.01 percent → 0.0001 and 1 percent → 0.01 accordingly?
fraction
percent
0.01 percent → 0.0001
1 percent → 0.01
Thanks in advance.
Second this. I've lost quite some time misunderstanding what to fill here. Like OP says, failureThresholdType percent is entirely misleading if 0.1 in fact means 10%
According to the code, when you define
failureThreshold: 0.01, failureThresholdType: 'percent'
, that means 1% in fact.I think this is misleading because percent is
1/100
(per+cent), and it is not a fraction (0..1).Could you please rename it to
fraction
and add the realpercent
unit, i.e.0.01 percent → 0.0001
and1 percent → 0.01
accordingly?Thanks in advance.