Documentation
¶
Overview ¶
Package logscore assigns per-character importance scores to a log line and a single aggregate score for the whole line. The scoring is pure: no I/O, no UI dependencies, no global mutable state. It encodes Jenking's conventions for what makes a Jenkins build log line "interesting" (severity keywords, standalone numeric values, stage banners) so the preview minimap and any future heat-map rendering share a single source of truth.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ScoreImportance ¶
ScoreImportance returns per-rune importance scores in [0,1] and an aggregate line score in [0,1]. The aggregate weights peak more than mean so a single bright keyword pulls the line up.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.