mirror of
https://github.com/EddieTheCubeHead/Stagnum.git
synced 2026-04-26 06:05:49 +03:00
[PR #421] [MERGED] 395 improve next song randomization algorithm #429
Labels
No labels
bug
bug
client
design
documentation
feature
feature
infrastructure
pull-request
ready for development
server
server
spike
technical work
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Stagnum#429
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/EddieTheCubeHead/Stagnum/pull/421
Author: @EddieTheCubeHead
Created: 6/24/2025
Status: ✅ Merged
Merged: 6/24/2025
Merged by: @EddieTheCubeHead
Base:
master← Head:395-improve-next-song-randomization-algorithm📝 Commits (7)
91ef10b#395 Ignore users with no songs eligible for playbackf3e99fc#395 Finally got the test for diminishing playback time weight based on time since play workingae6b816#395 Implement functionality, fix tests3d4b203#395 Fix test, fix queue decay001e4fd#395 Get history threshold from env, test number tweaking54b46f9#395 Implement marking all clones of a member as played when playing onec02fe84#395 Update ruff and fix problems found📊 Changes
14 files changed (+519 additions, -182 deletions)
View changed files
➕
server/src/alembic/versions/22d3b92264b6_add_playback_history_support_to_database.py(+40 -0)📝
server/src/api/common/dependencies.py(+3 -16)📝
server/src/api/pool/dependencies.py(+46 -6)📝
server/src/api/pool/randomization_algorithms.py(+37 -20)📝
server/src/database/entities.py(+31 -5)➕
server/src/datetime_wrapper_raw.py(+14 -0)📝
server/test/auth_features/conftest.py(+2 -94)📝
server/test/conftest.py(+110 -2)📝
server/test/helpers/classes.py(+4 -1)📝
server/test/pool_features/conftest.py(+51 -3)📝
server/test/pool_features/refresh_token_features.py(+1 -18)📝
server/test/pool_features/weighted_randomization_features.py(+164 -12)📝
server/test/test_types/callables.py(+15 -4)📝
server/test_requirements.txt(+1 -1)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.