bucketSubject
bucketSubject(
subject,experimentHandle,experiment):string|undefined
Assign one subject to one experiment, or undefined for not-enrolled.
Exported for testing and for callers who want the decision without the provider wrapper. Pure: same inputs always give the same arm, with no storage, no clock and no randomness involved.
Parameters
Section titled “Parameters”subject
Section titled “subject”string
experimentHandle
Section titled “experimentHandle”string
experiment
Section titled “experiment”Returns
Section titled “Returns”string | undefined