ExponentialRareEventScenario
Robotics scenarios · Implementation: mlsysim/engine/scenario_definitions/robotics/diagnostics.py.
Construct this scenario with keyword inputs. The fields below show the types and defaults declared by this class.
An exponential delay of mean that fails past the delay spare of budget (or threshold).
Notes
Equation: Composition of mlsysim.solvers.ExponentialRareEventModel.solve.
Assumptions: Inputs are routed to ExponentialRareEventModel.solve; their documented regimes and units apply to this configuration.
Excludes: Additional mechanisms beyond the linked solver contracts; the scenario does not collect measurements.
References
Derivation: This scenario binds named inputs to ExponentialRareEventModel. The linked solver contracts own equations, sources, and result-unit definitions.
Examples
Evaluate the named configuration and display a modeled result.
>>> from mlsysim import Scenarios
>>> case = Scenarios.WarehouseQueueDelaySpareExhaustion
>>> value = case.result.failure_probability
>>> print(f"{value:.3g}")
1.77e-09Attributes
| Name | Description |
|---|---|
| budget | |
| confidence | |
| elite_share | |
| failure_threshold | Explicit delay threshold, else modeled delay spare from the budget in ms. |
| mean | |
| relative_error | |
| result | Evaluate the stated exponential rare event case through ExponentialRareEventModel.solve; returns its typed result and quantity units. |
| threshold |
mean
Type: Quantity.
Declared default: required.
relative_error
Type: float.
Declared default: required.
confidence
Type: float.
Declared default: required.
budget
Type: Optional[StoppingBudgetScenario].
Declared default: None.
threshold
Type: Optional[Quantity].
Declared default: None.
failure_threshold
engine.scenario_types.ExponentialRareEventScenario.failure_threshold
Explicit delay threshold, else modeled delay spare from the budget in ms.
Equation: budget.result.delay_spare.to('ms'); otherwise threshold.
result
engine.scenario_types.ExponentialRareEventScenario.result
Evaluate the stated exponential rare event case through ExponentialRareEventModel.solve; returns its typed result and quantity units.
Calculation: mlsysim.solvers.ExponentialRareEventModel.solve.