Skip to content

Latest commit

 

History

History
67 lines (50 loc) · 1.26 KB

File metadata and controls

67 lines (50 loc) · 1.26 KB

Contributing to Behavioral Consequence Framework

Thank you for your interest in contributing to BCF!

Development Setup

  1. Clone the repository:
git clone https://github.com/yourusername/BCF--Behavioral_Consequence_Framework-.git
cd BCF--Behavioral_Consequence_Framework-
  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install in development mode:
pip install -e ".[dev]"

Running Tests

pytest tests/

With coverage:

pytest --cov=bcf --cov-report=html tests/

Code Style

We use:

  • Black for code formatting
  • Ruff for linting
  • MyPy for type checking

Run before committing:

black src/ tests/
ruff check src/ tests/
mypy src/

Pull Request Process

  1. Create a new branch for your feature
  2. Write tests for new functionality
  3. Ensure all tests pass
  4. Update documentation as needed
  5. Submit a pull request with a clear description

Research Contributions

If adding new behavioral models or frameworks:

  1. Include academic references
  2. Provide validation against existing literature
  3. Add comprehensive tests
  4. Update the README with citations

Questions?

Open an issue on GitHub for any questions or discussions.