{
 "id": "sap-protocol-discrepancy-table",
 "title": "Protocol versus SAP discrepancy table: CDISCPILOT01 (xanomeline TTS in Alzheimer's disease)",
 "study": {
  "name": "CDISCPILOT01, CDISC SDTM/ADaM Pilot Project (Lilly protocol H2Q-MC-LZZT(c); CSR dated 27 June 2006)",
  "source_url": "https://github.com/cdisc-org/sdtm-adam-pilot-project",
  "licence_note": "Data and documents belong to the CDISC SDTM/ADaM Pilot Project (CDISC). Used here as short quoted excerpts with attribution to CDISC, unmodified, under the Terms of Use in the repository README, which prohibit modifying the Data and distributing it without attribution to CDISC. Source file: the cdiscpilot01 CSR PDF in updated-pilot-submission-package/900172/m5/; the protocol is CSR Appendix 1 (PDF pp. 153-250) and the SAP is CSR Appendix 9 (PDF pp. 416-487). Page numbers: protocol \"p.\" is the document page printed on the protocol, and CSR PDF page = protocol page + 153; SAP \"p.\" is the SAP page number, and CSR PDF page = SAP page + 416. Study dates are fictional and the data were repurposed from a real Lilly study."
 },
 "task": "Compare the statistical text of a protocol with the SAP, topic by topic, with quotes and page cites, and list what the pasted text cannot settle.",
 "time_to_try_minutes": {
  "minutes": 30,
  "label": "estimate, not measured: about 5 to paste and run, 25 to check the quotes, labels and the rows marked ONLY IN ONE TEXT"
 },
 "good": {
  "input_excerpt": "PROTOCOL EXCERPT (CDISCPILOT01 protocol H2Q-MC-LZZT(c), CSR Appendix 1; page = protocol document page, CSR PDF page = page + 153)\n\n[Protocol 3.4.4, p. 24 (PDF p. 177)]\nApproximately 100 patients will be randomized to each of the 3 treatment groups. Previous experience with the oral formulation of xanomeline suggests that this sample size has 90% power to detect a 3.0 mean treatment difference in ADAS-Cog (p<.05, two-sided), based on a standard deviation of 6.5.\n\n[Protocol 3.9.1.2, p. 29 (PDF p. 182)]\nThe primary analysis of efficacy will include only the data obtained up to and including the visit of discontinuation of study drug. Furthermore, the primary analysis will not include efficacy data obtained at any visit where the study drug was not administered in the preceding three days. Analyses that include the retrieved dropouts are considered secondary.\n\n[Protocol 4.1, p. 41 (PDF p. 194)]\nIn general, all patients will be included in all analyses of efficacy if they have a baseline measurement and at least one postrandomization measurement.\n\n[Protocol 4.3.2, pp. 42-43 (PDF pp. 195-196)]\nThe primary analysis of ADAS-Cog (11) and CIBIC+ will be the 24-week endpoint, which is defined for each patient and variable as the last measurement obtained postrandomization (prior to protocol defined reduction in dose). [...] Analysis of patients who complete the 24-week study will also be conducted for all efficacy variables; this is referred to as a \"completer\" analysis.\n\n[Protocol 4.3.3, pp. 43-44 (PDF pp. 196-197)]\nEffects in the ANCOVA model will be the corresponding baseline score, investigator, and treatment. [...] Investigator-by-treatment interaction will be tested in a full model prior to conducting the primary ANCOVA or ANOVA [...] Because 3 treatment groups are involved, the primary analysis will be the test for linear dose response in the ANCOVA and ANOVA models described in the preceding paragraph. [...] Pairwise treatment comparisons of the adjusted means for all efficacy variables will be conducted using a LSMEANS statement within the GLM procedure.\n\n[Protocol 4.3.3, p. 44 (PDF p. 197)]\ntesting for normality using the Shapiro-Wilk test from PROC UNIVARIATE. In the event that the data are predominantly nonnormally distributed, analyses will also be conducted on the ranked data.\n\n[Protocol 4.3.4, pp. 44-45 (PDF pp. 197-198)]\nAll comparisons between xanomeline and placebo with respect to efficacy variables should be one-sided.\n\n[Protocol 4.3.4, p. 45 (PDF p. 198)]\nTreatment differences that are significant at the .025 D-level will be declared to be \"statistically significant.\"\n\n[Protocol 4.3.5, p. 46 (PDF p. 199)]\nplan to conduct a randomization test to combine these two dependent dose-response p-values into a single test, which will then be at the .05 Type I error level.\n\n[Protocol 4.5, p. 47 (PDF p. 200)]\nThe effect of age, gender, origin, baseline disease severity as measured by MMSE, Apo E, and patient education level upon efficacy will be evaluated if sample sizes are sufficient to warrant such analyses.\n\n[Protocol 4.6, p. 47 (PDF p. 200)]\nTwo interim efficacy analyses are planned. The first interim analysis will occur when approximately 50% of the patients have completed 8 weeks; the second interim analysis is to be conducted when approximately 50% of the patients have completed 24 weeks of the study.\n\nSAP EXCERPT (CDISCPILOT01 final SAP, CSR Appendix 9; page = SAP page, CSR PDF page = page + 416)\n\n[SAP 3.3, p. 7 (PDF p. 423)]\nThe primary analysis for ADAS-Cog (11) at Week 24 is based on an ANCOVA model, which includes the baseline score, site, and treatment as continuous variable. The statistical hypothesis is: H0: b = 0, where b is the coefficient for treatment\n\n[SAP 5, p. 8 (PDF p. 424)]\nApproximately 100 patients will be randomized to each of the 3 treatment groups. Previous experience with the oral formulation of xanomeline suggests that this sample size has 90% power to detect a 3.0 mean treatment difference in ADAS-Cog (p<.05, two-sided), based on a standard deviation of 6.5.\n\n[SAP 6, p. 8 (PDF p. 424)]\nSafety population All patients randomized and known to have taken at least one dose of randomized drug [...] Efficacy population All patients who were randomized and took drug, and have at least 1 post-baseline measure for both ADAS-Cog and CIBIC+\n\n[SAP 7, p. 8 (PDF p. 424)]\nAll statistical tests will be 2-sided with a significance level of 0.05. One-sided p-values will not be reported.\n\n[SAP 7.2 and 7.3, p. 9 (PDF p. 425)]\nThe effect of gender upon efficacy will be evaluated if sample sizes are sufficient to warrant such analyses. [...] There are 2 primary efficacy endpoints in this study, each of which will be tested at a significance level of 0.05. No adjustments for multiple primary endpoints will be made.\n\n[SAP 8.1, p. 9 (PDF p. 425)]\nMissing postbaseline efficacy values will be imputed using last observation carried forward (LOCF).\n\n[SAP 10, p. 13 (PDF p. 429)]\nA key difference from the protocol is that efficacy assessments are considered valid even if they occur while off study drug.\n\n[SAP 10.1.1, p. 13 (PDF p. 429)]\nThe primary analysis of the ADAS-Cog (11) at Week 24 will use the efficacy population with LOCF imputation for any missing values at Week 24. A secondary analysis will be performed for the Week 24 endpoint using the completers subset using observed data. [...] Treatment will be included as a continuous variable, and results for a test of dose response will be produced. Interaction terms will not be investigated. If the test for dose response is statistically significant, pairwise comparisons among the 3 groups will be performed and evaluated at a significance level of 0.05. [...] A supportive analysis for the ADAS-Cog (11) will use a likelihood-based repeated measures (MMRM) analysis.",
  "input_excerpt_words": 908,
  "input_excerpt_words_by_part": {
   "protocol": 510,
   "sap": 398
  },
  "prompt": "Below are two excerpts: the statistical sections of a protocol and of its statistical analysis plan (SAP) for the same study. Use only these excerpts. Make a table of every place where they differ on populations, analysis method and model terms, hypothesis and alpha, multiplicity, missing data, handling of data collected off study drug, subgroups, interim analyses, and sample size. Columns: topic | protocol (exact quote, page) | SAP (exact quote, page) | label SAME / DIFFERENT WORDING / CONFLICT / ONLY IN ONE TEXT. A change in a number, population, method, time point or rule is CONFLICT, not DIFFERENT WORDING. If a topic is in one text only, say so. Do not judge which text is right. After the table, write one question for the author per CONFLICT row, then a short list of what the excerpts do not let you decide. Quote exactly and cite the page after every quote.",
  "output": "**Protocol vs SAP: statistical sections** (quotes are exact; the page follows each quote)\n\n| # | Topic | Protocol | SAP | Label |\n|---|---|---|---|---|\n| 1 | Sample size | \"Approximately 100 patients will be randomized to each of the 3 treatment groups. Previous experience with the oral formulation of xanomeline suggests that this sample size has 90% power to detect a 3.0 mean treatment difference in ADAS-Cog (p<.05, two-sided), based on a standard deviation of 6.5.\" (Protocol 3.4.4, p. 24) | Identical sentence. (SAP 5, p. 8) | SAME |\n| 2 | Efficacy population | \"In general, all patients will be included in all analyses of efficacy if they have a baseline measurement and at least one postrandomization measurement.\" (Protocol 4.1, p. 41) | \"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 6, p. 8) | CONFLICT (SAP adds \"took drug\" and requires a post-baseline value on both ADAS-Cog and CIBIC+. The protocol requires a baseline value, which the SAP definition does not state.) |\n| 3 | Safety population | Not in the excerpt. | \"Safety population All patients randomized and known to have taken at least one dose of randomized drug\" (SAP 6, p. 8) | ONLY IN ONE TEXT (SAP) |\n| 4 | Primary endpoint definition and time point | \"The primary analysis of ADAS-Cog (11) and CIBIC+ will be the 24-week endpoint, which is defined for each patient and variable as the last measurement obtained postrandomization (prior to protocol defined reduction in dose).\" (Protocol 4.3.2, pp. 42-43) | \"The primary analysis for ADAS-Cog (11) at Week 24 is based on an ANCOVA model\" (SAP 3.3, p. 7); \"will use the efficacy population with LOCF imputation for any missing values at Week 24\" (SAP 10.1.1, p. 13) | CONFLICT (the protocol uses each patient's last post-randomization measurement. The SAP uses the Week 24 value, with LOCF for a missing one. The SAP excerpt names only ADAS-Cog here.) |\n| 5 | Completer analysis | \"Analysis of patients who complete the 24-week study will also be conducted for all efficacy variables; this is referred to as a \"completer\" analysis.\" (Protocol 4.3.2, pp. 42-43) | \"A secondary analysis will be performed for the Week 24 endpoint using the completers subset using observed data.\" (SAP 10.1.1, p. 13) | DIFFERENT WORDING (the SAP labels it secondary and says \"observed data\". The protocol excerpt does neither. Scope also differs: all efficacy variables vs the Week 24 endpoint.) |\n| 6 | Model terms: site or investigator | \"Effects in the ANCOVA model will be the corresponding baseline score, investigator, and treatment.\" (Protocol 4.3.3, pp. 43-44) | \"an ANCOVA model, which includes the baseline score, site, and treatment as continuous variable\" (SAP 3.3, p. 7) | CONFLICT (investigator vs site) |\n| 7 | Model terms: treatment coding | The excerpt does not state the coding. It does say \"the primary analysis will be the test for linear dose response in the ANCOVA and ANOVA models\" and \"Pairwise treatment comparisons of the adjusted means ... using a LSMEANS statement\". (Protocol 4.3.3, pp. 43-44) | \"Treatment will be included as a continuous variable, and results for a test of dose response will be produced.\" (SAP 10.1.1, p. 13) | ONLY IN ONE TEXT (explicit continuous coding is in the SAP only) |\n| 8 | Interaction terms | \"Investigator-by-treatment interaction will be tested in a full model prior to conducting the primary ANCOVA or ANOVA\" (Protocol 4.3.3, pp. 43-44) | \"Interaction terms will not be investigated.\" (SAP 10.1.1, p. 13) | CONFLICT |\n| 9 | Primary test | \"Because 3 treatment groups are involved, the primary analysis will be the test for linear dose response in the ANCOVA and ANOVA models described in the preceding paragraph.\" (Protocol 4.3.3, pp. 43-44) | \"results for a test of dose response will be produced.\" (SAP 10.1.1, p. 13) | DIFFERENT WORDING (both name a dose-response test) |\n| 10 | Formal hypothesis | Not stated in the excerpt. | \"The statistical hypothesis is: H0: b = 0, where b is the coefficient for treatment\" (SAP 3.3, p. 7) | ONLY IN ONE TEXT (SAP) |\n| 11 | Pairwise comparisons | \"Pairwise treatment comparisons of the adjusted means for all efficacy variables will be conducted using a LSMEANS statement within the GLM procedure.\" (Protocol 4.3.3, pp. 43-44) | \"If the test for dose response is statistically significant, pairwise comparisons among the 3 groups will be performed and evaluated at a significance level of 0.05.\" (SAP 10.1.1, p. 13) | ONLY IN ONE TEXT (the condition on a significant dose-response test appears only in the SAP. The protocol excerpt states no condition.) |\n| 12 | Sidedness and alpha | \"All comparisons between xanomeline and placebo with respect to efficacy variables should be one-sided.\" (Protocol 4.3.4, pp. 44-45); \"Treatment differences that are significant at the .025 D-level will be declared to be \"statistically significant.\"\" (Protocol 4.3.4, p. 45) | \"All statistical tests will be 2-sided with a significance level of 0.05. One-sided p-values will not be reported.\" (SAP 7, p. 8) | CONFLICT |\n| 13 | Multiplicity | \"plan to conduct a randomization test to combine these two dependent dose-response p-values into a single test, which will then be at the .05 Type I error level.\" (Protocol 4.3.5, p. 46) | \"There are 2 primary efficacy endpoints in this study, each of which will be tested at a significance level of 0.05. No adjustments for multiple primary endpoints will be made.\" (SAP 7.3, p. 9) | CONFLICT |\n| 14 | Missing data | The excerpt names no imputation method. The endpoint is \"the last measurement obtained postrandomization\". (Protocol 4.3.2, pp. 42-43) | \"Missing postbaseline efficacy values will be imputed using last observation carried forward (LOCF).\" (SAP 8.1, p. 9) | ONLY IN ONE TEXT (explicit LOCF is in the SAP only. See row 4 for the endpoint difference.) |\n| 15 | Supportive repeated-measures model | Not in the excerpt. | \"A supportive analysis for the ADAS-Cog (11) will use a likelihood-based repeated measures (MMRM) analysis.\" (SAP 10.1.1, p. 13) | ONLY IN ONE TEXT (SAP) |\n| 16 | Data collected off study drug | \"The primary analysis of efficacy will include only the data obtained up to and including the visit of discontinuation of study drug. Furthermore, the primary analysis will not include efficacy data obtained at any visit where the study drug was not administered in the preceding three days. Analyses that include the retrieved dropouts are considered secondary.\" (Protocol 3.9.1.2, p. 29) | \"A key difference from the protocol is that efficacy assessments are considered valid even if they occur while off study drug.\" (SAP 10, p. 13) | CONFLICT |\n| 17 | Normality check and rank analysis | \"testing for normality using the Shapiro-Wilk test from PROC UNIVARIATE. In the event that the data are predominantly nonnormally distributed, analyses will also be conducted on the ranked data.\" (Protocol 4.3.3, p. 44) | Not in the excerpt. | ONLY IN ONE TEXT (Protocol) |\n| 18 | Subgroups | \"The effect of age, gender, origin, baseline disease severity as measured by MMSE, Apo E, and patient education level upon efficacy will be evaluated if sample sizes are sufficient to warrant such analyses.\" (Protocol 4.5, p. 47) | \"The effect of gender upon efficacy will be evaluated if sample sizes are sufficient to warrant such analyses.\" (SAP 7.2, p. 9) | CONFLICT (six factors vs gender only) |\n| 19 | Interim analyses | \"Two interim efficacy analyses are planned. The first interim analysis will occur when approximately 50% of the patients have completed 8 weeks; the second interim analysis is to be conducted when approximately 50% of the patients have completed 24 weeks of the study.\" (Protocol 4.6, p. 47) | Not in the excerpt. | ONLY IN ONE TEXT (Protocol) |\n\n**Questions for the author (one per CONFLICT row)**\n\n- Row 2 (population): Which efficacy population definition governs? Should \"took drug\" and a post-baseline value on both ADAS-Cog and CIBIC+ replace the protocol's \"baseline measurement and at least one postrandomization measurement\"?\n- Row 4 (endpoint): Is the primary ADAS-Cog value the Week 24 visit value with LOCF for a missing one, or each patient's last post-randomization measurement as in Protocol 4.3.2? If it is the SAP version, how is \"prior to protocol defined reduction in dose\" handled?\n- Row 6 (model term): Is the center term investigator or site? If site, how are investigators grouped into sites?\n- Row 8 (interaction): Is the investigator-by-treatment interaction test dropped on purpose? If so, why?\n- Row 12 (sidedness and alpha): Is the primary comparison one-sided at .025 or two-sided at 0.05? Is the SAP's 0.05 a deliberate change from the protocol's .025?\n- Row 13 (multiplicity): Is the randomization test that combines the two dependent dose-response p-values dropped? If so, why is no adjustment for the two primary endpoints acceptable?\n- Row 16 (off-drug data): Should off-drug assessments count in the primary analysis, as SAP p. 13 says? If so, is the protocol's three-day rule dropped, and does a protocol amendment cover the change?\n- Row 18 (subgroups): Are the subgroup analyses for age, origin, MMSE, Apo E and education dropped on purpose?\n\n**What these excerpts do not let us decide**\n\n- The excerpts do not show whether the SAP's changes were deliberate or approved. SAP p. 13 calls off-drug data a \"key difference from the protocol\". It says nothing of that kind for the other conflicts.\n- Which two endpoints are the \"2 primary efficacy endpoints\" (SAP 7.3, p. 9) and the \"two dependent dose-response p-values\" (Protocol 4.3.5, p. 46) is not stated. CIBIC+ is not described in the SAP analysis text.\n- The start of the Protocol 4.3.5 sentence is cut off, so the full multiplicity rule is unknown.\n- The excerpts do not say whether the protocol's pairwise comparisons are conditional on the dose-response test (row 11).\n- The excerpts do not say whether the protocol codes treatment as continuous for the dose-response test (row 7).\n- The protocol's own alpha statements are not reconciled in the excerpts. The sample-size paragraph says \"p<.05, two-sided\" (p. 24), while 4.3.4 says one-sided at .025 (pp. 44-45). The SAP repeats the two-sided wording (SAP 5, p. 8).\n- The excerpts do not say whether the SAP leaves out interim analyses, since only part of the SAP is shown (row 19).\n- The excerpts do not say whether the protocol's last-measurement endpoint and the SAP's LOCF give the same data in practice (rows 4 and 14).",
  "trim_note": "The output is the complete cold run, copied verbatim from a separate subagent that saw only the two excerpts and the prompt (no tools, no files); only the markdown table formatting was kept as returned. The excerpts total about 908 words of passage text (510 protocol, 398 SAP), or about 947 with the headers and page labels, above the 300-600 word model size, because two documents are needed; they were chosen to cover populations, models, alpha, multiplicity, missing data, off-drug data, subgroups, interim analyses and sample size. SAP Appendix 2 (Deviations from Protocol-Specified Analyses) was deliberately left out of the excerpt and used only as the answer key. The excerpt is verbatim; [...] marks omitted text. The symbol shown as D in the PDF text (alpha) is left as extracted. The excerpt headings state page numbers as run (some protocol ranges are wider than the text; see errors_found)."
 },
 "bad": {
  "input": "Compare the protocol and the SAP for the Alzheimer's trial of xanomeline and tell me what's different.",
  "output": "I don't have the protocol or the SAP for this trial in front of me, so I can't quote either one. Below is a table of the places where an SAP most often departs from a protocol in a phase 2 Alzheimer's trial of a transdermal drug such as xanomeline TTS. Treat it as a checklist of things to look for, not as a finding.\n\n| Topic | Protocol (typical) | SAP (typical) | Likely difference |\n|---|---|---|---|\n| Primary endpoint analysis | Change from baseline in ADAS-Cog at week 24 by ANCOVA | Mixed model for repeated measures (MMRM) across visits | Model changed from ANCOVA to MMRM |\n| Analysis population | Intent-to-treat: all randomized patients | Modified ITT: randomized, at least one dose, one post-baseline assessment | Population narrowed |\n| Missing data | Last observation carried forward | Multiple imputation as a sensitivity analysis | Imputation method added |\n| Multiplicity | Hierarchical testing of the primary and key secondary endpoints | Hierarchical testing with a gatekeeping step | Wording expanded |\n| Interim analysis | Interim analysis by an independent committee | Details of stopping boundaries added | Detail added |\n| Significance level | Two-sided 0.05 | Two-sided 0.05 | No change |\n| Sample size | About 300 patients, 90% power | Not restated | Not restated |\n| Covariates | Baseline score and site | Baseline score, site, age and APOE4 status | Covariates added |\n\nMain takeaways: the SAP most likely switches to MMRM, narrows the analysis population to modified ITT, and adds covariates and sensitivity analyses. Please share the two documents if you want the real differences.",
  "what_went_wrong": [
   "No documents were pasted, so the answer is a list of typical protocol-to-SAP changes, not findings. The table reads like one: every row has a confident 'Likely difference'.",
   "Most rows are wrong for this study: ANCOVA to MMRM (MMRM is supportive only), LOCF to multiple imputation (both use LOCF), hierarchical testing in both (protocol uses a randomization test, SAP uses no adjustment), interim analysis in both (SAP drops it), two-sided 0.05 in both (protocol is one-sided .025).",
   "It marked the significance level and the interim analyses as the same or only expanded, which hides two of the biggest real changes.",
   "No quotes and no page numbers, so nothing can be checked. It does say it lacks the documents, which is the one honest part, but the table below it still reads as findings.",
   "A few rows are right by habit (90% power, narrower efficacy population), which makes the wrong rows harder to spot."
  ]
 },
 "what_changed": [
  "Pasted two verbatim excerpts, protocol and SAP, with page numbers, instead of naming the study.",
  "Listed the topics to compare, so the table covers populations, models, alpha, multiplicity, missing data, off-drug data, subgroups, interim and sample size.",
  "Required an exact quote and page after every cell, so a reviewer can check each row in the PDF in seconds.",
  "Set a rule that a changed number, population, method, time point or rule is a CONFLICT, not DIFFERENT WORDING.",
  "Asked for a list of what the excerpts cannot settle, which exposed the trimmed-out sentences (safety population, LOCF) as questions to check."
 ],
 "check_before_trust": [
  "Open both documents and check every quote and page in the table. Here every quote matched the excerpt; the page ranges I gave were sometimes wider than the text.",
  "Read every ONLY IN ONE TEXT row as a possible dropped or added analysis. Here the dropped interim analyses, the rank rules and the conditional pairwise tests were all filed there with no question.",
  "Before accepting a gap ('other text is silent'), search the full document. Two gaps here were caused by sentences cut from the excerpt.",
  "Check that same-concept terms are not flagged as conflicts (investigator versus site here), and that no difference in a number, population or method sits under SAME or DIFFERENT WORDING.",
  "Paste the SAP deviation section and any protocol amendments too, and the protocol text on endpoints that were dropped; this excerpt could not show ADAS-Cog (14), DAD or NPI-X changes.",
  "Do not treat the SAP's own deviations list as complete. Here it omits the sidedness and alpha change, the randomization test and the MMRM. Treat the table as a review aid for a qualified biostatistician, not a validated reconciliation."
 ],
 "verification": {
  "answer_key": "SAP Appendix 2 'Deviations from protocol-specified analyses' (CSR PDF pp. 463-464, SAP pp. 47-48) plus my own full read of the protocol statistical sections (protocol pp. 24, 29, 39-47, CSR PDF pp. 177, 182, 192-200) and of SAP sections 3 to 10 and Appendix 1 (SAP pp. 5-14, 46). Page rule: protocol page = CSR PDF page minus 153; SAP page = CSR PDF page minus 416. Order followed: the bad run was written first from the one-line input; the excerpts and prompt were then built; the good output is a cold run by a separate subagent that saw only the excerpts and the prompt; only then was it checked against the answer key. SAP Appendix 2 was not in the excerpt.",
  "rows": [
   {
    "output": "good",
    "claim": "Row 1: sample size is SAME (100 per arm, 90% power, difference 3.0, SD 6.5)",
    "verdict": "correct",
    "cite": "Protocol p. 24 (PDF p. 177); SAP p. 8 (PDF p. 424), identical sentence."
   },
   {
    "output": "good",
    "claim": "Row 2: efficacy population is a CONFLICT (protocol: baseline plus one postrandomization value; SAP: randomized, took drug, post-baseline value on both ADAS-Cog and CIBIC+)",
    "verdict": "correct",
    "cite": "Protocol p. 41 (PDF p. 194); SAP p. 8 (PDF p. 424). Not in SAP Appendix 2, but the SAP text shows it."
   },
   {
    "output": "good",
    "claim": "Row 3: safety population appears only in the SAP",
    "verdict": "partly",
    "cite": "True of the excerpt. The protocol does address it (p. 39, \"All patients who are enrolled in the study will be included in the efficacy analysis and the safety analysis\", PDF p. 192), but that sentence was cut from the excerpt. SAP p. 8."
   },
   {
    "output": "good",
    "claim": "Row 4: primary endpoint is a CONFLICT (last postrandomization measurement before dose reduction versus Week 24 value with LOCF)",
    "verdict": "partly",
    "cite": "Overstated. Protocol p. 43 (PDF p. 196, first lines) says the LOCF analysis at 24 weeks \"is the same as the endpoint analysis\", which was cut from the excerpt. The real change is the windowing and the choice of one targeted visit per window (SAP p. 9 and p. 10, PDF pp. 425-426). The question it drafted (how is the dose-reduction cut handled) is still useful."
   },
   {
    "output": "good",
    "claim": "Row 5: completer analysis is DIFFERENT WORDING",
    "verdict": "correct",
    "cite": "Protocol p. 42 (PDF p. 195); SAP p. 13 (PDF p. 429) and the Completers population, SAP p. 8. The SAP keeps it as a secondary analysis."
   },
   {
    "output": "good",
    "claim": "Row 6: \"investigator\" versus \"site\" is a CONFLICT",
    "verdict": "false gap",
    "cite": "Same factor under two names. The SAP copies the protocol pooling rule for centres with fewer than 3 patients per arm and just says \"site\" (protocol p. 44, PDF p. 197; SAP p. 9, PDF p. 425). Rule 10 of the prompt (a model-term change is a CONFLICT) pushed it into the table. The question it drafted is answered by the SAP itself."
   },
   {
    "output": "good",
    "claim": "Row 7: treatment coding appears only in the SAP; protocol coding not stated",
    "verdict": "partly",
    "cite": "Cautious and not wrong, but the protocol implies it: \"linear dose response\" (p. 43) and the mean dose used in the dose-response analysis (p. 41, PDF p. 194). Not a real difference."
   },
   {
    "output": "good",
    "claim": "Row 8: investigator-by-treatment interaction test is a CONFLICT (tested at .10 versus not investigated)",
    "verdict": "correct",
    "cite": "Protocol p. 43 (PDF p. 196, tested at the .10 level); SAP p. 13 (PDF p. 429) and SAP Appendix 2, p. 47 (PDF p. 463)."
   },
   {
    "output": "good",
    "claim": "Row 9: dose-response primary test is DIFFERENT WORDING",
    "verdict": "correct",
    "cite": "Protocol p. 43; SAP p. 13. Both use a dose-response test."
   },
   {
    "output": "good",
    "claim": "Row 10: formal hypothesis appears only in the SAP",
    "verdict": "correct",
    "cite": "SAP p. 7 (PDF p. 423). The protocol excerpt has no formal H0/H1."
   },
   {
    "output": "good",
    "claim": "Row 11: conditional pairwise comparisons appear only in the SAP",
    "verdict": "partly",
    "cite": "Real change (protocol: pairwise for all efficacy variables, p. 43; SAP: only if the dose-response test is significant, pp. 9 and 13). Under the prompt rule that a changed rule is a CONFLICT it should have been labelled CONFLICT and given a question. It put the gap in the \"cannot decide\" list instead. The SAP does not list this in Appendix 2."
   },
   {
    "output": "good",
    "claim": "Row 12: one-sided .025 versus two-sided 0.05 is a CONFLICT",
    "verdict": "correct",
    "cite": "Protocol pp. 44-45 (PDF pp. 197-198); SAP p. 8 (PDF p. 424), \"One-sided p-values will not be reported\". Not listed in SAP Appendix 2."
   },
   {
    "output": "good",
    "claim": "Row 13: randomization test versus no adjustment is a CONFLICT",
    "verdict": "correct",
    "cite": "Protocol pp. 45-46 (PDF pp. 198-199); SAP p. 9 (PDF p. 425). Not listed in SAP Appendix 2."
   },
   {
    "output": "good",
    "claim": "Row 14: explicit LOCF appears only in the SAP",
    "verdict": "partly",
    "cite": "The protocol names LOCF too (p. 42-43, the sentence after the excerpt). The cold run hedged and pointed to row 4, so no wrong statement, but a reader would believe the protocol had no imputation rule."
   },
   {
    "output": "good",
    "claim": "Row 15: supportive MMRM appears only in the SAP",
    "verdict": "correct",
    "cite": "SAP p. 13 (PDF p. 429). Not listed in SAP Appendix 2, which lists only dropped analyses."
   },
   {
    "output": "good",
    "claim": "Row 16: use of data collected off study drug is a CONFLICT (3-day rule)",
    "verdict": "correct",
    "cite": "Protocol p. 29 (PDF p. 182); SAP p. 13 and Appendix 2, p. 47 (PDF p. 463). The SAP excerpt handed over this one in a single sentence (\"A key difference from the protocol\"), so it was easy."
   },
   {
    "output": "good",
    "claim": "Row 17: normality check and rank analysis appear only in the protocol",
    "verdict": "correct",
    "cite": "Protocol p. 44 (PDF p. 197); SAP Appendix 2, p. 47: \"the normality assumption ... will not be investigated and consideration for rank transformations will not be done\". The SAP statement was in the part left out of the excerpt, so the model could only say \"not in the excerpt\". No question was drafted because the row was not a CONFLICT."
   },
   {
    "output": "good",
    "claim": "Row 18: subgroups are a CONFLICT (six factors versus gender only)",
    "verdict": "correct",
    "cite": "Protocol p. 47 (PDF p. 200); SAP p. 9 (PDF p. 425) and Appendix 2, p. 47 (Apo E covariate analyses not performed). SAP p. 9 keeps age, race, MMSE and education as exploratory covariates in the datasets."
   },
   {
    "output": "good",
    "claim": "Row 19: interim analyses appear only in the protocol; the cold run could not say whether the SAP drops them",
    "verdict": "correct",
    "cite": "Protocol p. 47; SAP Appendix 2, p. 47: \"Interim analyses will not be performed.\" Correct hedge, because the excerpt did not include the SAP statement."
   },
   {
    "output": "good",
    "claim": "Questions for the author: eight questions, one per CONFLICT row",
    "verdict": "partly",
    "cite": "Six are on real changes (population, interaction, sidedness/alpha, multiplicity, off-drug data, subgroups). The row 4 question is partly useful and the row 6 question is answered by SAP p. 9. No question was written for the interim analyses, normality/rank, or pairwise rows, because they were not labelled CONFLICT."
   },
   {
    "output": "good",
    "claim": "Answer-key items not testable from this excerpt: ADAS-Cog (14) and DAD dropped; observed cases at each time point not performed; NPI-X average including Weeks 2 and 26 not performed; NPI-X first-time/increase dichotomy not performed; retrieval visit 201 data allowed",
    "verdict": "not in source",
    "cite": "SAP Appendix 2, p. 47 (PDF p. 463). The protocol text for these was not pasted, so no discrepancy could be found. Five of the ten efficacy items in Appendix 2 are in this category. PK, ECG, caregiver survey and laboratory ANCOVA items (SAP pp. 47-48) are safety and PK topics outside the prompt."
   },
   {
    "output": "bad",
    "claim": "Bad run: ANCOVA changes to MMRM",
    "verdict": "wrong",
    "cite": "The primary analysis stays ANCOVA (SAP p. 13); MMRM is supportive only. CIBIC+ is ANOVA in both."
   },
   {
    "output": "bad",
    "claim": "Bad run: ITT (all randomized) changes to modified ITT (randomized, dosed, one post-baseline value)",
    "verdict": "partly",
    "cite": "The efficacy population is narrowed as it guessed (SAP p. 8), but the protocol wording is \"baseline plus one postrandomization value\" (p. 41), and the SAP also keeps an ITT population of all randomized."
   },
   {
    "output": "bad",
    "claim": "Bad run: LOCF in the protocol changes to multiple imputation",
    "verdict": "wrong",
    "cite": "Both use LOCF (protocol pp. 42-43; SAP p. 9). The SAP has no multiple imputation."
   },
   {
    "output": "bad",
    "claim": "Bad run: hierarchical testing in both, wording only expanded",
    "verdict": "wrong",
    "cite": "Protocol: randomization test combining two p-values (pp. 45-46). SAP: no adjustment (p. 9)."
   },
   {
    "output": "bad",
    "claim": "Bad run: interim analysis in both, boundary detail added in SAP",
    "verdict": "wrong",
    "cite": "Protocol plans two interim analyses (p. 47); SAP does not perform them (p. 47)."
   },
   {
    "output": "bad",
    "claim": "Bad run: significance level two-sided 0.05 in both, no change",
    "verdict": "wrong",
    "cite": "Protocol: one-sided, .025 (pp. 44-45). SAP: two-sided 0.05 (p. 8). This is one of the biggest real changes."
   },
   {
    "output": "bad",
    "claim": "Bad run: sample size about 300, 90% power, not restated",
    "verdict": "partly",
    "cite": "Right on 90% power and about 100 per arm, but it missed the 80% power for CIBIC+ and the SAP does restate the paragraph (p. 8)."
   },
   {
    "output": "bad",
    "claim": "Bad run: covariates add age and APOE4",
    "verdict": "wrong",
    "cite": "SAP model has baseline, site and treatment (p. 13); Apo E analyses are dropped (p. 47). Age is an exploratory covariate in the datasets only (p. 9)."
   }
  ],
  "errors_found": [
   "False discrepancy: row 6 (investigator versus site). Same factor; the prompt's rule that a model-term change is a CONFLICT forced it in. The SAP pooling rule (p. 9) copies the protocol rule (p. 44).",
   "Overstated conflict: row 4 (endpoint). Protocol p. 43 also uses LOCF, in a sentence not in the excerpt. The real change is windowing (SAP pp. 9-10).",
   "Mislabelled: row 11 (pairwise comparisons only if dose response is significant). A rule change, labelled ONLY IN ONE TEXT, no question drafted. The same pattern hid the interim analyses (row 19) and the normality/rank rules (row 17): the prompt asks for questions only on CONFLICT rows, so dropped analyses get no question. Read every ONLY IN ONE TEXT row.",
   "Misleading gaps from trimming: row 3 (safety population) and row 14 (LOCF) say the other text is silent, but the protocol covers both in sentences left out of the excerpt (p. 39 and pp. 42-43).",
   "My page ranges on the excerpt were wider than the text: 'Protocol 4.3.2, pp. 42-43' (both quoted sentences are on p. 42), 'Protocol 4.3.3, pp. 43-44' (all four quoted sentences are on p. 43) and 'Protocol 4.3.4, pp. 44-45' (the one-sided sentence is on p. 44, PDF p. 197). The cold run copied them. The excerpt is shown as it was run; use the corrected pages in this list when checking.",
   "SAP page cites in the cold run (pp. 7, 8, 9, 13) are all correct. All 35 quoted passages that could be matched mechanically were found verbatim in the excerpts; three multi-quote cells could not be matched by script and were read by eye.",
   "Bad run was written after I had read the summary fields of the other builder's sap-first-draft file (it names MMRM, the one-sided test and the interim analyses), so it is slightly better than a truly cold lazy answer. It still got most things wrong.",
   "The cold run was a separate subagent that saw only the excerpts and the prompt. I had read the full SAP before choosing the excerpts, so the excerpt choice is not blind. The SAP's one-sentence note on off-drug data (p. 13) was included in the excerpt and gives away that one."
  ],
  "summary": "Scored against SAP Appendix 2 (pp. 47-48) plus my own read of both documents. In the excerpt's scope there are 12 real protocol-to-SAP differences: interaction test dropped, normality/rank rules dropped, 3-day drug rule dropped, interim analyses dropped, subgroups cut (Apo E dropped), one-sided .025 to two-sided 0.05, randomization test dropped, efficacy population redefined, safety population defined, MMRM added, pairwise comparisons made conditional, and endpoint windowing. The cold run listed 9 correctly, 3 partly (pairwise rule mislabelled, endpoint overstated), and missed none within scope. It produced one clear false discrepancy (investigator versus site), one overstated conflict, and two misleading 'not in the other text' gaps caused by the trim. Five of the ten efficacy items in Appendix 2 (ADAS-Cog (14) and DAD, observed cases, two NPI-X items, visit 201) could not be found because the protocol text for them was not pasted. Three real changes (sidedness and alpha, randomization test, MMRM) are not in Appendix 2 at all, so that list is not a complete answer key. Consistent with sap-first-draft: that file documents four changes (one-sided .025, randomization test, 3-day rule, interim analyses) from a protocol-only draft; this run, given both texts, finds all four, and it also finds the population, MMRM and pairwise-gating items noted in that file. The bad run (lazy input, general-knowledge table) matched 0 of 8 rows, 2 partly (ITT population, sample size), and got 6 wrong, including the sidedness and interim analysis, and found none of the real changes."
 },
 "run": {
  "generated_by": "Claude (Anthropic), run as a subagent on 2026-10-19",
  "not_tested_in": "Microsoft 365 Copilot"
 }
}