Add warm-start priors
generate_priorsTakes YOUR estimate of how each variant will perform and converts it into the prior the model starts from, so a test does not spend its first visitors rediscovering what you already suspect.
You supply the guess; this does the arithmetic and the capping. That capping is the point: a prior is expressed as pseudo-observations, and it is deliberately held weak enough that real data overrides it quickly. The response says exactly how many real visitors per variant it takes to wash your guess out, so you can judge whether you have been too confident. Being wrong here costs a little early traffic, not the test.
Priors are outside the identity hash, so the test keeps its id, its URLs and any history it already has.
Pass when to make the belief hold for ONE segment only ("image B is the one for the blue segment"). Without it the belief is about every visitor, which is a different and much stronger claim.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test | No | The test: an encoded config, or any LiveVariant URL containing one (serve, click, pixel, manage), or a query-parameter serve URL. Paste whatever you have. | |
| when | No | Context this belief is limited to, as dimension key to value (e.g. {"color": "blauw"}). The keys must be dimensions the test declares. Omit it for a belief about every visitor. | |
| config | No | Alias for `test`: the same value under the name build_test returns it as (`config`). Pass one or the other. | |
| beliefs | Yes | ||
| confidence | No | How much your guess is worth in observations. low=5, medium=15, high=30, or give a number directly. Higher means the test trusts you for longer before the data takes over. | medium |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| config | Yes | ||
| priors | Yes | ||
| testId | Yes | ||
| manageUrl | Yes | ||
| washesOutAfter | Yes | Roughly this many real visitors per variant and your guess stops mattering. |