OfficeDev / microsoft-teams-apps-icebreaker

Icebreaker is an open-source app for Microsoft Teams that helps the whole team get closer by pairing members up every week at random to meet for coffee, burgers, pizza, or a walk around the block.
MIT License
174 stars 206 forks source link

Always the same match #235

Closed Rob1112 closed 2 years ago

Rob1112 commented 2 years ago

Hello together,

I use the Icebreaker-App in my Teams-App. We are 14 people in the Icebreaker-Group. Our problem is, that we get always the same two matches. For example: In the first week, person A and B are a match, person C and D and so on. In the second week, there are some other matches, but there are also th same matches. In the third week, there are the same matches as in the first week.

Is there any random-factor in the code, which we can change for more difference?

Greetings Robert

Porkai-Pandian commented 2 years ago

Hi @Rob1112,

Thank you for reaching out to us with the query, matching happens based on number of opt in users. Please check if there are any users who paused the matches, if so there are chances that the number of user count will reduce.

Logic for matching is written in this file , you can check it.

Below is the screenshot to check how many users opted in/out for matches, you can get this data from Azure Cosmos DB account for your application,

image

Porkai-Pandian commented 2 years ago

Hi @Rob1112, hope we've answered your question, closing this issue, in case you have any follow-up questions, please create new issue