This repository contains the code used for the analysis presented in the paper:
"Reducibility of higher-order networks from dynamics",
by M. Lucas, L. Gallo, A. Ghavasieh, F. Battiston, and M. De Domenico
Nature Communications (2026)
Fig. 4. Empirical datasets show different levels of reducibility

notebooks/: notebooks used to produce the figures and simple simulationssrc/: modules with functions used in the notebooks and heavier simulation scriptsresults/: simulation outputs saved for plotting
The code was tested for Python 3.9 and the dependencies specified in requirements.txt.
In particular, the code relies on the XGI library.
