module ThreadAnalysisService
Defined in:
services/thread_analysis_service.crClass Method Summary
-
.key_participants(tuples : Array(NamedTuple), limit : Int32 = 18) : Array(ParticipantInfo)
Returns key participants in the thread based on object data.
-
.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.
-
.timeline_histogram(tuples : Array(NamedTuple)) : TimelineHistogram | Nil
Returns a timeline histogram showing thread activity over time.
Class Method Detail
def self.key_participants(tuples : Array(NamedTuple), limit : Int32 = 18) : Array(ParticipantInfo)
#
Returns key participants in the thread based on object data.
def self.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.
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.