-
Notifications
You must be signed in to change notification settings - Fork 206
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
Matching 1:1 with odd number of team members? Will one user be exluded? #72
Comments
Yes, one user will be excluded, and he will not be notified about it. |
|
A simple alternative behaviour to this could be, If Users = Odd, randomly select 1 user and append them to the end of the User list, making the list even, but subject to one users getting two suggestions. In ../IcebreakerBot.cs
|
Could you let me know where I would access this please? Thank you |
If Users = Odd, randomly select 1 user and append them to the end of the User list, making the list even, but subject to one users getting two suggestions. OfficeDev#72 (comment)
Thanks for sharing, do we just need to add this in IcebreakerBot.cs after |
Finding and replacing the existing "MakePairs" method on line 192 of "MatchingService.cs" should do the trick. Although please check an alternative to this suggestion hasn't been added elsewhere, its been a while since I've looked at this project. |
@madshaun1984 oh I see now you must have just accidentally referenced the wrong file initially, instead of IceBrakerBot.cs the code changes you suggested relate to MatchingService.cs which I can now recognise and make sense, cheers. it's on line 192 in the main branch but for v2/main it's on line 259. The additional code to insert that you suggested is:
I had another search for "uneven" / "even" related issues but found nothing, this seems to be the only post dealing with this. |
The text was updated successfully, but these errors were encountered: