Repository navigation
fix(demo): group RFO timeline episodes by gap - #443
Merged
Merged
Conversation
The RFO timeline grouped faults into 30-minute blocks of real time. The replay start sets when each cycle falls. A fault that crossed a :00 or :30 boundary appeared as two rows. An episode starts when the gap from the previous fault row for the same cell or procedure is more than 10 minutes. A running sum over a window numbers episodes per cell and site. For bursts, it numbers them per procedure. KPI counters report every 5 minutes. The 10-minute threshold keeps a fault together through one missed report. A 5-minute threshold would split it. The gap between cycles stays above the threshold. The old SQL returned 49 rows at offset 15 (collapse) and at offset 25 (RSRP drop). It split one fault at each offset. At offsets 0, 10, 15, 20 and 25 minutes, the committed logs give 48 rows for each fault with no splits. The probe failure signal tile still counts minutes per 5-minute bar. It has no episode rows.
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.
The RFO timeline starts an episode when more than 10 minutes separate consecutive fault rows for the same cell or procedure. A running sum over a window numbers episodes per cell and site. For bursts, it numbers episodes per procedure.
The old timeline grouped each fault into 30-minute blocks of actual time. The replay start set each cycle's position in those blocks. A fault that crossed a :00 or :30 boundary split in two.
KPI counters report every 5 minutes. A 10-minute gap keeps a fault together through one missed report. With a 5-minute gap, a base failure 8 minutes after a storm would start a 49th burst row.
The probe failure signal tile still counts minutes per 5-minute bar. It has no episode rows.
Replay data: committed logs shifted by replay offsets, clickhouse local 26.10.4.207 on desktop-derek.
make check on desktop-derek: 2668 tests passed, 1 skipped.