sonda/internal/taste
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi d251cc4f39 fix(taste): order by the score, clamp future events, keep tags short
- Order the liked artists by the weighted sum, not by tanh, which rounds to
  exactly 1 after about 58 listens and made heavy artists tie.
- An event dated after now counts as happening now, also for the last listen.
- Genres of files that are gone no longer shape the tag profile, as in
  /artists/{id}/tags.
- The tag list is capped at 50.
- A zero half-life falls back to 90 days instead of producing NaN.
- Document the 10 half-lives window and the new rules in the spec and README.
- Tests: heavy artists keep their order, tracks with two artists credit both,
  genres of a missing file are left out, the tag cap, a zero half-life.
2026-11-11 18:52:08 +01:00
..
service.go fix(taste): order by the score, clamp future events, keep tags short 2026-11-11 18:52:08 +01:00
service_test.go fix(taste): order by the score, clamp future events, keep tags short 2026-11-11 18:52:08 +01:00
taste.go fix(taste): order by the score, clamp future events, keep tags short 2026-11-11 18:52:08 +01:00
taste_test.go fix(taste): order by the score, clamp future events, keep tags short 2026-11-11 18:52:08 +01:00