Skip to content

Author diversity resets on every For You request, so the same author repeats across consecutive loads #202

Description

@aunysillyme

Problem
The same author can fill For You across consecutive refreshes and scrolls, because author diversity is computed per request and starts from zero each time.

Current behavior (6bb4594)

Result: an author's first post in every new load gets a full 1.0 multiplier, even if the viewer was shown that author several times in the previous load seconds earlier.

Proposal

  1. Carry recently served author IDs (bounded, e.g. last N requests or last few minutes) with the query.
  2. Seed author_pool_counts with those counts, time-decayed, so diversity continues across loads instead of resetting.
  3. Ship behind a param, off by default, for controlled evaluation.

Related

Open questions

  • Window size and decay rate
  • Whether mutual follows or authors the viewer engages with heavily should get a softer penalty

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions