Hacker News new | ask | show | jobs
by vrtnis 706 days ago
Very cool! looking forward to trying it out - the graphs reminded me of a toy project I'd done a while back to better understand deterministic and reproducible execution in python as seen in marimo.io notebooks https://github.com/vrtnis/python-notebook-simulator
1 comments

Ah, yes, the notorious state problem in notebooks. In your project, do you find the dependencies statically or dynamically?
Statically - basically just parsing the code into an AST and then walking through the tree to collect information about variable usage and definitions.