View Source GrowthBook.Filter (GrowthBook v0.3.0)
Object used for mutual exclusion and filtering users out of experiments based on random hashes. Has the following properties:
Link to this section Summary
Link to this section Types
Specs
t() :: %GrowthBook.Filter{ attribute: String.t(), hash_version: integer(), ranges: [GrowthBook.BucketRange.t()], seed: String.t() }
Filter
A Filter has the follwing properties:
seed
(String.t/0
) - Teh sedd used in the hashranges
(list ofGrowthBook.BucketRange.t/0
) - List of ranges that are includedhash_version
(integer/0
) - The hash version to use (default to 2)attribute
(String.t/0
) - The attribute to use (default to "id")