Data for: Demarcation Before Falsification: Boundary–Convergence–Mapping as Entry Conditions for Science
Description
This repository provides the replication package for the paper “Assessing the Meta-Laws of Scientific Existence” (v1.0.0, 2025-11-07). ZIP filename: meta-laws-repro-v1_20251107.zip SHA-256: f3d5b8fde5734b26ecb09cc39e0b75e208a8dcd68146a4ff0f5512596f54c664 Contents - code/: Python 3 scripts (stability_check.py, make_diff.py, filter_1990.py) - data/: timeseries_diff_1990.csv (monthly Δlog×100; 1990–present) - protocols/: Param-Obs-Protocol.csv (ASCII, operational thresholds) - out_1990/: expected outputs (summary.md, rolling_cdf_ks.png) - checksums/: CHECKSUMS.txt (hashes), env.txt (Python version and pip freeze) - README.md: quick start and troubleshooting How to reproduce (Windows, from the extracted root) py -3 code\stability_check.py --in data\timeseries_diff_1990.csv --out out_1990 --acf-lags 36 --ks-window 120 --ks-ref 120 --ks-step 6 Expected results (our run, N=429) ADF = -4.044 (p = 0.0012) rejects a unit root; KPSS = 0.216 (p = 0.10) does not reject stationarity; Rolling two-sample KS (ref=120, win=120, step=6) mostly below KS_thr = 0.21; We trigger re-estimation if KS_thr is exceeded for q = 3 consecutive windows. Figures and a short report are written to out_1990/ (summary.md, rolling_cdf_ks.png). Data & preprocessing CPIAUCSL from FRED; Δlog×100; drop NAs; filter to 1990+. All CSVs are ASCII-only (no Unicode symbols). Contact / citation Please cite the SSRN preprint and this dataset; include the package SHA-256 above for verification.
Files
Steps to reproduce
Quick start (Windows, ASCII path only) 1) Unzip this package to an ASCII-only folder (e.g., E:\repro_ascii). 2) Open a command prompt in that folder and run: py -3 code\stability_check.py --in "data\timeseries_diff_1990.csv" --out out_1990 --acf-lags 36 --ks-window 120 --ks-ref 120 --ks-step 6 Expected outputs: - out_1990\summary.md - out_1990\rolling_cdf_ks.png Notes / pitfalls: - Use an ASCII path (no Chinese characters). - If running without a GUI, add at the top of `code\stability_check.py`: import matplotlib; matplotlib.use('Agg') - If CSV not found, check the `--in` path and keep quotes. Integrity check: SHA-256 of meta-laws-repro-v1_20251107.zip = f3d5b8fde5734b26ecb09cc39e0b75e208a8dcd68146a4ff0f5512596f54c664 (Windows: `certutil -hashfile meta-laws-repro-v1_20251107.zip SHA256`)