Skip to content
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

Back-end: support new hobbies formation #251

Closed
omrihuller opened this issue Apr 10, 2018 · 1 comment
Closed

Back-end: support new hobbies formation #251

omrihuller opened this issue Apr 10, 2018 · 1 comment
Assignees
Labels
Projects

Comments

@omrihuller
Copy link
Collaborator

follow up to #240

@omrihuller omrihuller added this to Backlog in Roommates via automation Apr 10, 2018
@omrihuller omrihuller added this to the Mid Semester POC milestone Apr 10, 2018
@omrihuller omrihuller moved this from Backlog to Tasks for this week in Roommates Apr 10, 2018
@Danielohayon
Copy link
Collaborator

Changed the UserSchema in the backend module to include a new array of hobbies that are blockers called blockers. Meaning that every hobby in the array hobbies is considered as a yes, every hobby in the blockers array is considered as a firm no, meaning a blocker. And finally every hoody that is not in the hobbies array and not in the blockers array is considered as a "Don't Care".

So the heuristic for calculating a match between two users will be as follows:

Person A/Person B I am Don't care No way
I am +1 to the matching sum +0 to the matching sum Matching result is set to 0
Don't care +0 to the matching sum +0 to the matching sum +0 to the matching sum
No way Matching result is set to 0 +0 to the matching sum +1 to the matching sum

Roommates automation moved this from Tasks for this week to Done May 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Roommates
  
Done
Development

No branches or pull requests

2 participants