Skip to main content

AcceptedTaskCostScenario

Agents scenarios · Implementation: mlsysim/engine/scenario_definitions/agents.py.

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

An attempt of model tokens plus other cost, retried until accepted; optional levers on it.

Notes

Equation: Compose mlsysim.solvers.AcceptedTaskCostModel.

Assumptions: The stated fields are inputs to mlsysim.solvers.AcceptedTaskCostModel; its documented validity regime, units, and modeling choices apply unchanged.

Excludes: This scenario adds no measurement, empirical calibration, or mechanisms beyond mlsysim.solvers.AcceptedTaskCostModel.

References

Derivation: this scenario binds its input fields to the referenced implementation contracts: mlsysim.solvers.AcceptedTaskCostModel. The methods below identify any additional arithmetic.

Examples

>>> from mlsysim import Scenarios
>>> case = Scenarios.RepairAttemptCostLevers
>>> type(case.result).__name__
'AcceptedTaskCostResult'

Attributes

Name Description
acceptance
acceptance_gain
improved_acceptance
independent_attempts
model_cost
model_cost_growth
other_cost
other_cost_cut
result Evaluate this scenario through mlsysim.solvers.AcceptedTaskCostModel.solve.
token_price_cut

model_cost

Type: Quantity.

Declared default: required.

other_cost

Type: Quantity.

Declared default: required.

acceptance

Type: float.

Declared default: required.

token_price_cut

Type: Optional[float].

Declared default: None.

improved_acceptance

Type: Optional[float].

Declared default: None.

other_cost_cut

Type: Optional[float].

Declared default: None.

acceptance_gain

Type: Optional[float].

Declared default: None.

independent_attempts

Type: Optional[int].

Declared default: None.

model_cost_growth

Type: Optional[float].

Declared default: None.

result

engine.scenario_types.AcceptedTaskCostScenario.result

Evaluate this scenario through mlsysim.solvers.AcceptedTaskCostModel.solve. Equation: pass the stated fields to that implementation; its contract defines the calculation and feasibility tests. Units: each returned field follows the referenced result schema; no independent equation is evaluated by this wrapper.

Back to top