Skip to content

[coverage-audit] Acceptance anchor — Simard test coverage ≥70% (per-group), whole-audit DONE gate #4616

Description

@rysweet

This issue is the machine-checkable finish line for the goal audit-simard-s-test-coverage-and-raise-it-to-70-4d27c91a ("Audit Simard's test coverage and raise it to >70% line coverage").

It is CLOSED only when every box below is checked, and it must be closed by the final audit-complete pull request (Closes #4616), so the goal's completion gate observes both a merged PR and a closed issue on the same merge.

Canonical criteria: Specs/COVERAGE_AUDIT.md §2 (done) and §3 (deterministic next-target procedure). Companion ledger: docs/testing/COVERAGE_BASELINE.md.

Reproduce (the evidence — §3.1)

cargo llvm-cov --no-fail-fast --summary-only

Close-when — all must hold (§2)

  • Every group in docs/testing/COVERAGE_BASELINE.md shows a landed post-lift aggregate ≥ 70% line coverage (or a recorded, justified exception).
  • The ledger's "Other groups" backlog table is empty (every tracked group has landed or is explicitly deferred with justification).
  • The §3 deterministic scan finds no un-ledgered src/ file that is both high-risk (per the §3 risk list) and below 70% with more than 50 executable lines.
  • The measured cargo llvm-cov table proving the above is attached to the closing PR, and the ledger records the whole-audit DONE verdict.
  • A test-quality audit has been completed: tautological, assertion-free, over-mocked, or trivially-passing tests in the attacked groups are fixed or removed (no coverage-padding).

Scope

The simard crate + sibling simard-* crates in rysweet/Simard only (§1). amplihack-rs (#1735 / #1937) is a different repository and out of scope. Do not convert .github/workflows/coverage.yml into a blocking CI gate (§4).


Filed as the acceptance-anchor done-gate during Overseer escalation triage of the stalled coverage goal (see prompt_assets/simard/overseer/escalation_triage.md). Closing this issue by hand does not complete the goal — it must be closed by the merged audit-complete PR so the completion gate certifies it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions