Fill a grid until one habitat wraps all the way around. That filled percent is the breaking point for that width. A huge landscape breaks near 59.3%. A smaller one should break somewhere else, and the gap should shrink in a known way as the width grows.
Run the check measures four widths, 400 times each. The sentence below is written from that fit.
Each color is one connected habitat: patches that touch up, down, left, or right. The color is a label, not a measurement. Dark cells are empty. This picture is one landscape, not the average.
Waiting.
Filled fraction. The gold tick is 59.27%.
The conclusion appears here after the four widths are measured.
This run writes that sentence from the dots on the chart.
Each dot is the average breaking point from 400 runs at that width. The number on the dot is the filled percent where the habitat wrapped. The gold dashed line is 59.3%, where a huge landscape breaks. When the run finishes, the teal line is the curve fitted to these dots.
The check is whether that breaking point follows p_c(L) = p_c(∞) + c × L^(−1/ν), with ν within 15% of 4/3.
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: ~15–40 s in Python, or a few minutes in the browser, at 400 Newman–Ziff samples/L. Both report the fit. Neither presets the result.