x-algorithm: Core code that determines which posts a viewer sees in the For You feed on X.
What problem it solves A personalized feed must select relevant posts, rank them, and determine whether they can be shown. The implementation combines posts from followed and unfollowed accounts with filtering, transformer-based ranking, labeling, and visibility controls. Key features Personalized candidate retrieval — The feed gathers candidates from accounts the viewer follows and from accounts …
github.comhttps://github.com/xai-org/x-algorithm