test(episodes): add v0.7 continuous-background oracle - #111
Merged
Conversation
Owner
Author
|
Final diff review completed after green checks.
No blocking findings. |
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 episode-semantics ADR identifies continuous low-density background as the narrow research boundary where adjacent-gap segmentation can hide a second dense peak. This PR makes that behavior measurable before any v0.7 segmentation policy is proposed.
How to validate
Additional review checks performed locally:
line:1throughline:5finding:brute_force:584fd14b544a7959git diff --checkand privacy scan using only the RFC 5737 placeholder203.0.113.77Design decision
Keep the v0.6 detector and
loglens.report.v3unchanged. The fixture records current behavior, while the candidate oracle captures experiment provenance, windows, episode selections, event decisions, and baseline comparison.Main risk
The oracle shape could constrain future experiments too early. It is therefore explicitly research-only and describes comparison evidence rather than selecting a segmentation algorithm or stable report contract.
Compatibility impact
None. This PR adds three JSON test artifacts only; it changes no detector logic, parser behavior, configuration, CLI output, or report schema.
Rollback path
Revert commit
592ce392258e2fd4222ea0bc42a12dff8ab89cef; no migration or generated-output cleanup is required.