Repository navigation
Conversation
Contributor
|
| Project | Bencher |
| Branch | u/ep/correction/detector |
| Testbed | intel-v1 |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result microseconds (µs) (Result Δ%) | Upper Boundary microseconds (µs) (Limit %) |
|---|---|---|---|
| Adapter::Json | 📈 view plot 🚷 view threshold | 5.41 µs(+4.07%)Baseline: 5.20 µs | 5.47 µs (98.85%) |
| Adapter::Magic (JSON) | 📈 view plot 🚷 view threshold | 5.22 µs(+3.70%)Baseline: 5.03 µs | 5.29 µs (98.66%) |
| Adapter::Magic (Rust) | 📈 view plot 🚷 view threshold | 27.26 µs(+1.55%)Baseline: 26.85 µs | 28.64 µs (95.18%) |
| Adapter::Rust | 📈 view plot 🚷 view threshold | 4.59 µs(+2.68%)Baseline: 4.47 µs | 4.67 µs (98.25%) |
| Adapter::RustBench | 📈 view plot 🚷 view threshold | 4.55 µs(+2.12%)Baseline: 4.46 µs | 4.67 µs (97.54%) |
epompeii
marked this pull request as ready for review
November 25, 2026 03:30
epompeii
marked this pull request as draft
December 1, 2026 19:46
epompeii
force-pushed
the
u/ep/correction/detector
branch
from
December 1, 2026 19:46
90a0b02 to
7877d7e
Compare
|
| Project | Bencher |
| Branch | u/ep/correction/detector |
| Testbed | intel-v1 |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result microseconds (µs) (Result Δ%) | Upper Boundary microseconds (µs) (Limit %) |
|---|---|---|---|
| Adapter::Json | 📈 view plot 🚷 view threshold | 5.30 µs(+1.24%)Baseline: 5.23 µs | 5.52 µs (95.86%) |
| Adapter::Magic (JSON) | 📈 view plot 🚷 view threshold | 5.16 µs(+1.76%)Baseline: 5.07 µs | 5.39 µs (95.79%) |
| Adapter::Magic (Rust) | 📈 view plot 🚷 view threshold | 7.60 µs(-70.03%)Baseline: 25.37 µs | 43.94 µs (17.30%) |
| Adapter::Rust | 📈 view plot 🚷 view threshold | 4.58 µs(+1.90%)Baseline: 4.49 µs | 4.77 µs (95.90%) |
| Adapter::RustBench | 📈 view plot 🚷 view threshold | 4.53 µs(+1.03%)Baseline: 4.48 µs | 4.75 µs (95.39%) |
At BMF version 1, the t-test, z-score, and log-normal tests run each line at its share of the boundary's chance, counted across the whole report before the first verdict. A report with many lines no longer raises more false alerts on a side than its boundary states. A version 0 report and every other test are unchanged. The boundary row records the level each side was tested at, and the alert detail shows it.
epompeii
force-pushed
the
u/ep/correction/detector
branch
from
December 2, 2026 23:07
7877d7e to
70fbc74
Compare
epompeii
marked this pull request as ready for review
December 3, 2026 00:31
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
At BMF version 1, a t-test, z-score, or log-normal boundary covers the whole report, so a report with many lines no longer raises more false alerts.
Each line of a report is checked on its own. At a boundary of 0.99, each line has a 1% chance of a false alert, so a report with 200 lines raises about 2 false alerts on each guarded side when nothing changed. At BMF version 1, 0.99 now means that an unchanged report raises any false alert on that side at most 1 time in 100.
How
1 - (1 - b) / L(Bonferroni), through the existing limit math. The log-normal lower limit keeps its reflection, at that level.lower_levelandupper_level, each beside its limit. The console's alert detail shows it beside the boundary, for examplet_test · upper_boundary 0.99 · per test 0.99995.Tests
Integration tests through the report endpoint, with seeded histories chosen so every level is exact: 1 line keeps its limit; 16 lines spread the boundary, and an outlier that alerts at 1 line does not at 16; iterations count; each threshold spends its own boundary; a line with too little history counts; version 0 is unchanged; percentage, IQR, delta IQR, and Static are unchanged; z-score and log-normal are corrected; the family counts only the checks of corrected models, on lines and metrics they match, after the measure filter; the boundary row and the alert detail carry the levels. A seeded simulation of 2000 unchanged reports of 100 lines at 0.95 gives 4.85% with any false alert, against 99.2% uncorrected. Each new test was shown red on the old code or under a mutation.
2 pinned values in existing tests move with the correction, because their fixtures are BMF version 1 reports with several lines.