| name | coverage-baseline |
| description | Produce or refresh the evidence-backed test/coverage baseline in docs/STATUS.md (pass-rate plus per-module branch coverage). Use to re-establish the source of truth after dependency or test changes, and to pick coverage targets. |
Coverage Baseline
Generate the real, reproducible project status so docs never drift from the code. The per-module table
this produces is what selects coverage work — never assume targets from older docs.
pip install -e ".[dev,neural]"
pytest tests/ \
--cov=src \
--cov-report=term-missing \
--cov-report=xml:coverage.xml \
--junitxml=junit.xml
python -m coverage report --sort=cover
Then update docs/STATUS.md with: date, pass/fail/skip counts, overall branch coverage, and the
per-module table (lowest first). Update planning/milestones.yaml quality_metrics to match.
Notes:
- Coverage gate is branch coverage,
fail_under = 85.0 (pyproject.toml).
src/api/rest_server.py, src/api/inference_server.py, and three src/games/chess/ modules are omitted
from coverage by config — they will not appear as movable targets.