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
{{ message }}
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.
In order to enable testing and personalization on a section-level, conditional sections allow two modes of operation:
strain-dependent sections: sections that have a strain property set, will only be included in the output if the current strain equals either the value of strain or equals any value of strain if strain is an array.
tested sections: sections that have a test property set will only be included in the output if a test selection algorithm has selected them from all other sections that have the same test value. The algorithm will group all sections based on their test value, then hash the section's contents and the current strain name and select the section with the lowest hash value. This algorithm creates a selection that is random, but stable for stable content and strain names.
The text was updated successfully, but these errors were encountered:
#57
* draft: conditional sections
* section filter
* unit tests for strain-based section filtering
* lint
* add integration test
* make the integration test fail
* fix integration test, flag hidden sections as 'hidden: true'
In order to enable testing and personalization on a section-level, conditional sections allow two modes of operation:
strain
property set, will only be included in the output if the current strain equals either the value ofstrain
or equals any value ofstrain
if strain is an array.test
property set will only be included in the output if a test selection algorithm has selected them from all other sections that have the sametest
value. The algorithm will group all sections based on theirtest
value, then hash the section's contents and the current strain name and select the section with the lowest hash value. This algorithm creates a selection that is random, but stable for stable content and strain names.The text was updated successfully, but these errors were encountered: