{
  "artifact": "D11-011 popularity and freshness policy",
  "version": "d11-011.v1",
  "generated_at_utc": "2026-09-08T13:07:57Z",
  "production_changed": false,
  "privacy": {
    "identity": "anonymous first-party pseudonymous visitor key; account link only after explicit login",
    "retention": "event-level data 180 days; aggregated article signals 24 months; delete/export path required",
    "consent": "store only necessary product analytics; provide notice and opt-out before production rollout"
  },
  "signals": [
    {
      "name": "open",
      "weight": 1,
      "window": "30d",
      "decay": "half-life 30d"
    },
    {
      "name": "meaningful_read",
      "weight": 3,
      "window": "30d",
      "decay": "half-life 45d",
      "threshold": "active time >= 20s and visibility >= 50%"
    },
    {
      "name": "return_to_article",
      "weight": 4,
      "window": "90d",
      "decay": "half-life 90d"
    },
    {
      "name": "save_or_subscribe",
      "weight": 6,
      "window": "180d",
      "decay": "half-life 180d"
    },
    {
      "name": "search_click",
      "weight": 2,
      "window": "30d",
      "decay": "half-life 30d"
    }
  ],
  "formula": "interest(u,a)=sum(weight(signal)*decay(age)); recommendation_score(a)=0.55*personal_interest + 0.25*quality + 0.20*freshness",
  "freshness": "freshness=exp(-ln(2)*age_days/30); published_at UNKNOWN uses first_seen only for freshness with lower confidence",
  "cold_start": "anonymous/new visitor receives popular published articles from last 30d with topic diversity and language match; no personal inference until events exist",
  "diversity": "maximum 2 consecutive cards from one topic/cluster; mix 6 top-level topic groups when inventory allows",
  "unknown": "unknown/no_access/not_tested signals are excluded from numerator and reduce confidence, never treated as zero engagement",
  "guardrails": [
    "published articles only",
    "exclude hidden, restricted and deleted material",
    "cap one visitor contribution per article per session window",
    "do not use email address, password, raw IP or external ad identifiers for ranking",
    "log model_version and input signal IDs",
    "fallback to deterministic catalog order if scoring fails"
  ],
  "evaluation": [
    "offline replay against held-out clicks/read events",
    "coverage, diversity, freshness and repeat-visit rate",
    "compare personalized vs popular baseline",
    "segment by language and anonymous/account state",
    "rollback on unexplained CTR/read-quality degradation or privacy failure"
  ],
  "rollout": "shadow score → internal preview → 5% published traffic → 25% → 100%; each step requires evidence and rollback decision"
}
