Geo Matching Service
Component Detail
Service Layer
medium complexity
backend
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Backend service that computes ranked mentor matches for an assignment by combining mentor geographic data with availability status and active assignment load. Returns a sorted candidate list consumed by the dispatch workflow.
geo-matching-service
Sources & reasoning
Listed in §8 area taxonomy under geographic-map-view. §3.1 ties geographic visualization explicitly to 'matching og oppdragstildeling' (matching and assignment dispatch). Phase derived from §5 Fase 3 which places the area in Growth & Engagement; no earlier phase mentions it.
-
docs/source/likeperson.md · line 61Geografisk kartvisning av likepersoner for matching og oppdragstildeling (særlig store fylker).
-
docs/source/likeperson.md · line 359geographic-map-view | Geographic Map View | Peer Mentor Map, Assignment Matching by Geography
Responsibilities
- Compute distance between contact location and registered mentors
- Filter mentors by availability and current assignment load thresholds
- Rank candidates by composite proximity and capacity score
- Expose ranked match results to the encrypted assignment dispatch flow
- Log matching requests for auditability without exposing sensitive contact data
Interfaces
findMatches(contactLocation, assignmentId): MentorMatch[]
rankCandidates(candidates): MentorMatch[]
getMentorLoad(mentorId): LoadStatus