Class: Raif::Evals::Run::Unit

Inherits:
Struct
  • Object
show all
Defined in:
lib/raif/evals/run.rb

Overview

One eval set's pending execution, paired with the coordinator that dispatches it. The set is read off the coordinator rather than carried alongside, where the two could disagree.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#coordinator ⇒ Object

Returns the value of attribute coordinator

Returns:

  • (Object) —

    the current value of coordinator



12
13
14
# File 'lib/raif/evals/run.rb', line 12

def coordinator
  @coordinator
end

#execution ⇒ Object

Returns the value of attribute execution

Returns:

  • (Object) —

    the current value of execution



12
13
14
# File 'lib/raif/evals/run.rb', line 12

def execution
  @execution
end

Instance Method Details

#eval_set_class ⇒ Object



13
14
15
# File 'lib/raif/evals/run.rb', line 13

def eval_set_class
  coordinator.eval_set_class
end