Plays
A file in plays/ is one Play, a named strategy with the Process that runs it, the Metric it moves and its budget.
A file in plays/ is one Play: a named, repeatable strategy with the Process that runs it, the Metric it moves and its budget.
plays/manager-referrals.mdx
Reference
MDX, frontmatter only.
| Key | Type | Holds |
|---|---|---|
family | string | The kind of Play, such as demand |
process | Process id | The Process in workflows/ that runs it |
metric | Metric id | What it moves |
budget | { amount, | What it may spend |
cohort | string | Who it targets |
Examples
Minimal
---
family: demand
process: referrals
---Leaseline
---
family: demand
process: referrals
metric: customers.new
budget: { amount: 500, currency: USD, per: month }
cohort: managers with 20 to 200 units
---What it builds
The SalesBuilder compiles a demand Play; the StartupBuilder compiles the rest. Play.apply starts it.
- a
Playand an Experiment per rollout - every write tagged with the Play id, so a rollback reverts them together
- the Event
Play.applied
Good to know
- A Play that loses its Experiment goes dormant with its writes reverted.