You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stickyness is the idea that a client will match a certain set of criteria on first enrollment (the first time a recipe is evaluated by the Normandy Client), and a different set of criteria on subsequent evaluations by Normandy Client, so we call the recipe 'sticky'.
The theory is that the first clause matches on first enrollment, and the second clause matches on subsequent enrollments.
The second clause, that the client is enrolled in the study, is automatically generated by the sticky filter object, so in this example it would take the first clause in as an argument and automatically wrap it with the second clause.
So very roughly, for each of the pref/addon study case:
sticky(A) -> (A || normandy.studies.pref["<pref study slug>"]) sticky(A) -> (A || normandy.studies.addon["<addon study slug>"])
The filter would need to figure out whether it's a pref or addon study by some means.
The text was updated successfully, but these errors were encountered:
Stickyness is the idea that a client will match a certain set of criteria on first enrollment (the first time a recipe is evaluated by the Normandy Client), and a different set of criteria on subsequent evaluations by Normandy Client, so we call the recipe 'sticky'.
The theory is that the first clause matches on first enrollment, and the second clause matches on subsequent enrollments.
An example is here:
The second clause, that the client is enrolled in the study, is automatically generated by the
sticky
filter object, so in this example it would take the first clause in as an argument and automatically wrap it with the second clause.So very roughly, for each of the pref/addon study case:
sticky(A) -> (A || normandy.studies.pref["<pref study slug>"])
sticky(A) -> (A || normandy.studies.addon["<addon study slug>"])
The filter would need to figure out whether it's a pref or addon study by some means.
The text was updated successfully, but these errors were encountered: