Skip to content

Detector v2 - #184

Draft
LDiazN wants to merge 26 commits into
mainfrom
detector-v2
Draft

Detector v2#184
LDiazN wants to merge 26 commits into
mainfrom
detector-v2

Conversation

@LDiazN

@LDiazN LDiazN commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

This PR will implement the new changepoint detection algorithm highlighted on https://docs.ooni.org/data/pipeline-implementation-plan/#36-cell-state-as-a-rule-histogram

The new detector is based on the new histogram-based cell and the two-weight Bernoulli increment for the CU-SUM calculation

A new page is created for this detector panel to compare with results from the original detector

The detector runs on a fixed window rather than resuming from an old run, like the old version.

Experimenting with my local setup, we can compute a 60 days window in nearly 20 minutes

@LDiazN LDiazN self-assigned this Sep 3, 2026
@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.36%. Comparing base (c8fcc72) to head (d5c0338).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #184      +/-   ##
==========================================
- Coverage   83.24%   82.36%   -0.88%     
==========================================
  Files          89       91       +2     
  Lines        5788     6067     +279     
==========================================
+ Hits         4818     4997     +179     
- Misses        970     1070     +100     
Flag Coverage Δ
oonidata 77.87% <ø> (ø)
oonipipeline 84.47% <ø> (-1.48%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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