Skip to main content

Random (Rule-Based)

info

This is a preview of the new Shaped docs. Found an issue or have feedback? Let us know!

Description

The Random policy assigns a random score to each candidate item, effectively shuffling them randomly. It ignores all user, item, and context information. Primarily used for baseline comparisons, testing pipeline integrity, or implementing random exploration slots.

Policy Type: random Supports: scoring_policy

Configuration Example

scoring_policy_random.yaml
policy_configs:
scoring_policy:
policy_type: random