Class: Rubino::Compression::LogCompressor::Line
- Inherits:
-
Struct
- Object
- Struct
- Rubino::Compression::LogCompressor::Line
- 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
-
#idx ⇒ Object
Returns the value of attribute idx.
-
#kept ⇒ Object
Returns the value of attribute kept.
-
#score ⇒ Object
Returns the value of attribute score.
-
#severity ⇒ Object
Returns the value of attribute severity.
-
#stack ⇒ Object
Returns the value of attribute stack.
-
#summary ⇒ Object
Returns the value of attribute summary.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Attribute Details
#idx ⇒ Object
Returns the value of attribute idx
40 41 42 |
# File 'lib/rubino/compression/log_compressor.rb', line 40 def idx @idx end |
#kept ⇒ Object
Returns the value of attribute kept
40 41 42 |
# File 'lib/rubino/compression/log_compressor.rb', line 40 def kept @kept end |
#score ⇒ Object
Returns the value of attribute score
40 41 42 |
# File 'lib/rubino/compression/log_compressor.rb', line 40 def score @score end |
#severity ⇒ Object
Returns the value of attribute severity
40 41 42 |
# File 'lib/rubino/compression/log_compressor.rb', line 40 def severity @severity end |
#stack ⇒ Object
Returns the value of attribute stack
40 41 42 |
# File 'lib/rubino/compression/log_compressor.rb', line 40 def stack @stack end |
#summary ⇒ Object
Returns the value of attribute summary
40 41 42 |
# File 'lib/rubino/compression/log_compressor.rb', line 40 def summary @summary end |
#text ⇒ Object
Returns the value of attribute text
40 41 42 |
# File 'lib/rubino/compression/log_compressor.rb', line 40 def text @text end |