Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/ewanc26/pkgs. my pkgs monorepo docs.ewancroft.uk/projects/pkgs
monorepo nix
Something went wrong. Try again.
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.
Author Ewan Croft Date (Aug 13, 2026, 1:45 PM UTC) Commit 9e9d5d02 9e9d5d02d58e95a861b076a82512beeefee95fbd Parent e90fc0fb e90fc0fb7f6fa15051b5e885b204686cd2424ffa