test(research): characterize uniform background volume - #122
Merged
Conversation
Owner
Author
|
Post-CI final review complete.
|
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.
Summary
Why
The remaining qualitative deployment question was whether window-separated candidate multiplication was specific to separated density peaks. It is not: with threshold 5, an inclusive 600-second window, and one event every 150 seconds, 14 homogeneous events remain one v0.6 activity segment but candidate v1 selects
line:1..line:5andline:10..line:14.This is the smallest decision-changing control at that cadence. The stopping rule was the first adjacent event count that changed the selected episode count (13 produces 1; 14 produces 2), so no broader parameter sweep was performed.
How to validate
python -m unittest tests.test_episode_candidate_core.WindowSeparatedSelectionTests.test_uniform_threshold_rate_can_multiply_episodes_in_one_segmentpython -m unittest discover -s tests -p 'test_episode*.py'python -m ruff check scripts testscmake --build build --config Debugctest --test-dir build -C Debug --output-on-failuregitleaks git --no-banner --redact --log-opts='origin/main..HEAD' .git diff --check origin/main...HEADRisk / rollout notes
Detector::analyze(), CLI behavior, report-v3, and released v0.6 behavior are unchanged.41131d1and0e0568e.