Skip to content

Conversation

@jakebromberg
Copy link
Member

Stage 1 filtering uses exact artist name matching, which misses releases credited under alternate names (e.g., "Body Count" filed under Ice-T).

Add scripts/enrich_library_artists.py to generate library_artists.txt from library.db and optionally enrich it with three WXYC MySQL sources:

  • LIBRARY_RELEASE.ALTERNATE_ARTIST_NAME (~3,935 alternate names)
  • LIBRARY_CODE_CROSS_REFERENCE (~189 artist-to-artist links)
  • RELEASE_CROSS_REFERENCE (~29 artist-to-release collaboration links)

Integrate as optional step 2.5 in run_pipeline.py via --wxyc-db-url. Add ruff format check to CI and a pre-commit hook for ruff check+format.

Jake Bromberg added 4 commits February 10, 2026 17:23
Stage 1 filtering uses exact artist name matching, which misses releases
credited under alternate names (e.g., "Body Count" filed under Ice-T).

Add scripts/enrich_library_artists.py to generate library_artists.txt
from library.db and optionally enrich it with three WXYC MySQL sources:
- LIBRARY_RELEASE.ALTERNATE_ARTIST_NAME (~3,935 alternate names)
- LIBRARY_CODE_CROSS_REFERENCE (~189 artist-to-artist links)
- RELEASE_CROSS_REFERENCE (~29 artist-to-release collaboration links)

Integrate as optional step 2.5 in run_pipeline.py via --wxyc-db-url.
Add ruff format check to CI and a pre-commit hook for ruff check+format.
Move __future__ imports after module docstrings to fix E402, sort
imports to fix I001, unquote type annotations to fix UP037, and run
ruff format. Set packages=[] in pyproject.toml so setuptools does not
discover non-package directories (hooks, schema, migrations).
The @DataClass decorator needs cls.__module__ to resolve in
sys.modules. Without registration, the importlib-loaded module
has no entry and the lookup fails on Python 3.12+.
@jakebromberg jakebromberg merged commit 4e3475c into main Feb 11, 2026
3 checks passed
@jakebromberg jakebromberg deleted the enrich-library-artists branch February 11, 2026 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant