Skip to content

Regenerate the charts from the run the tables quote - #5

Merged
Aminsed merged 2 commits into
mainfrom
figs/consistency
Jul 28, 2026
Merged

Aminsed merged 2 commits into
mainfrom
figs/consistency

Conversation

@Aminsed

@Aminsed Aminsed commented Jul 28, 2026

Copy link
Copy Markdown
Owner

benchmark_speed.png came from a different run than the tables, so the chart said 33x at n=20,000 where the README said 30x. Both perf figures are now regenerated from the same results file the re-baselined numbers came from.

benchmark_dimensions.png was referenced from nowhere — which is why it went stale unnoticed. It illustrates exactly the claim the implementation notes make (scikit-learn is not monotonic in d because it switches between KD-tree and brute force), so it is shown there now. Every image in img/ is referenced.

Aminsed added 2 commits July 28, 2026 08:51
The release run for v0.2.0 reported "sdist is missing CMakeLists.txt" for an
sdist that contained it. `tar tzf archive | grep -q PATTERN` under
`set -o pipefail` is the trap: grep -q exits the instant it matches, tar then
dies of SIGPIPE writing the rest of the listing, and pipefail reports the
pipeline as failed. Exit status 141 on a successful match.

List the archive once into a file and grep the file. The guard did its job in
the sense that mattered -- publishing was skipped rather than proceeding on an
unverified artifact -- but it was checking the wrong thing.
…ng one

benchmark_speed.png came from a different benchmark run than the tables did,
so the chart said 33x at n=20,000 where the README said 30x. Both figures are
now regenerated from the same results file the re-baselined numbers came from,
and they agree: 63, 38, 32, 33, 30, 29, 20, 12.

benchmark_dimensions.png was generated by benchmarks/figures.py and referenced
from nowhere, which is both why nobody noticed it had gone stale and why it was
75 KB of dead weight. It illustrates precisely the claim the implementation
notes make -- that scikit-learn's baseline is not monotonic in d, because it
switches between KD-tree and brute force around d = 8 -- so it is now shown
there. Every image in img/ is now referenced by something.
@Aminsed
Aminsed merged commit 49a54a9 into main Jul 28, 2026
5 checks passed
@Aminsed
Aminsed deleted the figs/consistency branch July 28, 2026 14:15
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