docs/reference/ — agent guideAPI reference and coverage contracts. Most files are one page per subpackage
under src/active_inference/; update them every time the public surface
(__all__) of a subpackage changes. book_topic_matrix.md is the separate
audit contract for the repo-root extras/ curriculum and the
active_inference.extra_topics registry.
Each reference page must contain, in order:
.py filenames to roles.__all__ with its
signature or one-line role description.topics/ and statistics/.| Change | Edit |
|---|---|
New public function in core.distributions |
core.md API table. |
New class in estimators.linear_regression |
estimators.md API table. |
| New plotting helper | visualizations.md API table. |
New core.diagnostics symbol |
core.md (and likely a new statistics/ page). |
| New extras topic, book section, or artifact mode | book_topic_matrix.md plus extras/README.md. |
Before merging, run::
python -c "import active_inference as ai; print(sorted(ai.__all__))"
and diff against the API table in core.md / estimators.md /
utils.md / visualizations.md. Any mismatch must be reconciled.
For extras coverage, run:
python scripts/validate_book_topic_coverage.py
python scripts/validate_book_topic_coverage.py --require-rendered
topics/.statistics/.__all__.