I built a webapp with a system similar to tinder (Like/Dislike/Match), I’m stuck on one point.
I’d like to show the current user randomly (1/2 or 1/3) users who liked him.
I managed with the constraint to show all the users who liked him but I couldn’t make these users be spread among all the users, moreover once all the users who liked me are empty, the constraint continues to act and therefore doesn’t show the users who haven’t liked me yet.
I’m not entirely sure if I understand you correctly, but:
use sorted randomly?
“spread among all the users” you mean randomly showing people who liked me right? again try random sorting.
It sound like simple constraint: When: Do a search for: people who like me count is 0 then data source: do a search for people who haven’t liked me yet.
I wasn’t clear with the term “random”, I would like a user who liked me to appear more often in order to make the Match easier.
Today I have a lot of users so the probability of being shown a person who liked me is low.
I would like the probability to be 1 in 3 for example.
The problem is the “ramdom sorting” does not allow me to do or I made a mistake