Get the script that measures the data
prepare_scriptReturns measure.py with a confirmed spec written in: a fixed Python script (standard library, no network, fixed seeds) that counts what each check needs from a data file and prints those counts with its own fingerprint and no rows. Reads .csv or .json. If the spec has errors, returns the errors instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | The spec from start_audit, as confirmed by the person. | |
| columns | No | Optional: the column names of the file, to check the spec refers to real columns. |