tfl-shell-to-ars-metadata: files ars_reporting_event_as_written.json The AI's JSON, unedited. It FAILS the CDISC ARS v1.0 schema: version is the string "1". ars_reporting_event_fixed.json The same file with one change: "version": 1 (a number). It passes the schema. ars_analyses.csv The 7 analyses in one table, for reading. Made from the fixed file. gaps_listed_by_the_AI.txt What the AI said it could not determine. tfl-shell-to-ars-metadata_validate.py Validates a JSON file against the ARS schema (needs: pip install jsonschema). check_bindings.R Checks the dataset and variable bindings against the CDISC pilot ADQSADAS data. *_output.txt files validator_output.txt and check_bindings_output.txt from a re-run on 2026-10-24 (workflow page, under Scripts and full run). Passing the schema is not the same as being right. The fixed file selects 237 rows for 234 subjects at Week 24 (it has no ANL01FL = Y condition) and uses SITEID, not the pooled site. See check_bindings_output.txt. Schema: model/ars_ldm.json from https://github.com/cdisc-org/analysis-results-standard (commit bbebea4, MIT licence for code, CC BY 4.0 for content). It is not included here; clone the repository. Validate with: python -I tfl-shell-to-ars-metadata_validate.py path/to/ars_ldm.json ars_reporting_event_fixed.json The scripts read the public CDISC SDTM/ADaM pilot project files (study CDISCPILOT01). The data are not included. Download the unmodified .xpt files from https://github.com/cdisc-org/sdtm-adam-pilot-project (folder updated-pilot-submission-package/900172/m5/) and put them in one folder. Credit: CDISC; used under the terms in the repository README. check_bindings.R: Rscript check_bindings.R path/to/the/data/folder Needs R (tested with 4.6.1) and the packages named in each script header (haven, dplyr, stringr, tidyr). Compare your console output with the matching *_output.txt file (workflow page, under Scripts and full run). Package start-up messages and version lines may differ. Licence: MIT (LICENSE.txt) for the scripts. The JSON is a draft produced by an AI from CDISC pilot material.