StatAgentWeekly email

Draft clear data queries from a described discrepancy

AI turns a discrepancy description (variable, expected rule, observed pattern) into a neutral query text for data management. The reviewer checks the facts and wording; patient data are not pasted.

Untested ideaMedium risk

Task
Data review
Roles
Statistician, Programmer
Assistants
Microsoft 365 Copilot, ChatGPT, Claude
Last reviewed

Evidence

Untested idea. No source found. A simple wording task, but query neutrality is a data-integrity matter. Prompt not run.

Steps

  1. Describe the discrepancy with record placeholders.
  2. Run the query prompt.
  3. Check against the data listing yourself.
  4. Follow your query SOP.
  5. Send through the data system.

Prompt

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

You
Draft a data query for data management from the discrepancy below. Include: field and form, what was expected, what was observed (using [VALUE] placeholders), a neutral question to the site, and a response request. Do not suggest a correct value and do not hint at the expected result. Keep it under 80 words. 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

A leading query suggests the 'right' answer to the site and biases the data.

Data rule: No subject IDs, dates of birth, site names or clinical values from a real study. Use placeholders.

Related

How we check. Back to the directory.