Class: Mutineer::Baseline::Delta
- Inherits:
-
Data
- Object
- Data
- Mutineer::Baseline::Delta
- Defined in:
- lib/mutineer/baseline.rb
Overview
The verdict of diffing a current run against the baseline. new_survivors — current Result objects whose stable id is absent from the baseline (the regressions to name). fixed_survivors — baseline survivor hashes absent from the current run (informational, never gates). score_drop — current score < baseline score - epsilon. nil on either side skips the check (see #diff). regressed — any new survivors OR a score drop.
Instance Attribute Summary collapse
-
#fixed_survivors ⇒ Object
readonly
Returns the value of attribute fixed_survivors.
-
#new_survivors ⇒ Object
readonly
Returns the value of attribute new_survivors.
-
#regressed ⇒ Object
readonly
Returns the value of attribute regressed.
-
#score_after ⇒ Object
readonly
Returns the value of attribute score_after.
-
#score_before ⇒ Object
readonly
Returns the value of attribute score_before.
-
#score_drop ⇒ Object
readonly
Returns the value of attribute score_drop.
Instance Attribute Details
#fixed_survivors ⇒ Object (readonly)
Returns the value of attribute fixed_survivors
23 24 25 |
# File 'lib/mutineer/baseline.rb', line 23 def fixed_survivors @fixed_survivors end |
#new_survivors ⇒ Object (readonly)
Returns the value of attribute new_survivors
23 24 25 |
# File 'lib/mutineer/baseline.rb', line 23 def new_survivors @new_survivors end |
#regressed ⇒ Object (readonly)
Returns the value of attribute regressed
23 24 25 |
# File 'lib/mutineer/baseline.rb', line 23 def regressed @regressed end |
#score_after ⇒ Object (readonly)
Returns the value of attribute score_after
23 24 25 |
# File 'lib/mutineer/baseline.rb', line 23 def score_after @score_after end |
#score_before ⇒ Object (readonly)
Returns the value of attribute score_before
23 24 25 |
# File 'lib/mutineer/baseline.rb', line 23 def score_before @score_before end |
#score_drop ⇒ Object (readonly)
Returns the value of attribute score_drop
23 24 25 |
# File 'lib/mutineer/baseline.rb', line 23 def score_drop @score_drop end |