Commit Graph

5 Commits (083bc137bcb7626a58e6a68b6a31bb971d46fe53)

Author SHA1 Message Date
Eugen Rochko 27965ce5ed
Add trending statuses ()
* Add trending statuses

* Fix dangling items with stale scores in localized sets

* Various fixes and improvements

- Change approve_all/reject_all to approve_accounts/reject_accounts
- Change Trends::Query methods to not mutate the original query
- Change Trends::Query#skip to offset
- Change follow recommendations to be refreshed in a transaction

* Add tests for trending statuses filtering behaviour

* Fix not applying filtering scope in controller
Eugen Rochko 35850f8195
Fix localization of cold-start follow recommendations ()
Takeshi Umeda bda8e4f815
Fix follow recommendation biased towards older accounts ()
Claire d9ae3db8d5
Improve performance of follow recommendation scheduler ()
Express follow_recommendations in terms of account_summaries rather than
accounts, integrate filters that are unconditionally used, and materialize
the resulting view.

This should result in the bulk of the computation being performed only once
instead of **once per recommendation language**.
Eugen Rochko f7117646af
Add cold-start follow recommendations ()