Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update examples #18

Merged
merged 185 commits into from
Dec 14, 2023
Merged

Update examples #18

merged 185 commits into from
Dec 14, 2023

Conversation

cthoyt
Copy link
Member

@cthoyt cthoyt commented Dec 14, 2023

This PR squashes all of the example updates before #1 gets merged

pnavada and others added 30 commits September 13, 2023 16:34
Yet to run tox, finish the test cases
Adding method for choosing default test.
Adding tests for get_state_space_map and choose_default_test
Split unrelated tests, remove src. perfix in imports, improvise the logic for choose_default_test
…s (step 3 in the workflow)

Marking descendants of mediators that are not ancestors of outcome as latent
Finding mediators on causal path
And unit tests for both
Copy link

codecov bot commented Dec 14, 2023

Codecov Report

Attention: 93 lines in your changes are missing coverage. Please review.

Comparison is base (bf2ae23) 44.76% compared to head (fa9a0c7) 42.00%.

Files Patch % Lines
...r/examples/frontdoor_backdoor_discrete/example1.py 20.00% 60 Missing ⚠️
src/eliater/frontdoor_backdoor/example3.py 7.14% 13 Missing ⚠️
src/eliater/frontdoor_backdoor/example2.py 9.09% 10 Missing ⚠️
src/eliater/frontdoor_backdoor/base.py 18.18% 9 Missing ⚠️
...r/examples/frontdoor_backdoor_discrete/__init__.py 83.33% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #18      +/-   ##
==========================================
- Coverage   44.76%   42.00%   -2.77%     
==========================================
  Files          14       16       +2     
  Lines         344      419      +75     
  Branches       42       54      +12     
==========================================
+ Hits          154      176      +22     
- Misses        188      240      +52     
- Partials        2        3       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cthoyt cthoyt merged commit 4eeda2c into main Dec 14, 2023
6 of 8 checks passed
@cthoyt cthoyt deleted the update-examples branch December 14, 2023 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants