py-why / dowhy

DoWhy is a Python library for causal inference that supports explicit modeling and testing of causal assumptions. DoWhy is based on a unified language for causal inference, combining causal graphical models and potential outcomes frameworks.
https://www.pywhy.org/dowhy
MIT License
6.89k stars 916 forks source link

fixed a bug where wrong node is identified as unknown model #1108

Closed bhatt-priyadutt closed 7 months ago

bhatt-priyadutt commented 7 months ago

Bug in case where node which should be identified as fully defined non root node is being defined as unknown model.

bloebp commented 7 months ago

Thanks! Can you also add a brief unit test to cover the bug? Just add a second commit, that is fine.