USDR Crosscheck · desktop

Finite-size scaling test — does the 2D site percolation threshold shift with lattice area as p_c(L) = p_c(inf) + c * L^(-1/nu) with nu = 4/3?

Protocol p-b-habitat-percolation-ecology-fss · bridge b-habitat-percolation-ecology

Monte Carlo estimates of the site percolation threshold on square lattices of side L = 16, 32, 64, 128 show a systematic negative shift from p_c(inf) ≈ 0.5927 that scales as L^(-1/nu) with nu within 15% of the 2D percolation value 4/3.

Try the in-browser runner below for a live demo, or clone this folder for the canonical Python repro (source of truth for verification).

Run Crosscheck in your browser

One-click demo — same algorithm as the Python repro. Results stream live; clone the repo for full-precision verification.


  

Run locally

git clone https://github.com/KR8ZYSHO3/Universal-Science-Discovery.git
cd Universal-Science-Discovery/repro/p-b-habitat-percolation-ecology-fss
pip install -r requirements.txt
python simulate_percolation_fss.py

Estimated runtime: 4–8 minutes on a modern laptop (350 trials/p by default). Exit code 0 = prediction within tolerance; 1 = falsified at stated precision.