Files
Rocky a1be485c19 fix(mlperf-edu): p99 decode-latency formula wrong for small sample counts
`sorted(per_step)[int(len(per_step) * 0.99) - 1]` picks the wrong index for
small n. For the min/smoke profile's default of 4 decode steps (n_loop=3),
int(3*0.99)-1 = 1, i.e. the ~66th percentile (the middle value), not p99
(which should be the max of 3 samples). harness.py's own percentile()
already implements this correctly with a ceil-based rank, so reuse it
instead of duplicating a broken formula.

Verified: for per_step=[10.0, 20.0, 30.0], the old formula returned 20.0
(the median); the correct p99 is 30.0 (the max).
2026-07-07 13:43:57 +05:30
..