Class: Mutineer::Baseline::Delta

Inherits:
Data
  • Object
show all
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

Instance Attribute Details

#fixed_survivorsObject (readonly)

Returns the value of attribute fixed_survivors

Returns:

  • (Object)

    the current value of fixed_survivors



23
24
25
# File 'lib/mutineer/baseline.rb', line 23

def fixed_survivors
  @fixed_survivors
end

#new_survivorsObject (readonly)

Returns the value of attribute new_survivors

Returns:

  • (Object)

    the current value of new_survivors



23
24
25
# File 'lib/mutineer/baseline.rb', line 23

def new_survivors
  @new_survivors
end

#regressedObject (readonly)

Returns the value of attribute regressed

Returns:

  • (Object)

    the current value of regressed



23
24
25
# File 'lib/mutineer/baseline.rb', line 23

def regressed
  @regressed
end

#score_afterObject (readonly)

Returns the value of attribute score_after

Returns:

  • (Object)

    the current value of score_after



23
24
25
# File 'lib/mutineer/baseline.rb', line 23

def score_after
  @score_after
end

#score_beforeObject (readonly)

Returns the value of attribute score_before

Returns:

  • (Object)

    the current value of score_before



23
24
25
# File 'lib/mutineer/baseline.rb', line 23

def score_before
  @score_before
end

#score_dropObject (readonly)

Returns the value of attribute score_drop

Returns:

  • (Object)

    the current value of score_drop



23
24
25
# File 'lib/mutineer/baseline.rb', line 23

def score_drop
  @score_drop
end