Skip to content

PlayMix.compile

POST /{namespace}/play-mixes/compile

Compile builds the next Play Mix from the Demand Budget, each Play’s ledger and last week’s Acquisitions, and records the diff.

Mode
do
Event
PlayMix.compiled

Inputs

InputTypeRequiredDescription
startupStartuprequiredThe Startup whose Play Mix is compiled.

Outputs

OutputTypeRequiredDescription
playMixPlay MixrequiredThe new version, or the current one when nothing moved.

Effects

  • Emits PlayMix.compiled.
  • Performed by the Marketing Lead.
  • Two-way: it runs at once, in the try, send and do modes.
  • Runs weekly with no caller, before the week’s Decisions are read.
  • Moves a running Play only when its loop window closes with its sample met, or when a guardrail stops it.
  • Changes at most two Play states a week.
  • Funds a paid Play at or above its minimum budget, or not at all.
  • Logs the propensity of each allocation it randomizes.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.PlayMix.compile

When it waits

GateDefault
Decision classLow: two-way, nothing at stake
Delay windowNone: it runs once review passes.
LimitThe call Limit of the Permission it runs under.
Over the LimitIt waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled.