Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use weighted random score #231

Closed
wants to merge 1 commit into from
Closed

Use weighted random score #231

wants to merge 1 commit into from

Conversation

jamesbayly
Copy link
Contributor

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue) Ticket # (ticket number)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Changes

  • First change
  • Second change
  • etc

@HuberTRoy
Copy link
Member

We plan to choose another way to replace score system.

https://onfinality.atlassian.net/browse/SQN-2109

@jamesbayly
Copy link
Contributor Author

This is fundamentally the same way, except its a cleaner implementation of how you propose to select the index, i suggest going this way

It does not restore the score, I suggest writing a cron expression to go through all scores each 30mins to divide scores again by 0.1. This will slowly restore scores that are working to 100, and mean scores vary between 0 and 100 constantly
score = Math.Min(score / 0.1, 100)

@HuberTRoy
Copy link
Member

#241 close this PR, Jacob did a version about scores.

@HuberTRoy HuberTRoy closed this Jan 22, 2024
@mzxyz mzxyz deleted the weighted-random-score branch February 21, 2024 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants