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. clone_group links occurrences of the same clone
group ("
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#clone_group ⇒ Object
Returns the value of attribute clone_group.
-
#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
44 45 46 |
# File 'lib/moult/gate/evaluation.rb', line 44 def category @category end |
#clone_group ⇒ Object
Returns the value of attribute clone_group
44 45 46 |
# File 'lib/moult/gate/evaluation.rb', line 44 def clone_group @clone_group end |
#line ⇒ Object
Returns the value of attribute line
44 45 46 |
# File 'lib/moult/gate/evaluation.rb', line 44 def line @line end |
#path ⇒ Object
Returns the value of attribute path
44 45 46 |
# File 'lib/moult/gate/evaluation.rb', line 44 def path @path end |
#symbol_id ⇒ Object
Returns the value of attribute symbol_id
44 45 46 |
# File 'lib/moult/gate/evaluation.rb', line 44 def symbol_id @symbol_id end |
#value ⇒ Object
Returns the value of attribute value
44 45 46 |
# File 'lib/moult/gate/evaluation.rb', line 44 def value @value end |
Instance Method Details
#to_h ⇒ Object
45 46 47 |
# File 'lib/moult/gate/evaluation.rb', line 45 def to_h {category: category, path: path, symbol_id: symbol_id, line: line, value: value, clone_group: clone_group} end |