module

ThreadAnalysisService

Class methods

key_participants(tuples : Array(NamedTuple), limit : Int32 = 18) : Array(ParticipantInfo)

Returns key participants in the thread based on object data.

Source
notable_branches(tuples : Array(NamedTuple), threshold : Int32 = 5, max_depth : Int32 = 2, limit : Int32 = 10) : Array(BranchInfo)

Returns notable branches (high-activity subtrees) in the thread.

A "notable branch" is any reply and its descendants (up to max_depth) that form a subtree of more than threshold objects.

Source
timeline_histogram(tuples : Array(NamedTuple)) : TimelineHistogram | Nil

Returns a timeline histogram showing thread activity over time.

Automatically selects appropriate bucket granularity based on thread duration. Uses adaptive outlier detection to exclude stragglers.

Source

Nested types