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 different search expansion for top players #847

Merged
merged 2 commits into from
Oct 23, 2021

Conversation

BlackYps
Copy link
Collaborator

Closes #806
This should enable 2k+ players to match all other 2k players if they are closer than 400 rating. I asked Tagada again and we wanted to have it 2k+ instead of 1.8k+.

@codecov
Copy link

codecov bot commented Oct 11, 2021

Codecov Report

Merging #847 (3ce4a6f) into develop (19bf582) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted Files Coverage Δ
server/config.py 100.00% <100.00%> (ø)
server/matchmaker/algorithm/random_newbies.py 100.00% <100.00%> (ø)
server/matchmaker/algorithm/team_matchmaker.py 96.93% <100.00%> (ø)
server/matchmaker/search.py 96.61% <100.00%> (+0.18%) ⬆️

Copy link
Collaborator

@Askaholic Askaholic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine

self._failed_matching_attempts * config.LADDER_TOP_PLAYER_SEARCH_EXPANSION_STEP,
config.LADDER_TOP_PLAYER_SEARCH_EXPANSION_MAX
)
else:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Else isn't strictly necessary here, but I don't really care in this situation. Maybe you could say it helps readability in this case

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll let it in for the people like me that find code hard to read

@BlackYps BlackYps force-pushed the issue/#806-search-range-for-top-players branch from e8699fd to 3ce4a6f Compare October 22, 2021 20:44
@Askaholic Askaholic merged commit ad70490 into develop Oct 23, 2021
@Askaholic Askaholic deleted the issue/#806-search-range-for-top-players branch October 23, 2021 18: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.

Increase the search range for ladder matchmaking for highest rating bracket (1.8k+)
2 participants