fix(settings): deduplicate not-interested list by tmdb_id #12

Merged
aureus merged 1 commit from fix/ratings-not-interested-duplicates into main 2026-05-25 21:15:57 +00:00
Owner

user_discovery has one row per (user_id, audience_id, tmdb_id), so a
user in N audiences would see each skipped item N times. Group by
tmdb_id and take MAX(generated_at) to collapse duplicates.

user_discovery has one row per (user_id, audience_id, tmdb_id), so a user in N audiences would see each skipped item N times. Group by tmdb_id and take MAX(generated_at) to collapse duplicates.
fix(settings): deduplicate not-interested list by tmdb_id
All checks were successful
PR Checks / test (pull_request) Successful in 4m9s
cb8c71cd4a
user_discovery has one row per (user_id, audience_id, tmdb_id), so a
user in N audiences would see each skipped item N times. Group by
tmdb_id and take MAX(generated_at) to collapse duplicates.
aureus merged commit 1c150d7558 into main 2026-05-25 21:15:57 +00:00
aureus deleted branch fix/ratings-not-interested-duplicates 2026-05-25 21:16:00 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aureus/watchcraft!12
No description provided.