issues
search
DataCanvasIO
/
YLearn
YLearn, a pun of "learn why", is a python package for causal inference
https://ylearn.readthedocs.io
Apache License 2.0
391
stars
75
forks
source link
Code: please build a unit test for function 'graph.py'
#9
Open
LIUZhaohan0
opened
2 years ago
LIUZhaohan0
commented
2 years ago
You can find the source code under path:
https://github.com/DataCanvasIO/YLearn/blob/main/ylearn/causal_model/graph.py
Please firstly read the related document and understand the function code
Please build a unit test named '
graph_test.py
' to test the function and
save it under path
:
https://github.com/DataCanvasIO/YLearn/tree/main/tests
The requirement is to reach
at least 70% code coverage
https://github.com/DataCanvasIO/YLearn/blob/main/ylearn/causal_model/graph.py