[READ-ONLY] Mirror of https://github.com/ewanc26/pkgs. my pkgs monorepo docs.ewancroft.uk/projects/pkgs
monorepo nix

fix(tourmaline): compute mood and obscurity from full artist history master

Both iterated data.topArtists (capped at 50 by play count), while genres.ts deliberately iterates the full artistPlayCounts map "to capture the long tail of less-played genres". Artist enrichment already fetches info for every unique artist a listener has, not just their top 50, so mood/obscurity were leaving that already-fetched data on the table — for any listener with more than 50 distinct artists (most listeners with real history), both scores were computed on an arbitrarily truncated, less representative subset for no reason.


+8 -2
2 changed files