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



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

def fixed_survivors
  @fixed_survivors
end

#new_survivorsObject (readonly)

Returns the value of attribute new_survivors

Returns:

  • (Object)

    the current value of new_survivors



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

def new_survivors
  @new_survivors
end

#regressedObject (readonly)

Returns the value of attribute regressed

Returns:

  • (Object)

    the current value of regressed



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

def regressed
  @regressed
end

#score_afterObject (readonly)

Returns the value of attribute score_after

Returns:

  • (Object)

    the current value of score_after



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

def score_after
  @score_after
end

#score_beforeObject (readonly)

Returns the value of attribute score_before

Returns:

  • (Object)

    the current value of score_before



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

def score_before
  @score_before
end

#score_dropObject (readonly)

Returns the value of attribute score_drop

Returns:

  • (Object)

    the current value of score_drop



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

def score_drop
  @score_drop
end