From d5fc45ff907e618d884a8d2d91c1f2b45e6898d1 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sun, 30 Aug 2026 17:05:15 +0200 Subject: chore: scrub copyrighted names from tests, comments and docs Real franchise / show / release-group names had crept back into test fixtures, code comments, a docstring and docs/mediacenter.md while fixing the saga-match and misclassification bugs. Replace them all with invented placeholders ("Some Saga", "A Different Show") and shape descriptions ("a franchise-origin film", "a 3-season show"). Behaviour and assertions unchanged; 738 node tests still pass. Record the rule in CLAUDE.md so it stops recurring. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_018BMLQjqFGCize2KtNBT79v --- packages/meshbay-node/src/meshbay_node/indexer/title_parse.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'packages/meshbay-node/src/meshbay_node/indexer/title_parse.py') diff --git a/packages/meshbay-node/src/meshbay_node/indexer/title_parse.py b/packages/meshbay-node/src/meshbay_node/indexer/title_parse.py index 032dc58..beb0d3f 100644 --- a/packages/meshbay-node/src/meshbay_node/indexer/title_parse.py +++ b/packages/meshbay-node/src/meshbay_node/indexer/title_parse.py @@ -154,11 +154,12 @@ def sequel_variants(title: str) -> list[str]: index re-rendered as digit and as Roman numeral, plus (only when there is no "Part"/"Episode"/… keyword) the bare base. - The bare base is withheld for a keyword'd index — "Star Wars Episode - III" → "Star Wars" — because a franchise's bare name is very often a - real, *different* film (the 1977 original), and that variant matched - every episode to it (§10.1/V14). Without the keyword ("Jurassic Park 3") - the number is decoration and "Jurassic Park" is the right base to try. + The bare base is withheld for a keyword'd index — " Chapter III" + → "" — because a franchise's bare name is very often a real, + *different* film (the series' first entry), and that variant matched + every later entry to it (§10.1/V14). Without the keyword (" + 3") the number is decoration and the bare base is the right thing to + try. """ m = _TRAILING_INDEX_RE.match(title.strip()) if not m: -- cgit v1.2.3