Contributing#
Contributions are welcome — bug reports, feature requests, documentation fixes, and pull requests alike.
Reporting issues#
Open an issue on GitHub. For bugs, include:
ELEANOR version (
python -c "import eleanor; print(eleanor.__version__)")Backend (JAX, PyTorch) and version
Python version and OS
A minimal reproducer
Development setup#
git clone https://github.com/ncas-tum/ELEANOR.git
cd ELEANOR
uv sync --extra cpu # or cuda12 / cuda13 / mps; includes dev tools
uv run pre-commit install
See Installation for the build requirements and the GPU variants.
Style and checks#
Formatting and Linting:
ruff(run viatox -e format).Tests:
pytestfrom the repo root.Type checks (when applicable): align with the existing usage of
jaxtypingin the JAX modules.
Pull requests#
Open the PR against
main.Keep the PR focused — one feature or fix per PR.
Add a one-line entry under
[Unreleased]inCHANGELOG.md.
Todo
Add a CONTRIBUTING.md at the repo root and reference it from here.