Skip to content

Bug: Fix Regression from Peak to Have Statistical Significance#178

Merged
jlukic merged 13 commits intomainfrom
bench/history-v2-schema
May 4, 2026
Merged

Bug: Fix Regression from Peak to Have Statistical Significance#178
jlukic merged 13 commits intomainfrom
bench/history-v2-schema

Conversation

@jlukic
Copy link
Copy Markdown
Member

@jlukic jlukic commented May 4, 2026

Implements Bench Peak Attribution.

This PR is designed to fix issues with "regressions from peak" incorrectly using absolute differences instead of % differences.

This was a logical error because tachometer does not provide absolute benchmarks but instead can give you a valid % regressions from a baseline SHA. The previous reporter was using absolute differences as having statistical merit which is not scientifically rigorous.

Changes

  • Test runners should now show regressions INSIDE the same PR.
  • Test runner will now show drift if main has changed significantly between test runs on the same PR. This is designed to provide enough information to determine whether regressions represent changes in the PR versus changes in main

Risk

1/10 — internal CI infrastructure.

Cannot know for certain if PR is valid until it merges into main so CI can run meaningful tests on a PR.

How to Test

Check next meaningful code PR and confirm CI runs correctly with new script.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
semantic-next Ready Ready Preview, Comment May 4, 2026 6:47pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
mcp Ignored Ignored Preview May 4, 2026 6:47pm

Request Review

@jlukic jlukic changed the title Bug: Bench peak attribution on percent-delta Bug: Fix Regression from Peak to Have Statistical Significance May 4, 2026
@github-actions github-actions Bot added CI modifies continuous integration Docs Modifies documentation labels May 4, 2026
@jlukic jlukic merged commit 9501fc2 into main May 4, 2026
6 of 9 checks passed
@jlukic jlukic deleted the bench/history-v2-schema branch May 4, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI modifies continuous integration Docs Modifies documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant