Repository navigation
Box ch. 1 content into numbered divs and callouts - #121
d-morrison wants to merge 4 commits into
Conversation
Part of #77. Wrap the chapter's definitions, results, examples and cautions in crossref divs and callouts: - new definitions for counterfactual outcomes, no interference, identification, counterfactual risk, effect measures, NNT, super-population, estimator, deterministic counterfactuals, conditional risk and association measures, each followed by an example from Zeus's family; - propositions, with proofs, for the non-identification of individual effects, the difference of averages, the sharp null implying the average null, and the causal null on each scale; - warning, tip, note and important callouts for the aspirin contrast, the choice of scale, the two meanings of consistency, the assumptions kept until Chapter 10, and association versus causation; - slide breaks before boxes that would crowd a slide. Existing ids (def-sharp-null, def-consistency-ch1, ...) are kept. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gh7L9vJhwrpvpBhzYMdjPK
Give the estimator and the effect measures their own examples right after the definitions, scope the risk-ratio remark to deterministic counterfactuals, reword the aspirin contrast and the NNT definition in our own words, and keep one equals sign per NNT display. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gh7L9vJhwrpvpBhzYMdjPK
Write the consistency display with Y_i^{A_i}, state in the counterfactual
outcome definition that outcomes are fixed for now, and give the sharp
null its treatment and counterfactual outcomes.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Gh7L9vJhwrpvpBhzYMdjPK
…utcome definition Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gh7L9vJhwrpvpBhzYMdjPK
|
Claude finished review — View run Confirmed via Review: PR #121 — Box ch. 1 content into numbered divs and calloutsScope checked: Structural / correctness checks
LaTeX macro opportunity (non-blocking suggestion)The diff repeats CI / clean-review status (authoritative check)
No bugs, broken cross-references, incorrect math, or CLAUDE.md/lab-manual violations were found in the content itself. The only open item is that CI (notably the actual Quarto VerdictBlocked on CI — no blocking findings from this content review, but Structured Review Data (JSON){
"schema_version": "1.1",
"reviewer": "claude",
"commit_sha": "e46adcf7110e5911afa263003ec982b273809f6d",
"verdict": "CLEAN",
"findings": [],
"detailed_assessment": "Checked chapters/01-introduction.qmd for div/callout nesting balance, crossref ID uniqueness across all chapters, and verified new example claims (family member lists) against Table 1.1 data with no discrepancies found.",
"holistic_assessment": "Content review found no requirement, integration, or regression concerns, but check-pr-fully-clean.py exits 1 because build-deploy and the review check are still in_progress on this HEAD."
}Reviewed commit: e46adcf |
|
|
Adversarial review summary (OpenCode,
The CI Claude review at e46adcf gave CLEAN with no findings (comment). Its prose said "blocked on CI" only because Posted by Claude Code (AI agent) --- not written by a human. Generated by Claude Code |
Requested by Ezra · project thread
Part of #77: ch. 1.
Before: ch. 1 had 7 crossref divs. Most of its definitions, examples and results were plain prose or speaker notes, so they had no number and could not be cross-referenced.
After: each one sits in a numbered div or a callout:
How: existing text was wrapped rather than rewritten. The aspirin contrast and the NNT wording were rephrased in our own words, and the aspirin and association points moved out of the speaker notes so they show on the slides. Each definition and proposition states its conditions, for example when each ratio is defined. Existing ids (
def-sharp-null,def-consistency-ch1,def-consistent-estimator, ...) are kept, and new ids were checked against every chapter for uniqueness. No theorem div sits inside a callout, inside another theorem div or inside.notes. Slide breaks were added before boxes that would crowd a slide.Checks:
quarto render chapters/01-introduction.qmd --to htmlsucceeds with no warnings, and the page has no unresolved?@references.--profile revealjs --to revealjsfails on chalkboard + embed-resources (the known win#94 issue). With-M embed-resources:falseit renders. A script found no empty boxes and no empty slides.🤖 Generated with Claude Code
https://claude.ai/code/session_01Gh7L9vJhwrpvpBhzYMdjPK
Generated by Claude Code