diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-08-30 17:05:15 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-08-30 17:05:15 +0200 |
| commit | d5fc45ff907e618d884a8d2d91c1f2b45e6898d1 (patch) | |
| tree | b368ee90e99254e6d66f0a22324d9d25c5dd0a4a /packages/meshbay-node/tests/test_title_parse.py | |
| parent | b206dc86221d453c699074749f59f1d7cb3d47dc (diff) | |
| download | meshbay-d5fc45ff907e618d884a8d2d91c1f2b45e6898d1.tar.gz | |
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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018BMLQjqFGCize2KtNBT79v
Diffstat (limited to 'packages/meshbay-node/tests/test_title_parse.py')
| -rw-r--r-- | packages/meshbay-node/tests/test_title_parse.py | 12 |
1 files changed, 6 insertions, 6 deletions
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 "<Franchise> Episode <N>" 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 "<Saga> Chapter <N>" was matching the franchise's first entry + # because the bare "<Saga>" 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(): |