mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-12-22 02:01:51 +01:00
Update ExternalDataSources.scala
I noticed that the "Interested in" recommendations had a lookback window of 14 days. I regularly use the "Not interested in this tweet" functionality, but notice topics I'm not interested in still seem to appear at times. I've modified the lookback window of the "Not interested in" topics to have the same 14-day lookback window for both consistency and perhaps improving on this functionality as users' dislikes are unlikely to change that quickly.
This commit is contained in:
parent
ec83d01dca
commit
0dc2f6837c
@ -330,7 +330,7 @@ object ExternalDataSources {
|
||||
DAL
|
||||
.readMostRecentSnapshotNoOlderThan(
|
||||
UserInterestRelationSnapshotScalaDataset,
|
||||
Days(7)).withRemoteReadPolicy(ExplicitLocation(ProcAtla)).toTypedPipe.collect {
|
||||
Days(14)).withRemoteReadPolicy(ExplicitLocation(ProcAtla)).toTypedPipe.collect {
|
||||
case userInterestsRelationSnapshot: UserInterestsRelationSnapshot
|
||||
if userInterestsRelationSnapshot.interestType == "UTT" &&
|
||||
userInterestsRelationSnapshot.relation == InterestRelationType.NotInterested =>
|
||||
|
Loading…
Reference in New Issue
Block a user