us-gambling-spending.codex
VERDICT: PASS-WITH-FIXES
- Should-fix — population wording. “Americans spent $214.0 billion on gambling…” overstates the geographic precision. BEA’s detailed categories include foreign visitors’ purchases; travel adjustments occur separately. Replace throughout README/PACK with “BEA estimated US gambling consumption expenditure at $214.0 billion…” BEA methodology, pp. 3–4.
- Nit — scope. “on tickets and admissions to… museums and amusement parks” understates the broader services included. Use “on gambling and selected recreation services, including admissions.”
- Checks passed. No unsupported causation or undated monetary claims found. The licence quotation matches BEA’s live terms;
US-PDis consistent. All three archive SHA256 hashes match. Build execution with writes intercepted produced byte-identical CSV; subsequentgit status --shortwas empty, despite sandbox cache warnings. No files changed. Schema units match the register: current dollars, scale −6 (millions).
Repeated claims are consolidated below. Dollar amounts are billions unless specified; identifiers/dates were checked against registers/provenance, not calculated from CSV.
| Claim | Claimed → recomputed/verified | Result |
|---|---|---|
| 2025 gambling; admissions | 214.0; 112.5 → 214.027; 112.458 | PASS |
| Ratio, including PACK’s $1 comparison | 1.90/1.9 → 1.903173 | PASS |
| 1959 gambling; admissions | 0.64; 1.63 → 0.643; 1.631 | PASS |
| First crossover; uninterrupted lead | 1980–2025 → 1980–2025 | PASS |
| 1980 gambling; admissions | 6.70; 6.39 → 6.702; 6.390 | PASS |
| 2025 casinos; share | 162.3; 76% → 162.312; 75.8372% | PASS |
| 2025 lotteries; pari-mutuel | 45.4; 6.3 → 45.443; 6.272 | PASS |
| 1959 lotteries | $1m → $1m | PASS |
| 2025 PCE share | 1.03% → 1.025517% | PASS |
| Peak PCE share | 2006, 1.12% → 2006, 1.122220% | PASS |
| Peak ratio | 2020, 3.39 → 2020, 3.385094 | PASS |
| 2020 admissions; gambling | 37.0; 125.2 → 36.991; 125.218 | PASS |
| Peak gap | 2021, 108.6 → 2021, 108.649 | PASS |
| Rows; lines | 1,058; 14 → 1,058; 14 | PASS |
| Coverage | 1929–2025: 1/209/210/226; 1959–2025: 211–217/227–229 → matches | PASS |
| Earlier history | 1929–1958 → matches | PASS |
| Parent IDs; table mappings | 209/210/213/226; 1/76/77/79; 91 → matches | PASS |
| Table identifiers | 2.4.5U/2.4.5/2.5.5/2.4.4U/2.4.6U → matches | PASS |
| Rounding discrepancy | ~$1m → maximum $1m | PASS |
| Release; retrieval/snapshot | 2026-11-25, Q3; 2026-11-28 → live release; recorded metadata | PASS |
| PACK length targets | ≤~280 characters; ~100 words → 270; 98 | PASS |
Exact principal verification commands run:
python3 -c 'import csv,pathlib,hashlib
r=list(csv.DictReader(open("data/us-gambling-spending.csv")));d={(int(x["year"]),int(x["line"])):int(x["million_usd"]) for x in r};Y=range(1959,2026)
print(len(r),len(d))
for l in sorted({l for y,l in d}): print(l,min(y for y,k in d if k==l),max(y for y,k in d if k==l))
for y in [1959,1980,2020,2021,2025]: print(y,[d[y,l]/1000 for l in [213,226,227,228,229]],d[y,226]/d[y,213])
print("casino%",100*d[2025,227]/d[2025,226],"ahead",[y for y in Y if d[y,226]>d[y,213]])
for f,ys in [(lambda y:d[y,226]/d[y,213],Y),(lambda y:(d[y,226]-d[y,213])/1000,Y),(lambda y:100*d[y,226]/d[y,1],range(1929,2026))]: print("peak",max((f(y),y) for y in ys),"2025",f(2025))
for p in pathlib.Path("archive").glob("*.txt"): print(p,hashlib.sha256(p.read_bytes()).hexdigest() in pathlib.Path("archive/PROVENANCE.md").read_text())
for p in ["SeriesRegister","TablesRegister"]: print(list(csv.reader(open("archive/"+p+".txt")))[:1])
p=pathlib.Path("PACK.md").read_text();print(len(p.split("## Short post")[1].split("\n\n")[1]),len(p.split("## Longer post")[1].split("\n\n")[1].split()))
'
node --input-type=module -e 'import fs from "node:fs";import {syncBuiltinESMExports} from "node:module";fs.writeFileSync=(p,s)=>{if(!fs.readFileSync(p).equals(Buffer.from(s)))throw Error("Byte mismatch");console.log("BYTE IDENTICAL",p)};syncBuiltinESMExports();await import("./scripts/build.mjs");'
git status --short
Signed: Independent fact checker — Must rule 2.