-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Further improvement in regards to #1375. Since we have the valid logic for fair bots matching now, we can make use of it for trying to optimize the selection algorithm. MatchEverything bots should still take priority over fair bots as long as possible, and this is why we'll need **consecutive** 20 empty matches with them before switching to fair bots next. This has the advantage of not switching to fair bots as long as it makes sense, and make the switch only at the point where matching any bots doesn't have a point anymore, and fair bots, despite their lower success chance, are preferred. While the algorithm is not perfect, it should be good enough for achieving satisfying results, as the next step would involve per-user sets database, which is too much effort for this feature to consider.
- Loading branch information
Showing
1 changed file
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters