Facet.
A proxy of the membership engine built by one procedure, with its four views
Figure 1Facetspecified
- kind
- definition
- scope
- follows
- key
- the proxy it is
- store
- postgres
- family
- rules_engine
Fields#
| field | type | required | note |
|---|---|---|---|
proxy | id | yes | |
seed | text | yes | |
candidates | FacetCandidate | yes | each saying which way found it |
bar | number | yes | in lift units, set from both sides: a room is kept when the lower bound of its share, over the seed’s base rate, is at or over it; never under one, which is chance |
base_rate | share | no | the share of everyone active in the window who is the seed’s people: the chance a room’s share is measured against |
negative_controls | ControlResult | yes | |
positive_controls | ControlResult | yes | |
gazetteer | id | no | for a place facet |
scope | Scope | yes | the scope the facet was built at and its memberships land in: shared for a buyers’ facet that every tenant reads, built by the platform’s own tenant; tenant for a tenant’s own facet |
Routes that use it#
/v1/work/build_facetreturns it