Repository navigation
Sketch names follow the papers; CI green again; ClickHouse pinned to a release - #283
Merged
Merged
Conversation
… the runner rustfmt reorders the usecase_study imports that #282 renamed. The child peak-memory test allowed dd 64..68 MiB; the GitHub runner's dd peaks at 71 MiB (64 MiB buffer plus its own pages), so the bound is now 64..96 MiB. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fj92nP6BDs8xKTsK4ANbnP
…ch, ... Registry algorithm and variant names, and the library names, as agreed: cms -> count-min-sketch, countsketch -> count-sketch, hll -> hyperloglog, dd -> ddsketch, bloom -> bloom-filter, elastic -> elastic-sketch, coco -> cocosketch, nitro -> nitrosketch, cdf -> cumulative-distribution, count-min-* -> count-min-sketch-*; lib -> asap_sketchlib, oxide -> sketch_oxide. kll, kmv, hip, univmon, univmon-q, hydra, space-saving and the fastpath/vector2d/topk parts keep their names. count-min-sketch and count-sketch now prefix the space-saving, fold, hyperloglog and l2-norm algorithms, so their params types exclude those. A record written before the rename still parses: ParamSet maps an old variant name to the new one (RENAMED_VARIANTS), and the study scripts map old names in result files (scripts/studies/sketch_names.py). ASAPQuery's family names (cms, countsketch, topk, kll, dd, hll) in the study scripts are unchanged. Commands, scripts, configs and docs follow; docs/archive, docs/figures and the committed ASAPQuery tables keep the names they were written with. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fj92nP6BDs8xKTsK4ANbnP
26.8.39.13 was a 26.8 branch build from builds.clickhouse.com/26.8/amd64compat, a URL that follows the branch; it now serves 26.8.52.6, and 26.8.39.13 has no release to download again. v26.8.39.19-lts is a GitHub release 12 commits later; none of the cited source files changed, so the README anchors hold. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fj92nP6BDs8xKTsK4ANbnP
GordonYuanyc
added a commit
that referenced
this pull request
Nov 30, 2026
The document now describes main as it is after #268-#283: the system registry, the one-shot and write-throughput interfaces, the full traits and types, the run directory, and which output formats carry a version. It covers interfaces only (measurement and scoring methods are out), opens with the five interfaces at a glance, and its example is the ASAPQuery-backend 8263b22b vs VictoriaMetrics run of use case 5. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fj92nP6BDs8xKTsK4ANbnP
GordonYuanyc
added a commit
that referenced
this pull request
Nov 30, 2026
* docs: interface design for the operator and system levels Describes what the benchmark's interfaces should be: the sketch registry entry and wrapper functions at operator level; the EngineUnderTest and InstalledArm traits, workload and arm inputs, run directory outputs, and measurement, accuracy and error rules at system level; which parts are public; and the open questions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: spell out sketch and library names in the interface design count-min instead of cms, count-min-fast-path-vector-2d instead of cms-fastpath-vector2d, sketch_oxide instead of oxide, asap_sketchlib instead of lib. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: interface design follows main, interfaces only, plain wording The document now describes main as it is after #268-#283: the system registry, the one-shot and write-throughput interfaces, the full traits and types, the run directory, and which output formats carry a version. It covers interfaces only (measurement and scoring methods are out), opens with the five interfaces at a glance, and its example is the ASAPQuery-backend 8263b22b vs VictoriaMetrics run of use case 5. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fj92nP6BDs8xKTsK4ANbnP --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
Step 9 of #267 (operator-level names), with the name table agreed in discussion, plus the fix for the red CI on main.
Names
cms(andcms-*)count-min-sketch(count-min-sketch-*)count-min-space-saving,count-min-fold,count-min-hllcount-min-sketch-space-saving,count-min-sketch-fold,count-min-sketch-hyperloglogcountsketch,hydra-cscount-sketch,hydra-count-sketchhll(andhll-*),hydra-hllhyperloglog(hyperloglog-*),hydra-hyperlogloghydra-cmshydra-count-min-sketchddddsketchkll-cdf,hydra-kll-cdfkll-cumulative-distribution,hydra-kll-cumulative-distributionbloom,elastic,coco,nitrobloom-filter,elastic-sketch,cocosketch,nitrosketchlib,oxideasap_sketchlib,sketch_oxideUnchanged, as the papers name them:
kll,kmv,hip,univmon,univmon-q,hydra,space-saving, and thefastpath/vector2d/fixedmatrix/topk/percallparts. 16 of 29 algorithm names and 36 of 71 variant names change. Per D9,SketchId,--list-impls,impland the masks keep their names. Rust module and function names (wrappers::cms,CmsParams, …) are unchanged.What else changes with the names
count-min-sketchandcount-sketchare now prefixes of other algorithms (space-saving, fold, hyperloglog, l2-norm), soCmsParams::ownsandCountSketchParams::ownsexclude those.sketch_configwritten before the rename still parses;ParamSetmaps an old variant name to the new one (RENAMED_VARIANTSinsketch-bench/src/params.rs). The study scripts map old names when they read result files (scripts/studies/sketch_names.py).SCHEMA_VERSIONstays 5: no field changes.cms,countsketch,topk,kll,dd,hll) are ASAPQuery's vocabulary and stay; only the sketch-bench names next to them change.configs/datagencomments, README and docs follow.docs/archive,docs/figuresand the committed ASAPQuery tables inscripts/studies/testdatakeep the names they were written with.crates/devtools/src/rqe_atomic_costs.rsreadscms/hll/dd-style names from the cost table, and the table now carries the new names. That reader needs its own PR in ProjectASAP/ASAPPlanner (Tracking: move main to the two-level layout of the interface design #267 step 9).CI
system-benchafter the usecase-study rename (Docs follow the code after #281; usecase-study rename; sketch_runs scripts ported #282).harness_child_peak_memory: the runner'sddpeaks at 71 MiB (64 MiB buffer plus its own pages); the bound was 64..68 MiB, now 64..96 MiB.ClickHouse pin
The tests pinned ClickHouse 26.8.39.13 from
builds.clickhouse.com/26.8/amd64compat, a URL that follows the 26.8 branch: it now serves 26.8.52.6, and 26.8.39.13 was never a release, so the pinned binary could not be downloaded again. The pin is now thev26.8.39.19-ltsGitHub release (clickhouse-common-static-26.8.39.19-amd64.tgz, git hashed6dc0f3, binary sha25647829ea3…f2dad0), 12 commits later; none of the source filescapabilities/README.mdcites changed, so its line anchors hold.Checks run
cargo fmt --check;cargo clippy --workspace --all-targets --all-features -D warnings;cargo clippy -p system-bench --no-default-features.cargo test --workspace: 690 passed.cargo test -p system-bench --features planeval: 123 passed.scripts/studies120,scripts/use_cases173,scripts/dataset_tools5, all pass.--list-implsmatches the table exactly.example_config_override.py,run_profiles.sh(48 records),run_throughput_fast.sh,export_atomic_costs.sh(10 rows, 0 skipped).plot_saturation_cost.py, come out under the new names.scripts/extbench-up*.shand installed withscripts/install-*.sh:clickhouse_translate1,clickhouse_run10,clickhouse_conformance13 (ClickHouse 26.8.39.19),victoriametrics_conformance4 (v1.154.1),duckdb_command_line3 (v1.3.1),pilotdb2,postgresql_command_line4 (TimescaleDB 2.32.1, toolkit 1.29.0): all pass.scripts/one-shot-workload.shend to end on a 1M-row sample of ClickBenchhits(count, average, grouped and global distinct count, with an approximate variant per dialect): DuckDB, ClickHouse and PostgreSQL exact and approximate plus PilotDB, 22 of 22 results ok, report written.🤖 Generated with Claude Code
https://claude.ai/code/session_01Fj92nP6BDs8xKTsK4ANbnP