Class: Raif::Evals::Execution
- Inherits:
-
Struct
- Object
- Struct
- Raif::Evals::Execution
- Defined in:
- lib/raif/evals/execution.rb
Overview
One execution's worth of work: one eval block, against one case, on one repeat. Every execution in the run is listed before any of them runs, so there is a flat work list to hand a pool of threads rather than a nested loop that can only be walked in order.
case_id_width is presentation, not work - the widest case id among the eval's selected cases, so the compact console lines align. It travels with the execution because the instance that runs it never resolved the datasets it would be measured from.
Instance Attribute Summary collapse
-
#case_id_width ⇒ Object
Returns the value of attribute case_id_width.
-
#eval_case ⇒ Object
Returns the value of attribute eval_case.
-
#eval_definition ⇒ Object
Returns the value of attribute eval_definition.
-
#run_index ⇒ Object
Returns the value of attribute run_index.
Instance Method Summary collapse
Instance Attribute Details
#case_id_width ⇒ Object
Returns the value of attribute case_id_width
12 13 14 |
# File 'lib/raif/evals/execution.rb', line 12 def case_id_width @case_id_width end |
#eval_case ⇒ Object
Returns the value of attribute eval_case
12 13 14 |
# File 'lib/raif/evals/execution.rb', line 12 def eval_case @eval_case end |
#eval_definition ⇒ Object
Returns the value of attribute eval_definition
12 13 14 |
# File 'lib/raif/evals/execution.rb', line 12 def eval_definition @eval_definition end |
#run_index ⇒ Object
Returns the value of attribute run_index
12 13 14 |
# File 'lib/raif/evals/execution.rb', line 12 def run_index @run_index end |
Instance Method Details
#eval_id ⇒ Object
13 14 15 |
# File 'lib/raif/evals/execution.rb', line 13 def eval_id eval_definition.id end |
#eval_index ⇒ Object
17 18 19 |
# File 'lib/raif/evals/execution.rb', line 17 def eval_index eval_definition.index end |