- Fork and clone the repo
python -m venv venv && venv\Scripts\activate(orsource venv/bin/activate)pip install -r requirements.txt -r requirements-dev.txtcd client && npm ci && cd ..
Python: Black, isort, Ruff -- enforced via pre-commit hooks:
pip install -r requirements-dev.txt
pre-commit installFrontend: Prettier (npm run format in client/).
# Backend (34 tests)
python -m pytest tests/
# Frontend (11 tests)
cd client && npx react-scripts test --watchAll=falseAll tests must pass before submitting a PR.
app/-- backend package (config, schemas, services, utils)main.py-- FastAPI entry pointclient/-- React frontendscripts/-- utility scripts (data fetching, model download)notebooks/-- training notebooktests/-- pytest test suite
- Create a feature branch:
git checkout -b feature/my-feature - Make changes, write tests
- Run
pre-commit run --all-files - Run
python -m pytest tests/andcd client && npx react-scripts test --watchAll=false - Commit with descriptive messages (
feat:,fix:,docs:) - Open a PR with a clear description
Include: steps to reproduce, expected vs actual behavior, OS/Python version, error logs.