oTree Forum >

Random Stranger Matching

#1 by Sarah

Hello everyone,

I plan to implement a completely random stranger matching over 8 rounds (new partner after every round), and I used this example https://s3.amazonaws.com/otreehub/browsable_source/1e38462b-46c7-4ca1-bca5-536462f90131/gbat_new_partners/index.html for my purpose. 

However, in some rounds, there might be cases in which two of the participants who have already been matched in the previous round (the slowest ones) might not be matched with any other participants in the next round. 
I know that to solve this problem I need to provide a pre-defined matching table. But I am wondering whether anyone has experience with that and knows how to do so.

Thank you in advance. 


Write a reply

Set forum username