Table shell from a SAP
Paste SAP text and the SAP's own table template, get a printable table shell in RTF and Word, with the open questions listed.
About 10 minRTF, Word and ExcelTrace-checked
What you get
Table [number to be assigned]
ADAS Cog (11) - Change from Baseline to Week 24 - LOCF
Population: Efficacy
| Row | Placebo(N=xxx) | Xanomeline Low Dose(N=xxx) | Xanomeline High Dose(N=xxx) |
|---|---|---|---|
| Baseline | |||
| N | xxx | xxx | xxx |
| Mean (SD) | xx.x (xx.xx) | xx.x (xx.xx) | xx.x (xx.xx) |
| Median (Range) | xx.x (xx;xxx) | xx.x (xx;xxx) | xx.x (xx;xxx) |
| Week 24 | |||
| N | xxx | xxx | xxx |
| Mean (SD) | xx.x (xx.xx) | xx.x (xx.xx) | xx.x (xx.xx) |
| Median (Range) | xx.x (xx;xxx) | xx.x (xx;xxx) | xx.x (xx;xxx) |
| Change from Baseline | |||
| N | xxx | xxx | xxx |
| Mean (SD) | xx.x (xx.xx) | xx.x (xx.xx) | xx.x (xx.xx) |
| Median (Range) | xx.x (xx;xxx) | xx.x (xx;xxx) | xx.x (xx;xxx) |
| P-value(Dose Response) [1][2] | x.xxx | ||
| P-value(Xan - Placebo) [1][3] | x.xxx | x.xxx | |
| Diff. of LS Means (SE) | xx.x(x.xx) | xx.x(x.xx) | |
| 95% CI | (xx.xx;xx.xx) | (xx.xx;xx.xx) | |
| P-value(Xan High - Xan Low) [1][3] | x.xxx | ||
| Diff. of LS Means (SE) | xx.x(x.xx) | ||
| 95% CI | (xx.xx;xx.xx) |
1. Based on Analysis of covariance (ANCOVA) model with treatment and site as factors, and baseline ADAS Cog (11) value as a covariate.
2. Test for a non-zero coefficient for treatment (dose) as a continuous variable.
3. Pairwise comparison with treatment as a categorical variable: p-values without adjustment for multiple comparisons.
Swipe sideways to see every column.
Every value is a placeholder. Drafted by Claude from SAP text and not run on data.
Draft for review. Public data only.
The prompt
Draft one table shell from the SAP text below: ADAS-Cog (11) change from baseline, Week 24, LOCF.
Copy the SAP's Template 5: its row order, columns, placeholders, footnotes. Use Week 24 for every Week xx.
Write it as a pipe-separated table, one row per line, then the footnotes. Placeholders only.
Do not add rows, columns or analyses that the SAP text does not show.
End with a numbered list of anything the SAP text does not settle. Skip what it does settle.
SAP TEXT: [paste]Works in any chat assistant. Not tested in Microsoft 365 Copilot.
Sample input used here
SAP text and Template 5, CDISCPILOT01
[SAP 6, p.8] Efficacy population: All patients who were randomized and took drug, and have at least 1 post-baseline measure for both ADAS-Cog and CIBIC+
[SAP 7.3, p.9, last paragraph] Within each primary efficacy endpoint, 3 sets of pairwise comparisons for the 2 active treatment groups and placebo will only be performed if the test for dose response is significant.
[SAP 10.1.1, p.13] ... For each of these analyses, an ANCOVA model will be used with the baseline score, site, and treatment included as independent variables. ... [more below]
[SAP Template 5, p.23] (page text, one row per line)
Population: Efficacy
Template 5: ADAS Cog (11) - Change from Baseline to Week xx - LOCF
Column headers: Placebo (N=xxx) | Xanomeline Low Dose (N=xxx) | Xanomeline High Dose (N=xxx)
Baseline
N | xxx | xxx | xxx
Mean (SD) | xx.x (xx.xx) | xx.x (xx.xx) | xx.x (xx.xx)
... [rows, p-values, footnotes continue in the full text] ...CDISCPILOT01 SAP (Appendix 9 of the CSR), credited to CDISC. Single sentences or paragraphs from each cited section; the Template 5 page text is shown one row per line.
How this was checked
Result
Generated by Claude on 2026-10-25 (cold run; checked against the SAP PDF by a separate Claude agent).
Trace-checked. A second Claude agent checked each statement against the source. No script recomputed it. A person did not recheck every line.
Page numbers. SAP page n is PDF page 416+n of cdiscpilot01_csr.pdf. Footers: PDF 439 = SAP p.23 (Template 5).
Statements checked: 25 of 30 statements correct; 2 wrongly said missing, 3 real gap.
Cold re-run of this prompt on 2026-10-25. Three cold runs of a 5-line prompt (fresh agents, told to use no tools; one logged tool call each, the hand-back). Run 1 left 'Week xx' in the body and had 4 wrongly said missing. Run 2 fixed the label but had 1 wrong statement about SAP 8.1 and 2 wrongly said missing. Run 3 added SAP 7.1, 7.3, 8.1 and 8.2 text: 25 correct, 0 wrong, 2 wrongly said missing, 3 real gaps. Counts shown are from run 3; runs 1 and 2 are kept in the run folder. Changed from the earlier version: that one asked for three shells without the SAP template pages (27 of 65 statements correct, 9 wrong, 14 wrongly said missing); this one asks for one table and pastes the SAP Template 5, so the model copies it. The demographics and adverse event shells were dropped.
30 statements checked: 25 right, 2 wrongly said missing, 3 real.
Show all 30 checked statements
| Statement | Verdict | Source check |
|---|---|---|
| Title: Template 5: ADAS Cog (11) - Change from Baseline to Week 24 - LOCF | Right | SAP p.23 (PDF 439) Template 5 (Week xx -> 24 per prompt) |
| Population: Efficacy | Right | SAP p.23 (PDF 439) Template 5 |
| Column headers: Placebo (N=xxx) | Xanomeline Low Dose (N=xxx) | Xanomeline High Dose (N=xxx) | Right | SAP p.23 (PDF 439) Template 5 |
| Row: Baseline (section header, blank cells) | Right | SAP p.23 (PDF 439) Template 5 |
| Row: Baseline / N | xxx | xxx | xxx | Right | SAP p.23 (PDF 439) Template 5 |
| Row: Baseline / Mean (SD) | xx.x (xx.xx) x3 | Right | SAP p.23 (PDF 439) Template 5 |
| Row: Baseline / Median (Range) | xx.x (xx;xxx) x3 | Right | SAP p.23 (PDF 439) Template 5 |
| Row: Week 24 (section header, blank cells) | Right | SAP p.23 (PDF 439) Template 5 |
| Row: Week 24 / N | xxx | xxx | xxx | Right | SAP p.23 (PDF 439) Template 5 |
| Row: Week 24 / Mean (SD) | xx.x (xx.xx) x3 | Right | SAP p.23 (PDF 439) Template 5 |
| Row: Week 24 / Median (Range) | xx.x (xx;xxx) x3 | Right | SAP p.23 (PDF 439) Template 5 |
| Row: Change from Baseline (section header, blank cells) | Right | SAP p.23 (PDF 439) Template 5 |
| Row: Change from Baseline / N | xxx | xxx | xxx | Right | SAP p.23 (PDF 439) Template 5 |
| Row: Change from Baseline / Mean (SD) | xx.x (xx.xx) x3 | Right | SAP p.23 (PDF 439) Template 5 |
| Row: Change from Baseline / Median (Range) | xx.x (xx;xxx) x3 | Right | SAP p.23 (PDF 439) Template 5 |
| Row: P-value(Dose Response) [1][2] | | | x.xxx | Right | SAP p.23 (PDF 439) Template 5 |
| Row: P-value(Xan - Placebo) [1][3] | | x.xxx | x.xxx | Right | SAP p.23 (PDF 439) Template 5 |
| Row: Diff. of LS Means (SE) | | xx.x(x.xx) | xx.x(x.xx) | Right | SAP p.23 (PDF 439) Template 5 |
| Row: 95% CI | | (xx.xx;xx.xx) | (xx.xx;xx.xx) | Right | SAP p.23 (PDF 439) Template 5 |
| Row: P-value(Xan High - Xan Low) [1][3] | | | x.xxx | Right | SAP p.23 (PDF 439) Template 5 |
| Row: Diff. of LS Means (SE) | | | xx.x(x.xx) | Right | SAP p.23 (PDF 439) Template 5 |
| Row: 95% CI | | | (xx.xx;xx.xx) | Right | SAP p.23 (PDF 439) Template 5 |
| Footnote [1] verbatim | Right | SAP p.23 (PDF 439) Template 5 |
| Footnote [2] verbatim | Right | SAP p.23 (PDF 439) Template 5 |
| Footnote [3] verbatim | Right | SAP p.23 (PDF 439) Template 5 |
| OQ1: window table not pasted; Week 24 target day/window limits unknown, so Week 24 and LOCF values cannot be defined | Missing but present | Open in pasted text, but answered in full SAP p.10 (PDF 426) window table: ADAS-Cog Week 24 = Visit 12, day >140, target day 168; also retrieval visits 201 included for Week 24 window. LOCF itself is defined in 8.1 (p.9) |
| OQ2: SAP does not define baseline (e.g. last non-missing on or before randomization) | Missing but present | Open in pasted text; full SAP p.10 window table defines ADAS-Cog Baseline as the day <=1 window (Visit 3), target day 1, closest-to-target selection; p.12 9.2 gives Baseline = Visit 3. Missing baseline not imputed (8.1) is correct. |
| OQ3: what to print in pairwise cells when dose-response test not significant (blank/NA/values); pairwise only if significant per 7.3 and 10.1.1 | real gap | Open in both pasted text and full SAP; citations 7.3 p.9 and 10.1.1 p.13 are accurate |
| OQ4: template does not say whether N rows count all efficacy patients or only those with value at timepoint | real gap | Open in both (SAP p.8 gives only 'number of observations' generally and efficacy population definition; no N-row rule; Template 5 p.23 silent) |
| OQ5: template shows no LOCF footnote; SAP does not say whether to add one | real gap | Open in both; Template 5 has only footnotes [1]-[3]; title carries LOCF |
About the sheet shown
Every value is a placeholder. Drafted by Claude from SAP text and not run on data. Layout only was changed: pipe lines turned into a table.
All 5 checks
- The model kept the template's ranges and SD placeholders (xx;xxx, xx.xx). Check them against your own display conventions.
- For demographics or adverse events, paste that SAP template the same way and repeat the prompt. Not run here.
Sources
- CDISC SDTM/ADaM Pilot Project, CDISCPILOT01 SAP (CSR Appendix 9) (CDISC repository terms: unmodified, no sale of the data, attribution to CDISC. Mock submission with fictional dates.)
Scripts
Related workflows
All workflows. How we check. Public data only. Drafts for review, not validated output.
Get one workflow a week
Unsubscribe anytime. Privacy.