Ah, I misread the code. I hadn't noticed that `plausibleEdges` was being passed as a lambda. The name made me think that was a set of edges. I'd suggest renaming that function to `plausibleEdgesForState` of something similar. What do you think?