Skip to content

Fix invalid speed measurements and bound test runs - #304

Merged
code-inflation merged 2 commits into
masterfrom
fix/p1-measurement-correctness
Sep 18, 2026
Merged

code-inflation merged 2 commits into
masterfrom
fix/p1-measurement-correctness

Conversation

@code-inflation

@code-inflation code-inflation commented Sep 13, 2026 •

Copy link
Copy Markdown
Owner

Fixes three ways the speed test could report wrong results: truncated/timed-out
downloads counted as full transfers, HTTP errors used as latency samples, and
empty runs exiting 0. Runs are now bounded (120 s deadline, 30 s retry budget)
and report complete/partial/failed with proper exit codes; Ctrl-C keeps
completed samples. Quartiles were also fixed for odd sample counts.

New flags: --max-duration, --max-retry-wait, --server. CSV and existing
JSON fields are unchanged; JSON adds run status and errors. Library: missing
latency is NaN instead of 0, fetch_metadata returns MeasurementError.

@code-inflation
code-inflation force-pushed the fix/p1-measurement-correctness branch from 55b6a2f to 2d5235f Compare September 13, 2026 07:42
@code-inflation
code-inflation merged commit 4c9007e into master Sep 18, 2026
6 checks passed
@code-inflation
code-inflation deleted the fix/p1-measurement-correctness branch September 18, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant