NURSING OUTLOOK R13 CURRENT UPDATE

All previously fitted models and estimates are unchanged. Added arithmetic
combines nine cumulative tests; the added-month CNA Holm P is 0.1469369081.
Primary, extended-window, added-control and six-test families remain reported.
The cumulative CNA magnitudes are negative and small in both 0–7-day models.

Official CMS file checks are now COMPLETE: three retained CSVs are byte-identical
to new CMS downloads, and the Q2 2024 mirror agrees on canonical CSV bytes,
all keys and all typed columns. Old access-denied records are historical.
See reviewer_round9_multiplicity_sources/ for current evidence and scope.
Earlier author-review records retain their historical scope; no new human
verification of the added arithmetic or browser check is inferred.

HISTORICAL R12 AND ORIGINAL REPLAY INSTRUCTIONS
CURRENT PROFESSIONAL REVIEW UPDATE
The author also confirmed completed coauthor review of statistical methods/interpretation and nursing implications. This is an author-confirmed internal review, not an external statistical certification. Government-original authentication remains unresolved.

NURSING OUTLOOK R12: CURRENT AUTHOR REVIEW SCOPE

The original primary model, exploratory response-window extension and all post
hoc diagnostic values are unchanged from R11. Two authors confirmed actual
review of the added-control and longer-dependence outputs, calculation formulas
and interpretations. Additional arithmetic covered the CNA cumulative sum,
confidence interval, P value, Holm adjustment and a different-order calculation
of the 1,000-km/90-day cumulative variance. AI assistance for programming,
workbook generation and execution remains disclosed in the manuscript.

reviewer_round8_author_review/ retains the replay implementation, anonymous
numerical results and current review scope. Private first-person notes,
workbooks, execution logs and individual computer paths are omitted. Earlier
review-scope records describe their historical stages and remain preserved.
The new author confirmation does not change source-authentication status or
certify causal interpretation or finite-sample interval coverage.

Original scientific scripts, figures and Data S1–S31 retain their earlier values.
SHA256SUMS.json inventories all current files. Original source/addition ledgers
describe their historical snapshots. No external submission is performed.

ORIGINAL REPLAY INSTRUCTIONS AND SOURCE SCOPE



COMPACT REPRODUCIBILITY COMPANION: ORIGINAL ANALYSIS AND POST HOC ADDITIONS
Locally extreme heat and reported nursing staffing in nursing homes

Contents and status
This archive includes the original twelve fixed-model results and unchanged
fitting engine/runner/protocol/input manifest, plus TWO explicitly POST HOC
diagnostic models. The original twelve results are in stored_final_model_results/.
The two new results, all their requested contrasts/coefficient exports, county
group assignments and verification reports are in stored_posthoc_model_results/.
The dated original specification was a LOCAL pre-analysis working protocol,
not an externally registered or externally preregistered study. The separate
post hoc plan was frozen before those two additional fits after the original
results were known; it never becomes part of the original primary specification.
No external repository deposit, DOI, submission or author approval is implied.

Environment
Use the archive root as the working directory. Original analysis: Python 3.13.12.
requirements.txt contains the actual pinned analysis dependencies, including
NumPy, SciPy, pandas, DuckDB, matplotlib, threadpoolctl and requests==2.34.2.
Keep relative directory names. In particular the unchanged descriptive extractor
MUST remain at work/manuscript_nursing_outlook/descriptives/extract_table1.py:
its HERE.parents[2] resolves the workspace root at that exact directory depth.

Compact scope and required real data
The FIVE large analysis-ready parquet inputs (four linked quarter panels and
one weather table), raw payroll/weather downloads and large real-score NPZs
are omitted. Their exact paths, byte sizes and SHA-256 values are in
work/formal_analysis/run_input_manifest_v2.json. The three smaller protocol/
coordinate inputs are included unchanged. A matching filename alone is not
sufficient: the unchanged runner checks the explicit quarter set and hashes.
Do not rewrite a frozen hash merely to accept a regenerated or unmatched input.
These omissions mean the compact ZIP is not a self-contained raw-data mirror.

Original fixed models: refitting versus stored export
After supplying the exact large inputs, run:
  python work/formal_analysis/run_formal_analysis.py
