Skip to content

fix(demo): group RFO timeline episodes by gap - #443

Merged
catinspace-au merged 1 commit into
mainfrom
fix/telco-rfo-episodes
Nov 21, 2026
Merged

catinspace-au merged 1 commit into
mainfrom
fix/telco-rfo-episodes

Conversation

@catinspace-au

Copy link
Copy Markdown
Contributor

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.

  • On origin/main, the collapse at offset 15 and the RSRP drop at offset 25 each have 49 rows lasting 5 to 30 minutes. At offset 20, one burst row is 23 minutes long.
  • The gap-based timeline has 48 rows per fault and no splits at offsets 0, 10, 15, 20 and 25. The RSRP drop, collapse and silent cell each last 10 minutes. Bursts last 1 to 9 minutes.
  • The probe failure signal has 49 burst minutes in 49 bars at each of offsets 0, 10 and 20.

make check on desktop-derek: 2668 tests passed, 1 skipped.

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.
@catinspace-au
catinspace-au merged commit 708bc57 into main Nov 21, 2026
13 checks passed
@catinspace-au
catinspace-au deleted the fix/telco-rfo-episodes branch November 21, 2026 04:26
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