Correct the median and 12+ fps share in session reports #70
No reviewers
Labels
No labels
accessibility
bench-bm-v1
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/PastiiJay--klbf-lab!70
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/70/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@HandshakeHackin on GitHub · 2026-11-26 11:06 UTC · original
HandshakeHackin:fix/fps-session-statistics→main· +41 −2 · 2 files · 1 commits · merged 2026-11-26 11:09 UTCTwo inputs to the standard-drive report exposed arithmetic errors. With one sample at 10 fps and one at 20 fps, the JSON and shared line reported a median of 20 fps. The median is 15. With one sample each at 12, 15 and 18 fps, the shared line reported 99% at 12+ fps even though every sample qualified.
The report now averages the two middle samples for even counts and computes the combined percentage directly from qualifying samples before rounding. Run
python tools/test_fps_session.pyto check the JSON and shareable output on four synthetic sessions. The checks pass locally.@PastiiJay on GitHub · 2026-11-26 11:08 UTC · original
Good catch, a wrong median in the shared line would have been embarrassing. We will run the synthetic sessions here and take it in.
@PastiiJay on GitHub · 2026-11-26 11:34 UTC · original
Merged into main, the shared line adds up properly now.