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/tests/test_title_parse.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'packages/meshbay-node/tests/test_title_parse.py') diff --git a/packages/meshbay-node/tests/test_title_parse.py b/packages/meshbay-node/tests/test_title_parse.py index 56f4e20..bbe9afa 100644 --- a/packages/meshbay-node/tests/test_title_parse.py +++ b/packages/meshbay-node/tests/test_title_parse.py @@ -95,12 +95,12 @@ def test_sequel_variants_reads_a_spelled_out_index(): assert "Story" not in v # keyword present -> no bare base -def test_sequel_variants_star_wars_shape_does_not_offer_the_bare_franchise(): - # Every " Episode " was matching the 1977 original - # because the "Franchise" variant hit it at ratio 1.0 (§10.1/V14). - v = sequel_variants("Star Wars Episode III") - assert "Star Wars" not in v - assert "Star Wars 3" in v +def test_sequel_variants_saga_shape_does_not_offer_the_bare_franchise(): + # Every " Chapter " was matching the franchise's first entry + # because the bare "" variant hit it at ratio 1.0 (§10.1/V14). + v = sequel_variants("Some Saga Chapter III") + assert "Some Saga" not in v + assert "Some Saga 3" in v def test_sequel_variants_ignores_a_trailing_word_that_is_not_an_index(): -- cgit v1.2.3