Problem
With an even run count the "median run" row shows the upper middle (sorted[n//2]), e.g. [10, 20] reports 20 s instead of 15 s.
Where
agentrace/cli.py (median row, no averaging of middle pair).
Acceptance
Add a failing test first with durations [10, 20] asserting 15 s. Then fix.
Problem
With an even run count the "median run" row shows the upper middle (
sorted[n//2]), e.g.[10, 20]reports20 sinstead of15 s.Where
agentrace/cli.py(median row, no averaging of middle pair).Acceptance
Add a failing test first with durations
[10, 20]asserting15 s. Then fix.