Diversity Hiring Rate
Diversity Hiring Rate: Percentage of new hires from underrepresented groups.
Formula
Diversity Hiring = URG hires / Total hires × 100 Computable definition
The canonical formula in the GASP formula grammar. The MCP server compiles it to SQL over the datasets listed below.
count_distinct(field.employee_id where field.underrepresented_group = true and field.hire_date >= period_start and field.hire_date <= period_end) / count_distinct(field.employee_id where field.hire_date >= period_start and field.hire_date <= period_end) Unit: percent (the formula yields an unscaled ratio)
Data requirements
Grain: Per event · Frequency: Per hire · Aggregation: event · Staged: no · Main source: HRIS.
| Field | Dataset | Type |
|---|---|---|
employee_id | employee | string |
hire_date | employee | date |
snapshot_date | employee | date |
underrepresented_group | employee | boolean |
Example SQL (Postgres)
SELECT (CAST((SELECT COUNT(DISTINCT employee_id) FROM employee WHERE snapshot_date = :period_end AND ((underrepresented_group = TRUE AND hire_date >= :period_start) AND hire_date <= :period_end)) AS DOUBLE PRECISION) / NULLIF((SELECT COUNT(DISTINCT employee_id) FROM employee WHERE snapshot_date = :period_end AND (hire_date >= :period_start AND hire_date <= :period_end)), 0)) AS diversity_hiring_rate From an agent: with the GASP MCP server, call
lookup_metric({ "name": "Diversity Hiring Rate" }) or generate_query({ "metric": "Diversity Hiring Rate", "adapter": "<your adapter JSON>" }).
What It Tells You
Progress on diversifying the workforce.