Matching Scoring
Weights
An engineering baseline, not a business or regulatory rule.
| Factor | Weight |
|---|---|
| Route compatibility | 35 |
| Pickup compatibility | 20 |
| Dropoff compatibility | 20 |
| Time compatibility | 15 |
| Seats | 10 |
| Total | 100 |
Not hard-coded
Weights are configuration, not constants:
json
{
"routeWeight": 35,
"pickupWeight": 20,
"dropoffWeight": 20,
"timeWeight": 15,
"seatWeight": 10
}They are tunable during the pilot without a code change, and validated against real pilot data rather than assumed correct.
Detour thresholds
Detour limits are policy, not scoring. They are expressed in the active policy version rather than as weights:
json
{
"matching": {
"maxDetourMeters": null,
"maxDetourSeconds": null
}
}A null value means the threshold must be supplied by an approved policy — it does not mean unlimited.
The distinction matters: weights determine the order compatible options appear in, which is a product judgement. Detour limits determine what is permitted, which is a regulatory judgement. The second must never be adjusted by tuning the first.
