saayam-for-all / volunteer

This repo contains all user (basic users and volunteers) related code
0 stars 1 forks source link

Volunteer matching based on help request category #4

Open RaoBhethanabotla opened 7 months ago

RaoBhethanabotla commented 7 months ago

Based on the help request category and requestor id, volunteer micro service needs to find a set of matching volunteers. Our logic should use the help request category, requestor attributes like location, language preference etc and do a query to find suitable volunteers in our database. When we find too many volunteers, DO NOT send all the information once. The caller of this API should have set a pagination request i.e. number of records at a time. If this parameter is NOT set, volunteer micro service should use a default pagination parameter for NOT to flood the caller.

vyshnaviryali commented 2 months ago

Connected with @hussainmudassir to discuss on volunteer matching algorithm. Implemented algorithm which matches volunteers based on below factors in order

  1. Request Category -> Skills required -> Active Volunteers with those skills
  2. Request Type - in person -> location (city, zipcode) -> languages (1,2,3) -> skill level -> skill last used date
  3. Request Type - remote -> languages(1,2,3) -> skill level -> skill last used date

ToDo - Testing - Insert more data into db to test above with all possible scenarios

vyshnaviryali commented 2 months ago

Pushed code changes to remote branch

Below are factors considered as of now for volunteer matching algorithm