test: add quality-depth gates and mature CPU coverage

This commit is contained in:
Joseph Magly
2026-08-14 14:08:23 -04:00
parent b80c1a1694
commit 951700a285
21 changed files with 1986 additions and 80 deletions
+5 -2
View File
@@ -756,13 +756,16 @@ pip install -e ".[dev]"
pytest
```
The mandatory CPU suite currently contains 1,001 tests across 44 test files,
The mandatory CPU suite currently contains 1,123 tests across 52 test files,
including a repository-owned synthetic model that exercises the offline pipeline,
installed-wheel CLI, study runner, transactional checkpoint recovery, and resumable
auto-obliteration state. The suite also covers model/device/quantization/MLX
boundaries, all analysis modules, architecture detection, visualization sanitization,
community contributions, edge cases, and evaluation metrics. CI enforces at least
60% statement coverage, 42% branch coverage, and 90% changed-line coverage.
60% repository statement coverage, 42% repository branch coverage, 90%
changed-line coverage, and 80% statement / 75% branch coverage for the documented
mature CPU-only scope. Deterministic property, order-repeat, and selective mutation
gates provide additional depth for numerical and policy-critical behavior.
## License