Thank you for your interest in contributing to the XAI-IDS project! This document provides guidelines for contributing.
- Check existing issues first
- Use the bug report template
- Include: Python version, OS, steps to reproduce, expected vs actual behavior
- Use the feature request template
- Explain the use case and why it would benefit the project
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Run tests:
python -m pytest tests/ -v - Commit with a descriptive message
- Push to your fork and submit a PR
# Clone your fork
git clone https://github.com/YOUR_USERNAME/xai-ids.git
cd xai-ids
# Install dependencies
pip install -r requirements.txt
# Run tests
python -m pytest tests/ -v- Follow PEP 8 conventions
- Use NumPy-style docstrings for all functions
- Add type hints to function signatures
- Keep functions focused and under 50 lines when possible
- All PRs must pass existing tests
- Add tests for new functionality
- Run:
python -m pytest tests/ -v
Use conventional commit format:
feat:new featurefix:bug fixdocs:documentation changesrefactor:code refactoringtest:test additions/changes
Open an issue or contact the maintainers.