jakezj/NIS_for_Causal_Emergence ? reverse-engineered prompt

Reverse engineered prompt

Build me a small research notebook project around Neural Information Squeezer for causal emergence.

I want to be able to run a few demo experiments from notebooks for a simple Markov chain, a Boolean network, and a mass spring system with measurement noise, then compare the results visually. Please include the helper code for the NIS model and the information calculations so I can estimate effective information, efficiency, and mutual information from a learned or user supplied function.

It should be easy to run, easy to tweak the system size and noise, and produce the kind of plots shown in the paper style examples. If anything needs current library behavior or math details, look up the latest docs or best practice online. Keep the code clean and organized so the notebooks are readable and the experiments can be repeated without much setup.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab