feed: trending objects/actors by recent activity window, deterministic tiebreak + 11 tests
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 40s

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-06 16:55:55 +00:00
parent 0122c41ecb
commit 6fc61147a8
6 changed files with 136 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ APL, ACL visibility filtering via `lib/acl/`, federation via fed-sx.
## Status (rolling)
`bash lib/feed/conformance.sh`**143/143** (Phases 14 + TF-IDF + notifications + home + smart-dedupe)
`bash lib/feed/conformance.sh`**154/154** (Phases 14 + TF-IDF + notifications + home + smart-dedupe + trending)
## Ground rules
@@ -151,6 +151,9 @@ are function parameters. Real acl-sx / fed-sx wire in at the call site unchanged
`feed/smart-key`: reactions (like/follow/boost/...) collapse cross-actor on
(verb,object); posts stay distinct per actor. `feed/collapse-verbs` is
rebindable policy; 9 tests. (143/143 total.)
- [x] Trending — `feed/trending` / `feed/trending-actors`: objects/actors ranked
by activity count in a recency window, count-desc with key-asc tiebreak
(`trending.sx`); 11 tests. (154/154 total.)
(none)