Repository navigation
test: Debian-oracle scoreboard in CI with per-tool floors (+ sed -f regression it caught) - #2614
Merged
Merged
Conversation
Run the pseudo-linus bench (about 9,600 cases recorded on real Debian) against bashkit via scripts/debian-oracle/run.sh / just debian-oracle. The bench is fetched at a pinned commit, not vendored, because parts of its corpus derive from GPL test suites. The run fails when a tool's lenient pass count drops below scripts/debian-oracle/floors.tsv.
A script file ending in i\ + newline inserts an empty line in GNU sed. Trimming the file's trailing newlines turned it into a bare i\, which since #2585 adds nothing. Found by the Debian-oracle scoreboard (sed/misc-insert-nl).
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
bashkit | 333dfbd | Commit Preview URL Branch Preview URL |
Oct 07 2026, 11:59 PM |
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.
Requested by Михайло · project thread
What changed
just debian-oracle(scripts/debian-oracle/run.sh) runs the pseudo-linus test bench against bashkit. The bench has about 9,600 command cases across 45 tools, each recorded on real Debian: stdout, stderr, exit status and the final file tree.target/debian-oracle/at run time, never vendored. Parts of its corpus derive from GPL test suites (GNU grep and sed).scripts/debian-oracle/adapter/) loads each fixture into the in-memory filesystem and scores the result with the bench's own comparator.scripts/debian-oracle/floors.tsvrecords each tool's minimum lenient pass count. A run fails when a tool drops more than one case below its floor; the one case of slack covers wall-clock timeouts. After a fix,--update-floorslocks the gain in..github/workflows/debian-oracle.yml.sed -fscript file ending ini\+ newline inserts an empty line again. fix(builtins): GNU parity for sort, xargs, nl, fold, od, du and 20 more coreutils (166 BashBox cases) #2585 made a barei\add nothing, and trimming the file's trailing newline turned the escaped newline into exactly that. The scoreboard caught it on its first run (sed/misc-insert-nl), which is the kind of regression it is meant to stop.knowledge/operations/testing.md.Why
The awk, jq, sed and grep work (#2583 to #2609) was driven by this bench. Without a gate, those gains can slip back, as the sed case above already did once between merges.
Before / After
Before: nothing in CI compares bashkit with real Debian output.
After, current main:
On those four tools, lenient scores were 63.8% to 99.4% when this work started; the table shows where they are now. The sed regression:
Two consecutive local runs against the committed floors both passed. Only coreutils moved, by one case, which is within the tolerance.
Risk
--ignore-rust-versionbecause the bench declares Rust 1.98 while we pin 1.95; it builds clean on 1.95.Checklist
-fregression test; the scoreboard runs green against its floors)Generated by Claude Code