A Physical Theory of National Resilience
收藏资源简介:
This dataset contains all synthetic and processed empirical data, along with the core Python code, necessary to fully replicate every key finding and figure in the manuscript “A Physical Theory of National Resilience” (submitted to Nature Communications). The repository serves as the complete, auditable computational backbone of the theory. It enables independent verification of both the theoretical framework (phase diagrams, synthetic trajectories) and its empirical validation (pre-crisis early-warning signals). Core Contents: generate_nrs_dataset.py: Implements the stochastic differential equations of the National Resilience Surplus (NRS) theory. Generates the global synthetic dataset (2000-2023) for the Sovereignty Strength Index (SSI), Wealth-Guardian Entropy (H_g), and the Resilience Surplus (W) and its dynamic derivatives (W′, W′′). This data underpins the SSI-H_g Diagnostic Phase Diagram (Fig. 2) and the synthetic nation trajectory plots (Fig. 3). analysis_fig4.py: Contains the code to reproduce the empirical analysis of the 2008 financial crisis (Fig. 4). It processes real-world data to calculate the acceleration (W′′) of U.S. household debt-to-GDP and the S&P 500 index, demonstrating the synchronized “silent deceleration” prior to the collapse. Corresponding processed data files for all figures are included in the data/directory. This is the archival, versioned release under the Global Thought Laboratory Protocol, ensuring full transparency and reproducibility. The active development repository, featuring continuous updates and expanded diagnostic tools, is available on GitHub: [https://github.com/NRS-Research/NRS-Framework].
本数据集包含可完整复现投稿于《自然·通讯》(Nature Communications)的论文《国家韧性的物理理论》(A Physical Theory of National Resilience)中所有关键研究发现与图表所需的全部合成数据、经处理的实证数据,以及核心Python代码。本仓库作为该理论完整且可审计的计算支撑框架,支持独立验证其理论框架(相图、合成轨迹)与实证验证环节(危机前预警信号)。 核心内容如下: 1. `generate_nrs_dataset.py`:实现国家韧性盈余(National Resilience Surplus, NRS)理论的随机微分方程,生成覆盖2000-2023年的全球合成数据集,用于计算主权强度指数(Sovereignty Strength Index, SSI)、财富守护熵(Wealth-Guardian Entropy, H_g)、韧性盈余(W)及其动态导数(W′、W′′)。该数据集为SSI-H_g诊断相图(图2)与合成国家轨迹绘图(图3)提供核心支撑。 2. `analysis_fig4.py`:包含复现2008年金融危机实证分析(图4)的代码。该代码处理真实世界数据,计算美国家庭债务占GDP比重与标普500(S&P 500)指数的加速度(W′′),展示了崩盘前同步出现的“静默减速”现象。 所有图表对应的处理后数据文件均存放于`data/`目录下。本版本为遵循全球思想实验室协议(Global Thought Laboratory Protocol)的存档版带版本号发布,确保研究完全透明且可复现。包含持续更新与扩展诊断工具的活跃开发仓库可在GitHub获取:[https://github.com/NRS-Research/NRS-Framework]。



