Skip to main content

Function: scoreApplication()

scoreApplication(inputs, profile): number

Defined in: src/lib/recruiting/scoring.ts:94

The 0–100 fit score for an application, given its sub-scores and scoring profile. Because every weight column sums to 100, the weighted sum of 0–100 sub-scores is itself in [0, 100]. Returns an integer (rounded half away from zero) to match the smallint storage.

Parameters

inputs

ScoreInputs

profile

"mds" | "chart_review" | "care_coordination" | "generalist"

Returns

number