Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data OnlineAbConfig Source #
A structure that contains the configuration of which variation to use as the "control" version. The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.
See: newOnlineAbConfig
smart constructor.
OnlineAbConfig' | |
|
Instances
newOnlineAbConfig :: OnlineAbConfig Source #
Create a value of OnlineAbConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:controlTreatmentName:OnlineAbConfig'
, onlineAbConfig_controlTreatmentName
- The name of the variation that is to be the default variation that the
other variations are compared to.
$sel:treatmentWeights:OnlineAbConfig'
, onlineAbConfig_treatmentWeights
- A set of key-value pairs. The keys are variation names, and the values
are the portion of experiment traffic to be assigned to that variation.
Specify the traffic portion in thousandths of a percent, so 20,000 for a
variation would allocate 20% of the experiment traffic to that
variation.
onlineAbConfig_controlTreatmentName :: Lens' OnlineAbConfig (Maybe Text) Source #
The name of the variation that is to be the default variation that the other variations are compared to.
onlineAbConfig_treatmentWeights :: Lens' OnlineAbConfig (Maybe (HashMap Text Natural)) Source #
A set of key-value pairs. The keys are variation names, and the values are the portion of experiment traffic to be assigned to that variation. Specify the traffic portion in thousandths of a percent, so 20,000 for a variation would allocate 20% of the experiment traffic to that variation.