StatAgentWeekly email

Find the right pharmaverse or admiral function for an ADaM derivation

AI suggests which admiral or pharmaverse functions fit a derivation and sketches a call. It can name functions that do not exist, so you confirm each against the package documentation.

Untested ideaMedium risk

Task
Programming
Roles
Programmer
Assistants
Microsoft 365 Copilot, ChatGPT, Claude
Last reviewed

Evidence

Untested idea. Plausible and possibly useful for beginners, but we found no evaluation and did not open the package documentation. AI-242 mentions made-up functions in SAS-to-R translation, not for admiral. Prompt not run.

Steps

  1. Describe the derivation without study data.
  2. Ask for candidate functions and argument names.
  3. Look each up in the package reference.
  4. Run on pharmaverseadam or pharmaversesdtm test data.
  5. Compare with your spec.

Prompt

This is the prompt, typed out. No assistant reply is shown.

You
For the ADaM derivation below, suggest which admiral functions could do it and why. For each function give the package, the arguments you expect to use and what you are unsure about. If you are not certain a function exists, write NOT SURE. Do not write more than a sketch; I will check each name against the documentation. 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

How it fails

The AI invents function names or arguments, or uses ones from a different package version.

Data rule: No specs, variable names or derivations from confidential studies. Describe derivations generically.

Sources

Related

How we check. Back to the directory.