[Feature] Update Coverage Policy (Documentation)
What
Define and document coverage standards and expectations.
Why
Without a documented policy, coverage rules will not be consistently enforced.
Hi @viiccwen,
I’d like to contribute to defining and documenting the coverage policy for this repository.
I propose structuring the documentation around:
Minimum Coverage Thresholds
Global coverage percentage (e.g., ≥80%)
Per-module or per-package thresholds (if applicable)
Coverage Scope
Unit vs integration test expectations
GPU / CUDA kernel coverage expectations (if measurable)
Python bindings coverage requirements
CI Enforcement
Failing PRs below threshold
Reporting via Codecov / built-in CI tooling
Exceptions & Legacy Code
Handling of experimental or low-level GPU code
Gradual coverage increase roadmap
Contributor Guidelines
When new features require tests
When bug fixes require regression tests
If this structure aligns with the roadmap in #1055, I can draft the initial policy document and open a PR for review.
Please let me know if there are specific tooling preferences (e.g., coverage.py, tarpaulin for Rust, etc.) that should be reflected in the policy.