Loading...
Loading...
Reference for X algorithm engagement types and signals. Use when analyzing engagement metrics, action predictions, or understanding what signals the algorithm tracks.
npx skill4agent add cloudai-x/x-algo-skills x-algo-engagementhome-mixer/candidate_pipeline/candidate.rspub struct PhoenixScores {
// Positive engagement signals
pub favorite_score: Option<f64>,
pub reply_score: Option<f64>,
pub retweet_score: Option<f64>,
pub quote_score: Option<f64>,
pub share_score: Option<f64>,
pub share_via_dm_score: Option<f64>,
pub share_via_copy_link_score: Option<f64>,
pub follow_author_score: Option<f64>,
// Engagement metrics
pub photo_expand_score: Option<f64>,
pub click_score: Option<f64>,
pub profile_click_score: Option<f64>,
pub vqv_score: Option<f64>, // Video Quality View
pub dwell_score: Option<f64>,
pub quoted_click_score: Option<f64>,
// Negative signals
pub not_interested_score: Option<f64>,
pub block_author_score: Option<f64>,
pub mute_author_score: Option<f64>,
pub report_score: Option<f64>,
// Continuous actions
pub dwell_time: Option<f64>,
}| Action | Proto Name | Description |
|---|---|---|
| Favorite | | User likes the post |
| Reply | | User replies to the post |
| Retweet | | User reposts without comment |
| Quote | | User reposts with their own comment |
| Follow Author | | User follows the post's author |
| Action | Proto Name | Description |
|---|---|---|
| Share | | Generic share action |
| Share via DM | | User shares via direct message |
| Share via Copy Link | | User copies link to share externally |
| Action | Proto Name | Description |
|---|---|---|
| Photo Expand | | User expands photo to view |
| Click | | User clicks on the post |
| Profile Click | | User clicks author's profile |
| VQV | | Video Quality View - user watches video for meaningful duration |
| Dwell | | User dwells (pauses) on the post |
| Quoted Click | | User clicks on a quoted post |
| Action | Proto Name | Description |
|---|---|---|
| Not Interested | | User marks as not interested |
| Block Author | | User blocks the author |
| Mute Author | | User mutes the author |
| Report | | User reports the post |
| Action | Proto Name | Description |
|---|---|---|
| Dwell Time | | Continuous value: seconds spent viewing post |
PhoenixScorerhome-mixer/scorers/phoenix_scorer.rsprobability = exp(log_prob)fn extract_phoenix_scores(&self, p: &ActionPredictions) -> PhoenixScores {
PhoenixScores {
favorite_score: p.get(ActionName::ServerTweetFav),
reply_score: p.get(ActionName::ServerTweetReply),
retweet_score: p.get(ActionName::ServerTweetRetweet),
// ... maps each action to its probability
}
}favorite_scorereport_scoreMIN_VIDEO_DURATION_MS/x-algo-scoring/x-algo-ml