Preview with sort effect annotations
When you preview a sort order, the preview panel annotates each product with the sorting rules that affected its position. These annotations make it easy to understand why products appear where they do and to fine-tune your configuration. Each product can display:- Promoted / Demoted badges — color-coded indicators showing which priority rules matched the product and whether they pushed it up (green) or down (red).
- Soft Boost badges — indicators showing which soft boost expressions matched, labeled with the concrete effect: positions moved (e.g.
+3 positions) when the product’s rank changed, or the raw lift value when it didn’t. Movement is signed, so a match that spacing seated lower readsMoved down by spacing, and a match with no movement reads#N (no change). A match that could not be spaced out because the cohort exceeded the spacing budget is labeledBoosted · over spacing capacityand keeps its incoming rank. Hover a product to see a scoring card that breaks down the base value, position change, lift, and final score for each matched boost. Matched boosts appear even when the lift is zero. The card also notes when Layers switched a boost from multiplicative to additive because the base values were too large for the decay. - Sequence badges — indicators showing when a product was placed by a product sequence. Hover for the tooltip Grouped by product sequence, which confirms the position came from a curated sequence group rather than a metric or rule.
- Diversity badges — Diversity ↑ appears when a product was surfaced to broaden diversity coverage (tooltip: Surfaced for coverage). Diversity ↓ appears when a product was pushed down because its family already filled the diversity cap (tooltip: Capped by family limit).
- Metric values — the actual value used for sorting when a metric or numeric attribute is part of the sort order. Date attributes are shown as human-readable dates, and values from segmented metrics are tagged
Segmented (…). Hover to see the metric name. - Weighted score breakdown — when a weighted group drove the product’s score, the preview shows a stacked contribution bar and one row per feature. Each row lists the raw value, normalized score, weight share, and contribution (
normalized × share = contribution), followed by a Weighted total. Each row’s color dot matches the feature’s slider tint in the editor. Layers normalizes scores against the current result set, so compare contributions within a preview rather than absolute values across sort orders. Features that are gated out or have no value for the product render as—with a0contribution.