Thank you for your interest in contributing!
This document explains the workflow, guidelines, and best practices for contributing to the Probability Calculator project.
Click Fork in the upper-right corner of the GitHub page.
git clone https://github.com/<your-username>/Probability-Calculator.git
cd Probability-Calculatorgit checkout -b feature-namepip install -e .Make sure everything is passing before making changes:
pytest -qFollow project conventions and maintain clean, readable code.
We use Black and Flake8:
black .
flake8 .(These also run automatically in GitHub Actions.)
git commit -m "Description of your feature or fix"git push origin feature-nameThen, open a Pull Request on GitHub.
All new features should include tests under:
tests/
Run tests locally using:
pytest -qWe follow:
- Black — automatic code formatter
- Flake8 — python linter
- PEP 8 — Python style guide
Your code should pass both before submission.
If you discover a security issue, do not open a public issue.
Instead, email:
We will respond promptly.
Feel free to open a discussion or issue on GitHub.
Thank you for helping improve the project! 🚀