Class: ActiveMutator::WorkItem
- Inherits:
-
Data
- Object
- Data
- ActiveMutator::WorkItem
- Defined in:
- lib/active_mutator/work_item.rb
Overview
lane: :parallel (default pool) | :serial (browser-covered, one at a time) timeout: static total budget (variable + fixed), kept for --debug-plan and compat variable: the baseline-estimate-derived part (estimate * timeout_factor) — the only part the TimeoutCalibrator scales
Instance Attribute Summary collapse
-
#example_ids ⇒ Object
readonly
Returns the value of attribute example_ids.
-
#lane ⇒ Object
readonly
Returns the value of attribute lane.
-
#mutation ⇒ Object
readonly
Returns the value of attribute mutation.
-
#timeout ⇒ Object
readonly
Returns the value of attribute timeout.
-
#variable ⇒ Object
readonly
Returns the value of attribute variable.
Instance Method Summary collapse
-
#initialize(mutation:, example_ids:, timeout:, lane:, variable: 0.0) ⇒ WorkItem
constructor
A new instance of WorkItem.
Constructor Details
#initialize(mutation:, example_ids:, timeout:, lane:, variable: 0.0) ⇒ WorkItem
Returns a new instance of WorkItem.
7 8 9 |
# File 'lib/active_mutator/work_item.rb', line 7 def initialize(mutation:, example_ids:, timeout:, lane:, variable: 0.0) super end |
Instance Attribute Details
#example_ids ⇒ Object (readonly)
Returns the value of attribute example_ids
6 7 8 |
# File 'lib/active_mutator/work_item.rb', line 6 def example_ids @example_ids end |
#lane ⇒ Object (readonly)
Returns the value of attribute lane
6 7 8 |
# File 'lib/active_mutator/work_item.rb', line 6 def lane @lane end |
#mutation ⇒ Object (readonly)
Returns the value of attribute mutation
6 7 8 |
# File 'lib/active_mutator/work_item.rb', line 6 def mutation @mutation end |
#timeout ⇒ Object (readonly)
Returns the value of attribute timeout
6 7 8 |
# File 'lib/active_mutator/work_item.rb', line 6 def timeout @timeout end |
#variable ⇒ Object (readonly)
Returns the value of attribute variable
6 7 8 |
# File 'lib/active_mutator/work_item.rb', line 6 def variable @variable end |