demo/ — application demosCross-cutting application demos that compose existing library methods into thin orchestrators with domain-themed plots. Unlike chapter scripts, demos are not tied to a single book example number; unlike extras topics, they foreground real-world metaphors (saccades, balance, aerial navigation).
active_inference and the Python standard library.src/active_inference/demo_workflows.py.--save and writes PNG +
NPZ+JSON sidecars via save_demo_data.--seed and pass rng explicitly in library code.| Folder | Demo |
|---|---|
eye_saccades/ |
Discrete EFE fixation planning on a retinotopic grid |
bicycle/ |
Multivariate active inference balance metaphor + fault compensation |
drone_flight/ |
Waypoint lattice planning, kinematic path, LGS position fusion |
python demo/eye_saccades/visualize_eye_saccades.py --save
python demo/bicycle/visualize_bicycle.py --save
python demo/drone_flight/visualize_drone_flight.py --save
Or via the menu / web UI (./run.sh / ./run.sh --web).
output/figures/demo/<slug>/output/data/demo/<slug>/uv run pytest tests/demo -v
uv run python scripts/validate_orchestrator_contracts.py