Development¶
Install¶
Checks¶
uv run python -m unittest discover -s tests -p 'test_*.py'
uv run python -m compileall src/optpilot
./scripts/smoke_test.sh
Documentation¶
Serve the MkDocs site locally:
Build in strict mode:
Release Hygiene¶
Before publishing:
- Confirm public docs point users to
config: study,config: environment, andconfig: method. - Confirm generated run directories are not committed.
- Confirm
.optpilot-ui/,.venv/,dist/,site/, and*.egg-info/are absent from commits. - Confirm only intentional internal Markdown notes are committed under
resource/; local external projects should stay uncommitted. - Confirm user-facing examples live under
examples/environments,examples/methods, andexamples/studies. - Confirm test-only catalogs live under
tests/fixtures/catalog.