Skip to content

Added the option for an initial individual - #408

Draft
jmafoster1 wants to merge 5 commits into
mainfrom
jmafoster1/modular-discovery
Draft

Added the option for an initial individual#408
jmafoster1 wants to merge 5 commits into
mainfrom
jmafoster1/modular-discovery

Conversation

@jmafoster1

Copy link
Copy Markdown
Collaborator

Summary

Added the ability to specify an initial individual for HillClimberDiscovery, e.g. from a different causal discovery technique. I also moved max_iterations into the function arguments rather than the class object.

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 4, 2026

Copy link
Copy Markdown

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
⚠️ PYTHON black 30 1 1.29s
✅ PYTHON pylint 30 0 6.05s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

@codecov

codecov Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.48%. Comparing base (189396e) to head (a264941).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #408   +/-   ##
=======================================
  Coverage   98.48%   98.48%           
=======================================
  Files          25       25           
  Lines        1517     1518    +1     
=======================================
+ Hits         1494     1495    +1     
  Misses         23       23           
Files with missing lines Coverage Δ
causal_testing/discovery/hill_climber_discovery.py 100.00% <100.00%> (ø)
..._testing/estimation/linear_regression_estimator.py 100.00% <100.00%> (ø)

... 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...a264941. 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