Calculates the specificity score of a RequestSetting for a given scope. The score is calculated based on matching criteria:
RequestSetting object to check against
Optional
Optional scope object containing modelId, providerId, and agentId
Specificity score (-1 for non-match, or sum of matching criteria points)
Calculates the specificity score of a RequestSetting for a given scope. The score is calculated based on matching criteria: