Friction — heat-deaths reframe (2026-11-08)

  • The draft quoted death-certificate studies for one window (2006–2010); querying CDC WONDER for every year showed cold ahead in all 26 years, which is what forced the reframe. A source that can be queried beats a quoted study.
  • CDC WONDER's XML API is usable but undocumented per database: building the request from the database's own HTML form defaults (form[name=form], not forms[0], which is a search box) was the reliable route.
  • WONDER enforces 15 s between API requests (HTTP 429 otherwise), so a nine-query fetch takes about five minutes.
  • WONDER responses carry no stable hash (NCHS reissues files), so only the committed CSV is hash-checked; the fetch cannot prove a re-run matches.
  • The NWS dataset's README lists per-state heat summaries as a follow-up; the Arizona CSV still lives only in a draft story's -src/ folder, so this package pins a draft file by commit.
  • Maricopa County's own release page returns 403 to automated fetches; the 645 figure is linked via a news report instead.
  • Howard et al.'s heat code set (X30, T67, P81) came from the draft outline and was not re-verified on the JAMA page; it is only mentioned in DATA.md.
  • NWS Instruction 10-1605 versions before July 2018 are not on the directives site's "current" link, so earlier rule changes for heat and cold entries could not be checked.
  • story-check S3 warns on 32 off-chart numbers; the blog package shape has no friction-notes section to list exemptions in, so the warning stays.
  • The brief asked for ?preview=true on image URLs; the birth-rates reference package does not use it. Followed the brief.
  • Kept slug heat-deaths: the story is still about how heat deaths are counted, and the folder and URLs already use it.
  • An independent critique (general-purpose subagent) caught that a 26-year "1.9 times" headline hid the 2023–2024 near-tie (heat 95% and 89% of cold); the title is now dated and the opening states the narrowing as ratios. Worth a claim-check line: a period total in a headline needs the latest-year value beside it.
  • The critique also caught a one-sided outside estimate (a heat excess-death figure with no cold counterpart); the post now says so rather than citing an unverified cold figure.
  • node_modules/ was removed after building because releases/*/package/node_modules is not gitignored in Factory; run npm ci before rebuilding.
  • Review round (Codex fact check, Claude editor): querying heat, cold and heat-or-cold let small dual-coded cells (1–9) be reconstructed by subtraction, which WONDER suppresses even nationally. The union query, overlap stats and prose were removed and fetch.mjs now refuses any count under 10. Worth a story-skill rule: never fetch overlapping groups plus their union from a suppressing source.
  • PROVENANCE had wrongly said WONDER suppression applies only below national level; checked the help page wording via Codex's link.
  • Ratio labels like "59× the weather service" read as ascertainment rates; the two counts define deaths differently, so they were removed from the chart.
Built with LogoFlowershow