[GH-ISSUE #66] Implement basic control over pool playback randomization #49

Closed
opened 2026-02-27 19:16:40 +03:00 by kerem · 0 comments
Owner

Originally created by @EddieTheCubeHead on GitHub (Feb 9, 2024).
Original GitHub issue: https://github.com/EddieTheCubeHead/Stagnum/issues/66

Pool playback is being done on issue #46 with pure randomization from pool.

Create a system that allows weighting the randomization. First weighing criteria should be to apply zero weight into songs recently played, with the weight malus decaying over time. System should use parameters that represent percentages of pool size. There is no need to support changing these parameters via a route in this ticket, but the system should be set up in a way where implementing said system is supported in the future. The system should also support adding multiple dynamic and customizable parameters in the future.

Acceptance criteria: the functionality is tested and implemented including edge cases, the test set passes

Originally created by @EddieTheCubeHead on GitHub (Feb 9, 2024). Original GitHub issue: https://github.com/EddieTheCubeHead/Stagnum/issues/66 Pool playback is being done on issue #46 with pure randomization from pool. Create a system that allows weighting the randomization. First weighing criteria should be to apply zero weight into songs recently played, with the weight malus decaying over time. System should use parameters that represent percentages of pool size. There is no need to support changing these parameters via a route in this ticket, but the system should be set up in a way where implementing said system is supported in the future. The system should also support adding multiple dynamic and customizable parameters in the future. Acceptance criteria: the functionality is tested and implemented including edge cases, the test set passes
kerem 2026-02-27 19:16:40 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Stagnum#49
No description provided.