Reproducible experiments and paper for:
Structural Early Warning of Connectivity Collapse in Heavy-Tailed Networks
bash run_docker.shRequires Docker. Builds the environment, runs all experiments, and compiles paper.pdf.
Outputs:
paper.pdf— compiled manuscriptpaper/tables/— LaTeX table fragmentspaper/figures/— PDF/PNG figurespaper/data/— raw CSVs
The CAIDA AS-relationship dataset is required for the empirical network results (Step 9). It is not bundled in this repository due to size. To include it:
- Register at https://www.caida.org/data/request_user_info_forms/as-relationships.xml
- Download the
20260101.as-rel2.txt.bz2snapshot - Extract and convert to an undirected edge list:
bunzip2 20260101.as-rel2.txt.bz2
awk '!/^#/ {print $1, $2}' 20260101.as-rel2.txt > caida_as_edges.txt- Place
caida_as_edges.txtin the repo root before runningbash run_docker.sh.
If caida_as_edges.txt is absent, the pipeline will skip Step 9 and produce paper.pdf without the CAIDA figure (all synthetic results remain intact).
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
bash remake.shLaTeX (pdflatex, bibtex) must be installed separately.
core/ — graph models, failure models, metrics, experiment runner
runner/ — sweep orchestration, export, figure generation
experiments/ — control experiments (null control, low-damage control)
scripts/ — plotting scripts
paper/ — generated artifacts (tables, figures, data)
paper.tex — manuscript source
references.bib — bibliography
remake.sh — full pipeline script
run_docker.sh — one-command Docker entry point
Apache 2.0 — see paper.tex for full license notice.