Thanks for contributing to DifferentialLab.
pip install -e ".[dev]"Optional documentation toolchain:
pip install -e ".[docs]"- Run tests:
pytest- Run lint checks:
ruff check src tests- If typing checks are used in your workflow:
mypy src- Update docs for user-visible changes:
README.mddocs/pages- API refs if public interfaces changed
If you add a plugin:
- implement package structure (
problem.py,ui.py,solver.py,result_dialog.py) - register it in
src/complex_problems/problem_registry.py - add solver + registry tests
- update
docs/complex-problems.mdanddocs/api/complex_problems.rst
- Keep numerical kernels separated from GUI code.
- Validate UI inputs before solver execution.
- Expose structured result dataclasses with explicit
metadataandmagnitudes.