Python-ML Rules
- Use Python ≥ 3.10 type hints (PEP-484/PEP-604).
- Prefer pathlib over os.path.
- Keep public APIs in all.
- Never commit secrets or model artefacts to git.
- Follow SOLID & GRASP (see Prompts).
- Respect ruff rules defined in pyproject.toml.
- Tests live in tests/, use pytest fixtures, ≥ 80 % coverage.