carlosvegap / capstone-kickoff

0 stars 0 forks source link

match according to user's priority preferences #53

Closed CarLosVegga closed 1 year ago

CarLosVegga commented 1 year ago

Hi everyone!

It is now checking if the user wants to prioritize the order in which the preferences are being held. From that, it calculates the points following the algorithm:

1) The mean that a restaurant has on a feedback id divided by the max value on that feedback area 2) The priority is set by the length of how many feedback areas there are, and the current index. in that sense, if there are 10 feedback areas and the first one is product's quality, the result in 1) is multiplied by 10 (10 - 0). 3) Order the preferences according to the matchScore

https://user-images.githubusercontent.com/60989884/181828568-fb312aba-da2c-46af-a506-4b6b540d8227.mov

CarLosVegga commented 1 year ago

I wanted to say that I uploaded this PR before getting the feedback for the last one, so there are some changes that are still pending