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.
- Noun
- Play Mix
- Mode
do- Event
PlayMix.compiled
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
startup | Startup | required | The Startup whose Play Mix is compiled. |
Outputs
| Output | Type | Required | Description |
|---|---|---|---|
playMix | Play Mix | required | The 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,sendanddomodes. - 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
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | PlayMix.compile |
When it waits
| Gate | Default |
|---|---|
| Decision class | Low: two-way, nothing at stake |
| Delay window | None: it runs once review passes. |
| Limit | The call Limit of the Permission it runs under. |
| Over the Limit | It 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. |