Closed mzargham closed 5 years ago
Thanks @decentralion
Yep, I originally had separate functions for node/edge property dict, but then collapsed them into one.
It would be great to have a CI tool that evaluates every cell and verifies that nothing throws an error like this. It's pretty easy to code bugs like this because the local kernel keeps the old symbols in scope.
I guess as a personal code review habit, I'll start restarting the kernel and then re-evaluating every cell before I send it in.
My habit is always to hit the restart run all before commit. It can fail for lots of reasons, even just cell order, for the reason you mentioned.
bug nodePropertyDict(n)
not defined in: https://github.com/sourcecred/research/blob/sample-graphs/sample_graph_EDA/sample_graph_inspection_notebook.ipynb
it seems like it would have been defined in this cell: