Repository navigation
Conversation
`codec_cpu_ledger.md` has never existed in this repo -- `git log --all` for that path returns nothing -- yet the MP3 CPU audit workflow watched it in both its push and pull_request path filters. Removing the two entries changes no trigger behavior: the real baseline, `codec_cpu_trend.json`, is already listed in both and stays there. A dead entry is not harmless clutter either, since the next person reading the filter reasonably assumes the file exists and goes looking for it. First housekeeping item in #4155. The remaining leftovers there (huffman regression, upstreaming) are untouched. Verified: the workflow still parses, both filter lists go 12 -> 11 entries, `codec_cpu_trend.json` is still watched in both, and no `codec_cpu_ledger` reference remains. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01KkufoNxfnNRU9psT3R9F51
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 8 included reviews per hour; 5 remain after this review. 📝 WalkthroughWalkthroughThe MP3 CPU audit workflow no longer runs when ChangesMP3 CPU audit workflow
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to The workflow filter cleanup removes only the obsolete ledger path while retaining the trend JSON trigger; no current merge-blocking risk is identified. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The That gate is flakier than the effect it measures — I filed #4183 with the numbers. Short version: the true speedup on x86 is ~1.02x (not the ~1.10x the in-source comment claims), so the threshold sits inside the estimator's noise band; the same assertion has taken Re-running the failed job. |
|
Correction to my earlier comment: I re-ran the job and it failed again at 0.920x. Four visible measurements now, all clustered 0.904–0.945, and the run with the fastest scalar time gave the worst ratio — so this is not the flake I called it. Details and the corrected reading are on #4183. Practically: re-running will not clear this, and #4175 stays blocked on that question rather than on anything in its own diff. |
|
#4192 should unblock this. The #4192 adds |
The harness echoes a test's stdout only when it fails, and the ratio this step prints is the whole point of it. So a passing run recorded nothing, and a green result was indistinguishable from one where the comparison returned early for want of integer SIMD and passed vacuously. That ambiguity is what stalled #4183. The first run of this branch answers it: a passing run reports `speedup=1.080x`, with no "no integer SIMD on this target" line. The gate is real and it measured a healthy ratio. Which settles the question the other way from where the evidence pointed before. Four runs have reported 0.904, 0.920, 0.924 and 0.945; this one reports 1.080. That is a 19% spread on a fleet that is not one machine, so the SIMD kernel is genuinely faster on some GitHub runners and genuinely slower on others -- both are correct measurements of different silicon, and neither the "flaky" nor the "genuinely slower" reading was right on its own. So the CPU goes into the log alongside the ratio. Without it the next failure is another round of arguing about noise; with it, the two populations can be named and the gate fixed on the evidence -- pinned to a runner class, or made informational, or given a threshold that holds across the fleet. Also unblocks #4175, a two-line path-filter cleanup that has been sitting on this gate without touching anything it measures. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MLhWkMfzLjrnLTDMBE6Fj9
|
Update: #4192's first run answers the question that was blocking this. A passing run of the gate reports That makes this PR's red |
…nforced The harness echoes a test's stdout only when it fails, and the ratio this step prints is the whole point of it. So a passing run recorded nothing, and a green result was indistinguishable from one where the comparison returned early for want of integer SIMD and passed vacuously. That ambiguity is what stalled #4183. The first run of this branch answers it: a passing run reports `speedup=1.080x`. Which settles the question the other way from where the evidence pointed before. Four runs have reported 0.904, 0.920, 0.924 and 0.945; this one reports 1.080. That is a 19% spread on a fleet that is not one machine, so the SIMD kernel is genuinely faster on some GitHub runners and genuinely slower on others -- both are correct measurements of different silicon, and neither the "flaky" nor the "genuinely slower" reading was right on its own. So the CPU goes into the log alongside the ratio. Without it the next failure is another round of arguing about noise; with it, the two populations can be named and the gate fixed on the evidence. The ratio line now also says whether it was enforced. It is printed *before* the `dspUsesSimd()` check, so a ratio on its own proves nothing about whether the gate ran -- a target with no integer SIMD prints one too and then returns without asserting. Reading the 1.080x above as enforced depended on noticing that the *exactness* test had not printed its own "no integer SIMD" note, which is not something a log should require. Each line now says which it is. Also unblocks #4175, a two-line path-filter cleanup that has been sitting on this gate without touching anything it measures. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MLhWkMfzLjrnLTDMBE6Fj9
…nforced (#4192) The harness echoes a test's stdout only when it fails, and the ratio this step prints is the whole point of it. So a passing run recorded nothing, and a green result was indistinguishable from one where the comparison returned early for want of integer SIMD and passed vacuously. That ambiguity is what stalled #4183. The first run of this branch answers it: a passing run reports `speedup=1.080x`. Which settles the question the other way from where the evidence pointed before. Four runs have reported 0.904, 0.920, 0.924 and 0.945; this one reports 1.080. That is a 19% spread on a fleet that is not one machine, so the SIMD kernel is genuinely faster on some GitHub runners and genuinely slower on others -- both are correct measurements of different silicon, and neither the "flaky" nor the "genuinely slower" reading was right on its own. So the CPU goes into the log alongside the ratio. Without it the next failure is another round of arguing about noise; with it, the two populations can be named and the gate fixed on the evidence. The ratio line now also says whether it was enforced. It is printed *before* the `dspUsesSimd()` check, so a ratio on its own proves nothing about whether the gate ran -- a target with no integer SIMD prints one too and then returns without asserting. Reading the 1.080x above as enforced depended on noticing that the *exactness* test had not printed its own "no integer SIMD" note, which is not something a log should require. Each line now says which it is. Also unblocks #4175, a two-line path-filter cleanup that has been sitting on this gate without touching anything it measures. Claude-Session: https://claude.ai/code/session_01MLhWkMfzLjrnLTDMBE6Fj9 Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
|
Closing as already applied — this change is on That PR ("fix(autoresearch): make BLE bring-up name the board that actually answered") carried the identical two-line deletion alongside its own changes: Rebasing this branch onto current Worth noting what this does not invalidate. The red So the filter cleanup is done, and the investigation it accidentally triggered continues under its own issue. |
) (#4263) `FL_CHECK_GE(ratio, 0.95)` has taken the default branch red at random and is the only thing blocking #4175. It also just failed an unrelated lint-tooling PR at 0.922x, which is what prompted this. The issue's own investigation settled the cause: the ratio is bimodal across GitHub's fleet, not noisy around one value -- 0.904, 0.920, 0.922, 0.924, 0.945 on some machines against 1.080 on others. The decisive detail is that the *fastest* scalar time of the lot produced the worst ratio, so it is not contention. The kernel is genuinely faster on part of the fleet and genuinely slower on the rest, and both are correct measurements of different hardware. Two measurements this adds. The 0.922 above came from a **macOS ARM** runner, so the slow population is not only GHA x86 as the issue supposed. And an optimised build on my host measures **0.993x-1.005x across runs** -- between the two populations, and itself straddling the margin the 0.95 threshold depended on. 0.95 sits inside that spread, so as a gate it reports which runner drew the job. What replaces it is a floor far outside any fleet variation: a vector path twice as slow as the scalar one it replaces is a defect on any machine. Stated plainly, because it is a real loss: this will not catch a subtle regression. Nothing measured here can -- that is the finding -- and that job belongs to `ci/codec_cpu/audit.py`, which builds optimised and compares against recorded baselines rather than against the scalar path on whatever silicon it drew. The in-source comment already named that as the gate that counts. The ratio is still printed on every run, so a shift in either population stays visible. The "x86 measures ~1.10x" claim is corrected: it describes the fast population only, and reads as though there were one answer. Verified in an optimised build, since the assertion is `__OPTIMIZE__`-gated and quick mode compiles it out -- a first attempt at this mutation ran against a stale binary and looked like a survivor. Scaling the ratio to a quarter fails the case; the real ratio passes. Refs #4183, #4175, #4155 Claude-Session: https://claude.ai/code/session_01MLhWkMfzLjrnLTDMBE6Fj9 Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
First housekeeping item from #4155.
Change
codec_cpu_ledger.mdhas never existed in this repo —git log --all -- codec_cpu_ledger.mdreturns nothing — yet.github/workflows/mp3_cpu_audit.ymlwatched it in both itspushandpull_requestpath filters. This removes those two entries.No trigger behavior changes: the real baseline,
codec_cpu_trend.json, is already listed in both filters and stays. A dead entry isn't harmless clutter either — the next person reading the filter reasonably assumes the file exists and goes looking for it.Verification
codec_cpu_trend.jsonstill watched in bothcodec_cpu_ledgerreference remains anywhere in the filebash lint— clean (including the meson/YAML lane)Scope
Only the first item in #4155. The other leftovers there — huffman regression, upstreaming — are untouched and stay open.
🤖 Generated with Claude Code
https://claude.ai/code/session_01KkufoNxfnNRU9psT3R9F51
Summary by CodeRabbit