Strengthen out-of-season holiday filtering in discover recommendations - #104
Merged
Merged
Conversation
The previous out-of-season penalty (-0.14) was too weak to suppress Christmas movies (e.g. The Grinch, Jack Frost) in the "Top Picks For You" and "Comfort Rewatches" rows during non-holiday months. A highly-rated Christmas movie could score ~0.46 even after the penalty, still ranking in the top results. Two changes: - Increase the out-of-season penalty from -0.14 to -0.40, which drops a full-strength holiday item from ~0.60 to ~0.20, pushing it well below typical non-holiday candidates. - Expand HOLIDAY_STRONG_TERMS to include "grinch", "krampus", and "nutcracker", and HOLIDAY_SOFT_TERMS to include "jack frost" and "santa claus", so iconic Christmas characters in titles are caught even when TMDB keyword tags are absent. https://claude.ai/code/session_01XpYeZusWXu9yNUZiZMqzVw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The previous out-of-season penalty (-0.14) was too weak to suppress Christmas movies (e.g. The Grinch, Jack Frost) in the "Top Picks For You" and "Comfort Rewatches" rows during non-holiday months. A highly-rated Christmas movie could score ~0.46 even after the penalty, still ranking in the top results.
Two changes:
https://claude.ai/code/session_01XpYeZusWXu9yNUZiZMqzVw
Summary
Validation
Migration Sync Gate (Required for
dev->latestsync PRs)cd src && python manage.py makemigrations --mergerun for affected apps.cd src && python manage.py check_migration_hygiene --strictpassed.scripts/replay_upgrade_matrix.sh --from-tag <previous_release_tag> --to-ref latest --db sqlite,postgres --with-drift-scenariospassed.coverage run src/manage.py test app users integrations lists events --parallelpassed.Notes
Refs #101).