define-derivation-pseudocode: files pseudocode.docx Numbered pseudocode for the ADAE derivations, the AI's flagged ambiguities, and the match table. derive_adae.py The Python the AI wrote, exactly as written (comment header added). derive_adae_and_compare.py The same derivation plus a record-by-record comparison with adam_adae.xpt. variable_match.csv 14 derived columns: records matching, as written and with the SOC spelling fixed. *_output.txt files Output from a re-run on 2026-10-24 (Python 3.14, pandas 3.0) (workflow page, under Scripts and full run). Run: python -I derive_adae_and_compare.py sdtm_ae.xpt adam_adsl.xpt out.csv adam_adae.xpt [--fix-soc-typo] Needs Python 3, pandas, numpy. 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. Licence: MIT (LICENSE.txt). Not validated software.