Contributing¶
Thank you for contributing!
Development Setup¶
git clone https://github.com/anujsingh-cse/causal-inference-toolkit.git
cd causal-inference-toolkit
pip install -e ".[dev,viz,notebooks]"
pre-commit install
Running Tests¶
# All tests
pytest
# With coverage
pytest --cov=causal_toolkit --cov-report=html
# Specific test file
pytest tests/test_core.py -v
Code Style¶
Pull Request Process¶
- Fork and create feature branch:
git checkout -b feature/amazing-thing - Write code + tests
- Run full check:
ruff check . && mypy src/causal_toolkit && pytest - Submit PR
Reporting Bugs¶
- Use GitHub Issues
- Include minimal reproducible example
- Specify Python version, OS, package version
Feature Requests¶
- Open Issue with
enhancementlabel - Describe use case and expected API