Skip to main content

UndetectedLoopScenario

Reliability scenarios · Implementation: mlsysim/engine/scenario_definitions/reliability.py.

Construct this scenario with keyword inputs. The fields below show the types and defaults declared by this class.

An append-only loop that resends its history, run to a turn ceiling or stopped early.

Notes

Equation: The result property composes mlsysim.solvers.UndetectedLoopModel.solve with the stored fields and any derived properties described below.

Assumptions: Inputs use the units and validity ranges of mlsysim.solvers.UndetectedLoopModel.solve. The named scenario supplies a fixed configuration rather than observations of a new run.

Excludes: Additional runtime effects or statistical guarantees beyond the cited solver contracts; no measurement is performed by this wrapper.

References

Derivation: The result property composes mlsysim.solvers.UndetectedLoopModel.solve with the stored fields and any derived properties described below. Individual property contracts identify the exact accounting expression or reusable calculation. Registry entries supply the scenario inputs; this class does not turn them into measured outcomes.

Examples

Evaluate a named scenario using its declared inputs.

>>> from mlsysim import Scenarios
>>> scenario = Scenarios.RepairLoopToTurnCeiling
>>> round(float(scenario.result.appended_per_turn), 4)
1100.0

Attributes

Name Description
ceiling
context_window
first_input
input_price
observation_per_turn
output_per_turn
output_price
result Return the modeled UndetectedLoop result from
stop_after
turn_time

first_input

Type: int.

Declared default: required.

output_per_turn

Type: int.

Declared default: required.

observation_per_turn

Type: int.

Declared default: required.

turn_time

Type: Quantity.

Declared default: required.

ceiling

Type: int.

Declared default: required.

stop_after

Type: int.

Declared default: required.

context_window

Type: int.

Declared default: required.

input_price

Type: Quantity.

Declared default: required.

output_price

Type: Quantity.

Declared default: required.

result

engine.scenario_types.UndetectedLoopScenario.result

Return the modeled UndetectedLoop result from mlsysim.solvers.UndetectedLoopModel.solve.

Equation: the scenario supplies its named fields to that solver. Returned quantity units, validity conditions, and omissions follow its calculation contract; this property adds no empirical calibration.

Back to top