mirror of
https://github.com/EddieTheCubeHead/Stagnum.git
synced 2026-04-26 14:15:50 +03:00
[PR #154] [MERGED] 66 implement basic control over pool playback randomization #297
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#297
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/154
Author: @EddieTheCubeHead
Created: 3/30/2024
Status: ✅ Merged
Merged: 4/1/2024
Merged by: @EddieTheCubeHead
Base:
master← Head:66-implement-basic-control-over-pool-playback-randomization📝 Commits (10+)
cc934fd66 Update database models to include required data6865e7666 Work towards randomization algorithm052f73066 Pool member weighted randomization works. Now onto user weighted randomizationb7316c666 More tests, small refactorings3e4a5c866 Technical base for user playtime tracking13bb8c466 User based randomization works94059cbMerge branch 'master' into 66-implement-basic-control-over-pool-playback-randomizationaf756f766 Register custom marker so CI/CD passesc82d5abMerge branch '66-implement-basic-control-over-pool-playback-randomization' of github.com:EddieTheCubeHead/Poolify into 66-implement-basic-control-over-pool-playback-randomizationa1226db66 Shorten test runtime📊 Changes
14 files changed (+580 additions, -51 deletions)
View changed files
📝
example.env(+7 -1)📝
server/README.md(+17 -4)📝
server/pytest.ini(+2 -1)➕
server/src/alembic/versions/25c34e5bf930_data_changes_required_for_pool_.py(+38 -0)📝
server/src/api/pool/dependencies.py(+62 -13)➕
server/src/api/pool/randomization_algorithms.py(+166 -0)📝
server/src/api/pool/tasks.py(+4 -3)📝
server/src/database/entities.py(+20 -2)📝
server/test/conftest.py(+37 -7)📝
server/test/pool_features/conftest.py(+38 -12)📝
server/test/pool_features/delete_content_features.py(+1 -0)📝
server/test/pool_features/playback_features.py(+5 -7)📝
server/test/pool_features/shared_pool_features.py(+4 -1)➕
server/test/pool_features/weighted_randomization_features.py(+179 -0)📄 Description
Most of the changes are in randomization_algorithm.py
Everything tested
User randomization is really agressive in the beginning and scales back quickly. Need to figure out something less agressive / more balanced in the future, but works for now.edit: a less agressive algorithm has already been implemented on the PR🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.