Review a define.xml for readability and obvious inconsistencies
AI reads the text of a define.xml or its table export and flags missing descriptions, inconsistent derivation wording or labels. It cannot validate the file; a CDISC validator and human review do that.
Untested ideaMedium risk
Evidence
Untested idea. No evaluation found. Public CDISC pilot define.xml files may be usable for a trial run (we have not checked). The prompt has not been run.
Steps
- Export dataset, variable and derivation text to a table.
- Run the review prompt.
- Verify findings in the define file.
- Run your validator separately.
- Document resolved comments.
Prompt
This is the prompt, typed out. No assistant reply is shown.
You
From the define.xml extract below (variables with label, type, origin, derivation or comment), list: missing or very short derivation descriptions, inconsistent wording for the same derivation across datasets, labels that differ from the same variable elsewhere, and origin values that look inconsistent with the derivation text. Cite dataset and variable for every finding. Do not claim the file is valid or compliant.
Rules: use ONLY the input below. Tag anything the input does not state as OPEN QUESTION. Never invent numbers; use placeholders such as xx. Do not claim anything is verified.
INPUT:
[paste input here]
Verify before you use it
- Each finding is visible in the source file.
- Your validator was run separately.
- Origin and derivation text match the real program.
- Labels follow the standard you use.
- Final file is regenerated by your normal process.
How it fails
The AI implies compliance or misses a structural error because it reviews text, not the XML rules.
Data rule: No confidential define files or specs. Use the public CDISC pilot define.xml.