Skip to content

Make the Compare graphic show run-to-run spread, not just the median#4879

Open
soulgalore wants to merge 1 commit into
mainfrom
compare-overlap-graphic
Open

Make the Compare graphic show run-to-run spread, not just the median#4879
soulgalore wants to merge 1 commit into
mainfrom
compare-overlap-graphic

Conversation

@soulgalore

Copy link
Copy Markdown
Member

The per-metric A/B graphic drew two rails of dots with a bold median-to-median delta beside them. That over-weighted the median: a 270 to 278 ms shift read as a regression even when the runs overlapped so heavily the statistical test called it noise, and the effect size (the overlap-aware measure of how big the change really is) was hidden on every non-significant row.

Now each series draws its middle-80% band (p10 to p90) behind the dots, and a grey stripe marks where the two bands overlap: a wide grey band means the shift sits inside run-to-run noise, a clean gap means it is real. Cliff's delta rides on every chip, significant or not, so the honest "how big" is always visible. The median percentage delta is shown only when the change is significant, and the median line is dimmed otherwise, so a couple of noise-milliseconds stop competing with the verdict.

The graphic stays pure server-rendered HTML dots (no SVG, no client JS) so it keeps working on file://, and the row anchors are unchanged so existing deep links keep landing.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

The per-metric A/B graphic drew two rails of dots with a bold median-to-median delta beside them. That over-weighted the median: a 270 to 278 ms shift read as a regression even when the runs overlapped so heavily the statistical test called it noise, and the effect size (the overlap-aware measure of how big the change really is) was hidden on every non-significant row.

Now each series draws its middle-80% band (p10 to p90) behind the dots, and a grey stripe marks where the two bands overlap: a wide grey band means the shift sits inside run-to-run noise, a clean gap means it is real. Cliff's delta rides on every chip, significant or not, so the honest "how big" is always visible. The median percentage delta is shown only when the change is significant, and the median line is dimmed otherwise, so a couple of noise-milliseconds stop competing with the verdict.

The graphic stays pure server-rendered HTML dots (no SVG, no client JS) so it keeps working on file://, and the row anchors are unchanged so existing deep links keep landing.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com
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