Labs
The primary hands-on artifact of this course is the Open Engineering Mini Kernel living in kernel/.
Suggested lab sequence
- Rust-only tests —
cargo testinsidekernel/ - First binding — expose and call
normalize_identifier - Identifier class — construct and reject invalid identifiers from Python
- Manifest validation — feed valid and invalid dicts
- Rule evaluation — write a small rule and observe match / no-match
- Python contract tests —
pytest tests/python - Wheel packaging —
maturin build --releaseand install into a clean environment
Running the automated suites
cd kernel
# Domain logic (no Python required)
cargo test
# Public Python contract (requires maturin develop first)
maturin develop
pytest tests/python -qSee the Capstone for the complete acceptance criteria.