Skip to content

Jmafoster1/causal cut - #410

Draft
jmafoster1 wants to merge 14 commits into
mainfrom
jmafoster1/causal-cut
Draft

jmafoster1 wants to merge 14 commits into
mainfrom
jmafoster1/causal-cut

Conversation

@jmafoster1

Copy link
Copy Markdown
Collaborator

Summary

This PR integrates the Causal Cut tool into the CTF.

Main File Changes

New package minimisation and associated entrypoint in __main__.py.

Checklist

Before you mark your PR as ready for review, please ensure you have completed the following.

  • Added unit tests for new functionality
  • Properly documented any new code
  • Updated Sphinx documentation in docs/ and checked for updated configuration/runtime options
  • Added a jupyter notebook tutorial in docs/source/tutorials for any new functionality
  • Verified local docs build with sphinx-build -W source/ build

@github-actions

github-actions Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
⚠️ PYTHON black 31 1 1.17s
✅ PYTHON pylint 31 0 6.26s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

@codecov

codecov Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 56.73077% with 90 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.15%. Comparing base (189396e) to head (12bd256).
⚠️ Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
causal_testing/minimisation/causal_cut.py 14.28% 72 Missing ⚠️
causal_testing/__main__.py 80.85% 18 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #410      +/-   ##
==========================================
- Coverage   98.48%   93.15%   -5.33%     
==========================================
  Files          25       26       +1     
  Lines        1517     1651     +134     
==========================================
+ Hits         1494     1538      +44     
- Misses         23      113      +90     
Files with missing lines Coverage Δ
causal_testing/causal_testing_framework.py 100.00% <100.00%> (ø)
...ting/estimation/instrumental_variable_estimator.py 100.00% <100.00%> (ø)
..._testing/estimation/linear_regression_estimator.py 100.00% <100.00%> (ø)
causal_testing/testing/causal_test_case.py 100.00% <100.00%> (ø)
causal_testing/testing/causal_test_result.py 100.00% <100.00%> (ø)
causal_testing/testing/data_adequacy.py 100.00% <100.00%> (ø)
causal_testing/__main__.py 88.62% <80.85%> (-10.55%) ⬇️
causal_testing/minimisation/causal_cut.py 14.28% <14.28%> (ø)

... and 2 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9ee3e7c...12bd256. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant