benchmark: q4 ground truth - #101
Closed
GnaneshGnani wants to merge 28 commits into
Closed
GnaneshGnani wants to merge 28 commits into
GnaneshGnani wants to merge 28 commits into
Conversation
GnaneshGnani
force-pushed
the
debs_q3
branch
2 times, most recently
from
April 1, 2026 01:07
abeca2e to
0f5d7b1
Compare
GnaneshGnani
force-pushed
the
debs_q4
branch
2 times, most recently
from
April 3, 2026 01:43
194a7df to
91812c9
Compare
- ground_truth/q4.py: add numpy import - compare.py: frac_hilo_lt_2pct (p0 vs low, p100 vs high) - run.py: default batch-size 50 - QUERY_PORTING_GUIDE.md: Q4 documentation
The guide stays on disk as an untracked local file.
- ground_truth/q4.py: add numpy import - compare.py: frac_hilo_lt_2pct (p0 vs low, p100 vs high) - run.py: default batch-size 50 - QUERY_PORTING_GUIDE.md: Q4 documentation
The guide stays on disk as an untracked local file.
Contributor
|
Closing — this branch is conflicting with |
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.
Q4 — Price range hi/lo (DDSketch p0/p100)
Adds ground truth and 60-minute accuracy benchmark for Q4: per-symbol daily price range (min/max).
Benchmark results
Setup: Day
08-11-21,data_filtered,accuracy_sla=0.01, 12 × 5-min windowsSketch: DDSketch,
relative_accuracy=0.01, quantiles[0.0, 1.0]Metric: fraction of symbols where both sketch p0 and p100 have ≤ 2% relative error.
DDSketch p0/p100 (min/max) are essentially exact on this data. First window 0.9997, all subsequent windows 1.0000. This query passes with the widest margin of any evaluated query.
Cumulative: Q1: 11/12⚠️ | Q3: not run | Q4: 12/12 ✅
See
results/benchmarking.mdfor per-window breakdown.