Skip to main content

Rising Popularity (Rule-Based)

info

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

Description

The Rising Popularity policy ranks or scores items based on their recent increase in popularity or engagement momentum. It identifies items that are rapidly gaining traction over a defined time period, emphasizing the rate of change. Useful for surfacing viral content or breaking news.

Policy Type: rising-popularity Supports: scoring_policy

Configuration Example

scoring_policy_trending_rising_popularity.yaml
policy_configs:
scoring_policy:
policy_type: rising-popular
# Parameters define how trend/momentum is calculated.
# Example parameters:
time_window: 7 # Time window for measuring popularity change (verify syntax/unit)
time_frequency: "1D" # How often the score updates (verify syntax/unit)

Reference

  • Algorithm depends on implementation (e.g., time-series analysis, windowed comparisons). No single standard paper.