Hiring Fairness — Get Engine Script (large files)
hiring_fairness_get_engineFor hiring files over 5,000 rows, or any ATS export already in your code sandbox. Returns a complete numpy-only Python script with the same engine as hiring_fairness; it reads the file, aggregates candidate rows to group counts on the spot (identifying columns are dropped), prints the decision cards and writes the group-level result to hiring_fairness_result.json. Pass other inputs (selection_ratio, annual_salary, reference_group ...) in params. Group-level output only: never scores or ranks individuals. No candidate data reaches this server on this path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | Other inputs exactly as hiring_fairness takes them (selection_ratio, annual_salary, reference_group ...). | |
| data_kind | No | What the file holds: one row per candidate, counts, or score pairs. | candidates |
| data_path | No | File in your sandbox (CSV/TSV/JSON). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| script | Yes | ||
| language | No | ||
| requires | No | ||
| data_kind | No | ||
| data_path | No | ||
| writes_file | No | ||
| instructions | Yes | ||
| engine_version | Yes | ||
| scipy_required | No | ||
| data_requirements | No | ||
| network_access_required | No |