diff --git a/main.go b/main.go index 3516e706a..f25ed7309 100644 --- a/main.go +++ b/main.go @@ -235,7 +235,7 @@ func statsForInts(data []int) map[string]int { func statsForFloats(data []float64) map[string]float64 { sort.Float64s(data) res := make(map[string]float64, 4) - res["min"] = data[0] + res["fp"] = data[int(float64(len(data))*0.05)] res["med"] = data[len(data)/2] res["nfp"] = data[int(float64(len(data))*0.95)] res["max"] = data[len(data)-1]