Skip to main content

GroupCommitScenario

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.

batch_size intents gathered for up to batch_timer and acknowledged by one flush_time.

Notes

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

Assumptions: Inputs use the units and validity ranges of mlsysim.solvers.GroupCommitModel.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.GroupCommitModel.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.IntentQuorumGroupCommit
>>> round(float(scenario.result.work_per_record.magnitude), 4)
0.25

Attributes

Name Description
batch_size
batch_timer
flush_time
result Return the modeled GroupCommit result from mlsysim.solvers.GroupCommitModel.solve.

batch_timer

Type: Quantity.

Declared default: required.

flush_time

Type: Quantity.

Declared default: required.

batch_size

Type: int.

Declared default: required.

result

engine.scenario_types.GroupCommitScenario.result

Return the modeled GroupCommit result from mlsysim.solvers.GroupCommitModel.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