@radzor/ab-test
Run A/B tests with deterministic variant assignment and conversion tracking. Supports multi-variant experiments, traffic allocation, and statistical significance calculation. Zero dependencies.
Install
View source on GitHub →Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| experiments | ExperimentDefinition[] | — | Array of experiment definitions with names, variants, and traffic allocation. |
| salt | string | radzor-ab | Global salt for hash-based variant assignment. Change to re-randomize all assignments. |
Array of experiment definitions with names, variants, and traffic allocation.
Global salt for hash-based variant assignment. Change to re-randomize all assignments.
default: radzor-ab
Outputs
| Name | Type | Description |
|---|---|---|