twitter / GraphJet

GraphJet is a real-time graph processing library.
Apache License 2.0
713 stars 111 forks source link

Update how socialProofTypes are used for filtering #57

Closed rossides closed 7 years ago

rossides commented 7 years ago

1) Only use valid social proof types when checking for minUserSocialProof for tweets

2) Return all the social proof types of the Recommendation. Do not filter only the valid social proof types.

For example, for minUserSocialProof = 2 and socialProofTypes=(Favorite, Tweet, Retweet), a candidate will not be generated if it only has 2 replies, but if it has 2 Favorites and a Reply then all those social proofs will be returned in the Recommendation.