StatAgentWeekly email

Convert external ADaM code and specs to internal templates, with human review

A Merck framework uses an LLM API plus rule-based fixers to convert acquired-study ADaM code and specs to internal standards. Statisticians review ambiguous derivations. It is a company workflow, not a chat prompt.

Reported in literatureHigh risk

Task
ADaM and SDTM
Roles
Programmer, Statistician, Manager
Assistants
Microsoft 365 Copilot, ChatGPT, Claude
Last reviewed

Evidence

Reported in literature. PharmaSUG 2026 AI-332 (Merck authors) describes the framework and reports a validation on one oncology transfer of six ADaM datasets, with SAS runs described as generally successful. The 60-70% cut in time to a first draft is the authors' own estimate, not a controlled evaluation. Limitations are listed.

Steps

  1. Provide internal templates as the reference.
  2. Convert code and spec under constraints.
  3. Apply deterministic fixers for recurrent syntax issues.
  4. Execute and review the converted programs.
  5. Statisticians decide ambiguous derivations.

Verify before you use it

How it fails

Collapsing or re-deriving variables such as AE fields without statistical input changes analysis meaning.

Data rule: No acquired-study code, specs or data in public AI tools. Any use needs approved enterprise tooling and policy clearance.

Sources

Related

How we check. Back to the directory.