y0-causal-inference/y0

Promote transport nodes to first class objects

Opened this issue · 0 comments

Currently in both surrogate outcomes and counterfactual transportability, the transport nodes are only identified by a string prefix T_. If this node was a subclass of Variable, then it would be possible to filter for them in a more generic and safe way.