benchmark: q1 ground truth - #98
Closed
GnaneshGnani wants to merge 23 commits into
Closed
GnaneshGnani wants to merge 23 commits into
GnaneshGnani wants to merge 23 commits into
Conversation
GnaneshGnani
force-pushed
the
debs_benchmark
branch
from
April 1, 2026 00:44
7a6753c to
f580d7c
Compare
GnaneshGnani
force-pushed
the
debs_benchmark
branch
from
April 1, 2026 01:05
cf7900b to
fb394a3
Compare
zzylol
requested changes
Apr 1, 2026
GnaneshGnani
force-pushed
the
debs_benchmark
branch
from
April 3, 2026 00:56
fb394a3 to
02c534b
Compare
GnaneshGnani
force-pushed
the
debs_benchmark
branch
from
April 3, 2026 01:16
02c534b to
ad30e0a
Compare
zzylol
reviewed
Apr 5, 2026
zzylol
requested changes
Apr 5, 2026
Contributor
|
Please solve the merge conflict to main branch as well. |
Contributor
|
Closing this PR because EMA should not be computed by sketches. |
This was referenced May 7, 2026
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.
Q1 — EMA indicators (DDSketch p50 vs EMA38)
Adds ground truth computation and 60-minute accuracy benchmark for Q1: exponential moving average (EMA38) indicator tracking.
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, 0.25, 0.5, 0.75, 0.9, 0.99, 1.0]Metric: fraction of (symbol, window) pairs where
|ema38 − sketch_p50| / |ema38| < 1%; threshold ≥ 95%.The 09:10–09:15 window (frac=0.943) is the only failure — EMA38 is still settling on initial large market-open price moves. All subsequent windows pass comfortably (0.952–0.967).
See
results/benchmarking.mdfor per-window breakdown.