Class: Moult::Gate::Evaluation::Contribution
- Inherits:
-
Struct
- Object
- Struct
- Moult::Gate::Evaluation::Contribution
- Defined in:
- lib/moult/gate/evaluation.rb
Overview
One contributing finding behind a rule outcome. Stays confidence-graded:
value is the observed signal (confidence/abc/mass/severity), never a
claim of certainty.
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#line ⇒ Object
Returns the value of attribute line.
-
#path ⇒ Object
Returns the value of attribute path.
-
#symbol_id ⇒ Object
Returns the value of attribute symbol_id.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#category ⇒ Object
Returns the value of attribute category
43 44 45 |
# File 'lib/moult/gate/evaluation.rb', line 43 def category @category end |
#line ⇒ Object
Returns the value of attribute line
43 44 45 |
# File 'lib/moult/gate/evaluation.rb', line 43 def line @line end |
#path ⇒ Object
Returns the value of attribute path
43 44 45 |
# File 'lib/moult/gate/evaluation.rb', line 43 def path @path end |
#symbol_id ⇒ Object
Returns the value of attribute symbol_id
43 44 45 |
# File 'lib/moult/gate/evaluation.rb', line 43 def symbol_id @symbol_id end |
#value ⇒ Object
Returns the value of attribute value
43 44 45 |
# File 'lib/moult/gate/evaluation.rb', line 43 def value @value end |
Instance Method Details
#to_h ⇒ Object
44 45 46 |
# File 'lib/moult/gate/evaluation.rb', line 44 def to_h {category: category, path: path, symbol_id: symbol_id, line: line, value: value} end |