feat(BE-281): changes std deviasi first 100 data to all

This commit is contained in:
ragilap
2025-12-29 10:13:29 +07:00
parent 644896edfa
commit 8dfb224614
@@ -689,9 +689,6 @@ func computeUniformity(rows []BodyWeightExcelRow) (UniformityCalculation, error)
var cv float64
if mean > 0 && total > 1 {
stddevWeights := weights
if len(stddevWeights) > 100 {
stddevWeights = stddevWeights[:100]
}
stddevCount := float64(len(stddevWeights))
if stddevCount > 1 {
var stddevSum float64