py-why / py-why/causal-learn

Using "fastkci" and "rcit" tests in FCI algorithm

Open
#246 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.7k
Forks
274
PR merge metrics
No merged PRs in 30d

Description

Hi causal-learn developers,

Thanks for creating such an useful and comprehensive open-source library. I just tried using the fastkci and rcit tests in the fci() function, but got an error "raise TypeError(f"CI test class must inherit from CIT_Base: {test_class.name}")". Both tests indeed inherit from CIT_Base, but are not working for fci(). They work for pc() though.

Would it be possible to look into this issue? Thanks!

Best,
Stella

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the fci() entry point and the CIT_Base validation that rejects fastkci and rcit, then compare how pc() accepts the same tests. Reproduce the reported TypeError and trace the differing test-class handling; done means both tests run through fci() without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.