From 14d738b379c5a64f70c77795f06b3716eb6c4c57 Mon Sep 17 00:00:00 2001 From: Will Hawkins Date: Fri, 10 Feb 2023 18:15:50 -0500 Subject: [Cleanup] Output and comments --- stabilizer/rev3.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stabilizer/rev3.go') diff --git a/stabilizer/rev3.go b/stabilizer/rev3.go index d0518c0..fa9b378 100644 --- a/stabilizer/rev3.go +++ b/stabilizer/rev3.go @@ -85,7 +85,7 @@ func (r3 *ProbeStabilizer) IsStable() bool { } // Stability is determined by whether or not the standard deviation of the values - // is within 5% of the average. + // is within some percentage of the average. stabilityCutoff := r3.movingAverages.CalculateAverage() * (r3.stabilityStandardDeviation / 100.0) isStable := stddev <= stabilityCutoff @@ -145,7 +145,7 @@ func (r3 *ThroughputStabilizer) IsStable() bool { } // Stability is determined by whether or not the standard deviation of the values - // is within 5% of the average. + // is within some percentage of the average. stabilityCutoff := r3.movingAverages.CalculateAverage() * (r3.stabilityStandardDeviation / 100.0) isStable := stddev <= stabilityCutoff -- cgit v1.2.3