Skip to main content

CohortAttemptCostScenario

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.

One configuration’s cohort of tasks, one bounded attempt each, all charges settled.

Notes

Equation: The result property delegates to the named solver documented below; it converts declared scenario units before passing the inputs.

Assumptions: One bounded attempt per task; every billed attempt is settled before cohort cost is compared.

Excludes: Repeated retries beyond turns, outstanding charges, and observed acceptance inference.

References

Derivation: the scenario composes mlsysim.solvers.CohortAttemptCostModel. Their contracts supply the underlying equations; property equations show the remaining unit conversions and accounting.

Examples

>>> from mlsysim import Scenarios
>>> scenario = Scenarios.FrontierModelRepairCohort
>>> value = scenario.result
>>> type(value).__name__
'CohortAttemptCostResult'

Attributes

Name Description
accepted
assessment_per_attempt
environment_per_turn
input_price
input_tokens_per_turn
output_price
output_tokens_per_turn
result Return the typed accounting result from CohortAttemptCostModel using this scenario’s
tasks
triage_per_rejected
turns

tasks

Type: int.

Declared default: required.

accepted

Type: int.

Declared default: required.

input_price

Type: Quantity.

Declared default: required.

output_price

Type: Quantity.

Declared default: required.

turns

Type: int.

Declared default: required.

input_tokens_per_turn

Type: int.

Declared default: required.

output_tokens_per_turn

Type: int.

Declared default: required.

environment_per_turn

Type: Quantity.

Declared default: required.

assessment_per_attempt

Type: Quantity.

Declared default: required.

triage_per_rejected

Type: Quantity.

Declared default: required.

result

engine.scenario_types.CohortAttemptCostScenario.result

Return the typed accounting result from CohortAttemptCostModel using this scenario’s declared inputs; units and exclusions follow that solver contract.

Equation: CohortAttemptCostModel().solve(tasks, accepted, input_price, output_price, turns, input_tokens_per_turn, output_tokens_per_turn, environment_per_turn, assessment_per_attempt, triage_per_rejected).

Back to top