This writes or explicitly reuses matching work/formal_analysis/results/ caches.
That working cache is deliberately absent from this distributed ZIP.
stored_final_model_results/ is a separate readable copy, not an active cache.
To rebuild exports or post hoc descriptive arithmetic from stored results
WITHOUT refitting, explicitly COPY the 12 stored_final_model_results/*.json
files into work/formal_analysis/results/ first, preserving their exact bytes.
This is an export-from-stored-results operation. Running the original runner
after copying them would reuse that cache and would not be an independent refit.
  python work/formal_analysis/summarize_and_plot.py
Do not conflate stored-result export, software tests and new real-data fitting.

Original descriptive summaries
After supplying original input files, run:
  python work/manuscript_nursing_outlook/descriptives/extract_table1.py
The original descriptive definitions postdate formal estimation and precede
descriptive calculation. They add no association test. Their original paths,
code and CSV bytes are preserved. In the descriptive JSON, only four personal
local filenames were redacted in the copied evidence, as the base ledger marks;
all other values were independently checked identical to the source JSON.

Five final publication figures: no real inputs or refit required
  python work/reviewer_round2/revision/create_publication_figures.py
The script reads the two included aggregate CSVs under
outputs/Formal_PBJ_Heat_Analysis_20261018/ and writes five PDF/PNG/TIFF figures
under work/reviewer_round2/revision/figures/. All 162 plotted values are retained
in figure_source_values.csv. Main Figure 2 and the complete-profile supplement
use shared y scales. Figure S3 compares three already-fitted CNA source-date
assignments; it does not independently replicate a temporal mechanism.
stored_publication_figure_evidence/ holds the expected values/provenance for
comparison. Plotting changes presentation, not any fitted value or inference.

Software validation requiring no real data
  python work/formal_analysis/independent_validation_ai/reference_validation.py
  python work/formal_analysis/independent_validation_ai/compare_primary_engine.py
The 448-row synthetic fixture is SOFTWARE VALIDATION DATA, not study evidence.
The first builds explicit-dummy OLS and literal ordered-pair covariance oracles;
the second checks the unchanged primary numerical engine against those oracles.
Neither establishes clinical validity, causal identification or CI coverage.
The included real-score and real-point validation reports state their separate
input requirements and scope; large real influence arrays are not distributed.

Post hoc descriptive scales and deterministic date-remapping checks
The exact script, frozen descriptive rules, full outputs and all CSVs are in
work/reviewer_round2/posthoc_descriptives/. After explicitly copying the three
needed original model JSONs into the working cache as described above, run:
  python work/reviewer_round2/posthoc_descriptives/calculate_descriptive_scaling.py
It performs arithmetic only, with no model fit or new statistical test.
The +/-1% reference was chosen POST HOC and is a descriptive scale, not a
clinical equivalence margin or TOST. The 3-/5-hot-day scenarios are K*C with
K*SE under the same additive common-slope model over K+7 response days, not
observed heatwave effects or independent evidence. The denominator uncertainty
is not added to these fixed descriptive scales. Source-date remapping compares
physical weather-source dates, not replicated latency, onset or recovery.

Two post hoc diagnostic models: exact inputs required
The exact frozen plan and SHA file are in work/reviewer_round2/. Do not recreate
or edit them; the new runner checks the hard-coded plan fingerprint and all
unchanged original inputs/code. It additionally verifies the original main
model JSON at work/formal_analysis/results/main.json. Refit that original model
first, or explicitly copy its stored unchanged JSON to this exact working path.
Then, with all real inputs available, run in a fresh post hoc output directory:
  python work/reviewer_round2/posthoc/run_posthoc_models.py --model future_heat_diagnostic
  python work/reviewer_round2/posthoc/run_posthoc_models.py --model historical_temperature_background
The script refuses to overwrite an existing result JSON; stored post hoc
results are therefore packaged separately. It regenerates both large requested-
contrast influence NPZs, required by:
  python work/reviewer_round2/posthoc/recheck_posthoc_outputs.py
This checks saved influences with a separate dense-distance spatial kernel and
direct full-date-kernel multiplication, plus intervals, P values and Holm/Wald
calculations. It does not independently refit the facility-level models.
The future coefficient is not a pure placebo: anticipation, persistence and
source-window overlap limit its interpretation. Its three tests have a new
exploratory Holm family; conditional eight-lag sums have nominal inference.
The historical Tmax95 background uses the fixed 2,818-county equal-weight
one-third/two-thirds linear quantiles, with exact cutpoints 33.0955 and 35.23 C.
These are NOT formal climate zones. Nine group cumulative tests form one new
Holm family and three two-df role-level heterogeneity tests form another.
No detected lead or group difference does not establish no confounding or equal
responses. All original primary results and inference families remain unchanged.
validate_input_and_preservation.py additionally needs the ORIGINAL
outputs/Formal_PBJ_Heat_Analysis_20261018.zip to repeat its historical byte
comparison; that prior ZIP is omitted. Its completed PASS report is provided.

Raw-to-analysis source transformations and source identity
work/climate/correct_weather_time.py is the unchanged final weather transform.
Its manifests identify the official historical/recent monthly files and October
boundary files; supply and verify them before running. The original raw-date
pilot threshold is not the final exposure definition.
The included multiseason_linkage.py is the original portable adapter: only one
personal Downloads path was replaced with PBJ_SOURCE_DIR (default input/pbj).
That one-path adapter is marked in BASE_COMPANION_SOURCE_EXPORT_MANIFEST.json;
it was not rerun on raw inputs during manuscript revision. Recreated parquet
serialization can vary; a mismatch requires review, not silent hash replacement.
Source identities, archive consistency and government-original authentication
are separate claims. source_status/ records the latest official CMS retrieval
attempts; no official CSV/API records were obtained in those attempts, and
government-original identity remains unresolved. Error-body hashes are never
treated as source-data hashes. Original analysis inputs were not replaced.

Interpretation and integrity
The original cumulative contrast integrates lags 0-7 per additional locally hot
day: it is not a daily deficit, an entire heatwave effect or a causal estimate.
Reported payroll resources do not identify individual absence, actual bedside
care, adequate heat care, patient harm or causal employee-to-contract replacement.
Original primary Holm adjustment covers three role-total cumulative tests;
other original tests are nominal/pointwise, with post hoc families distinguished
above. The historical SOURCE_EXPORT_MANIFEST.json records original sources/changes;
SHA256SUMS.json covers every other member. Exact frozen core files, all 12
original results, exact post hoc runner/plan and original descriptive code/CSVs
are byte-identical to the reviewed versions. The evidence-JSON local-path
redaction is separately marked. No large real-data NPZ/parquet files,
credentials, manuscript author identities or personal local paths are included.

ROUND 3 UPDATE
The relative reviewer_round3_arithmetic/ tool supplies the C/8 daily-average
anchors and full saved 8x8 matrix arithmetic without real-data fitting. See its
README. Actual Chrome and Edge checks for all four official CMS CSV links
returned HTTP403; source_status/actual_browser_attempts_round3.json records
these current attempts. No official raw file was obtained or authenticated.
The original SOURCE_EXPORT_MANIFEST is historical; ROUND3_ADDITIONS_MANIFEST
records new files and SHA256SUMS covers the entire current archive.


R8 UPDATE
One new exploratory0–14-day model is in work/reviewer_round4_20261018/extended_lag/.
See its README for the separate new Holm family, exact population, stored-result
check, refit requirements, explicit anonymous plan-pin adaptation and limits.
All original models and numerical data remain. No original-byte authentication
or new human validation is conferred by this extension.

R8 compact-input exception: the frozen 2,637,529-byte derived lag-weather
parquet is included in the extension folder. Large original weather,
linked staffing parquets and real-data influence arrays remain omitted.

R SOFTWARE CROSS-CHECK AND CURRENT AUTHOR REVIEW
The reviewer_round5_R_validation folder supplies R/fixest implementations,
reference results, new-score HAC agreement and the joint six-test Holm check.
The author has confirmed R code review, output checks and additional numerical
recalculations for both windows. See reviewer_round6_author_review/review_scope.json.
Original estimates, both windows and separate multiplicity families are unchanged.
