ArchitectureChoiceScenario
Economics scenarios · Implementation: mlsysim/engine/scenario_definitions/economics.py.
Construct this scenario with keyword inputs. The fields below show the types and defaults declared by this class.
Single-call designs and a bounded loop under one check, with a human fallback for rejects.
Notes
Equation: The result property delegates to the named solver documented below; it converts declared scenario units before passing the inputs.
Assumptions: Acceptance and human fallback resolution probabilities are supplied and costs use one acceptance contract.
Excludes: An empirical quality estimate or automatic enforcement of the stored resolution_floor field.
References
Derivation: the scenario composes mlsysim.solvers.ArchitectureChoiceModel. Their contracts supply the underlying equations; property equations show the remaining unit conversions and accounting.
Examples
>>> from mlsysim import Scenarios
>>> scenario = Scenarios.DependencyUpgradeArchitectures
>>> value = scenario.result
>>> type(value).__name__
'ArchitectureChoiceResult'Attributes
| Name | Description |
|---|---|
| check_cost | |
| human_cost | |
| human_resolution | |
| loop_name | |
| point | |
| resolution_floor | |
| result | Return the typed accounting result from ArchitectureChoiceModel using this |
| single_acceptance | |
| single_costs | |
| tickets | |
| turn_acceptance | |
| turn_cost |
tickets
Type: int.
Declared default: required.
single_costs
Type: Dict[str, Quantity].
Declared default: required.
single_acceptance
Type: Dict[str, float].
Declared default: required.
loop_name
Type: str.
Declared default: required.
turn_cost
Type: Quantity.
Declared default: required.
turn_acceptance
Type: List[float].
Declared default: required.
check_cost
Type: Quantity.
Declared default: required.
human_cost
Type: Quantity.
Declared default: required.
human_resolution
Type: float.
Declared default: required.
resolution_floor
Type: float.
Declared default: required.
point
Type: float.
Declared default: 0.01.
result
engine.scenario_types.ArchitectureChoiceScenario.result
Return the typed accounting result from ArchitectureChoiceModel using this scenario’s declared inputs; units and exclusions follow that solver contract.
Equation: ArchitectureChoiceModel().solve(tickets, single_costs, single_acceptance, loop_name, turn_cost, turn_acceptance, check_cost, human_cost, human_resolution, point).