Class: Rubino::Compression::LogCompressor::Line

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubino/compression/log_compressor.rb

Overview

A line carries a severity in [0,1] plus membership flags. ‘score` (severity + stack_boost + summary_boost, capped at 1.0) is the selection priority; `kept` is decided in the second pass.

Instance Attribute Summary collapse

Instance Attribute Details

#idxObject

Returns the value of attribute idx

Returns:

  • (Object)

    the current value of idx



40
41
42
# File 'lib/rubino/compression/log_compressor.rb', line 40

def idx
  @idx
end

#keptObject

Returns the value of attribute kept

Returns:

  • (Object)

    the current value of kept



40
41
42
# File 'lib/rubino/compression/log_compressor.rb', line 40

def kept
  @kept
end

#scoreObject

Returns the value of attribute score

Returns:

  • (Object)

    the current value of score



40
41
42
# File 'lib/rubino/compression/log_compressor.rb', line 40

def score
  @score
end

#severityObject

Returns the value of attribute severity

Returns:

  • (Object)

    the current value of severity



40
41
42
# File 'lib/rubino/compression/log_compressor.rb', line 40

def severity
  @severity
end

#stackObject

Returns the value of attribute stack

Returns:

  • (Object)

    the current value of stack



40
41
42
# File 'lib/rubino/compression/log_compressor.rb', line 40

def stack
  @stack
end

#summaryObject

Returns the value of attribute summary

Returns:

  • (Object)

    the current value of summary



40
41
42
# File 'lib/rubino/compression/log_compressor.rb', line 40

def summary
  @summary
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



40
41
42
# File 'lib/rubino/compression/log_compressor.rb', line 40

def text
  @text
end