Skip to content

fix(matrix): render covered-but-failing requirement as ▣, not ✗#81

Merged
sjames merged 1 commit into
mainfrom
fix/matrix-failing-glyph
Jul 3, 2026
Merged

fix(matrix): render covered-but-failing requirement as ▣, not ✗#81
sjames merged 1 commit into
mainfrom
fix/matrix-failing-glyph

Conversation

@sjames

@sjames sjames commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Problem

The Tool Qualification CI job fails on main (v0.29.0): qualification test TC-TRS-OUT-009"matrix shows ✓ for passing and ▣ for covered-not-passing" — fails with failing requirement missing ▣.

Root cause

The coverage-classifier unification (2a6630a) added a distinct "failing" cell state — a requirement covered by a non-draft TestCase whose latest ingested verdict is fail. But the matrix glyph renderer was never updated to handle it, so "failing" fell through to "✗" — identical to a true "gap" (no test at all). A covered-but-failing requirement became visually indistinguishable from an uncovered one.

Fix

Map "failing""▣" ("covered, not passing"), matching the legend text and the evidence-backed "covered" cell. The requirement is covered; the test just isn't passing.

Footer/coverage-percentage counting is unchanged — "failing" still counts as applicable-not-covered (the unification's intended safety-critical stance: no coverage credit for a failing test). Only the glyph distinguishes it from a gap.

Verification

  • REQ-OUT9-FAIL-001 now renders with evidence, under --linked-only (as expected).
  • Full qualification suite: 247/247 pass (was 246/247).
  • Full syscribe crate test suite green; clippy clean.

🤖 Generated with Claude Code

The coverage-classifier unification (2a6630a) split out a distinct
"failing" cell state (covered by a non-draft TestCase whose latest
verdict is fail), but the matrix glyph render was never updated — it
fell through to "✗", making a covered-but-failing requirement visually
indistinguishable from a true gap (no test at all).

Map "failing" to "▣" ("covered, not passing"), matching the legend and
the evidence-backed "covered" cell. Footer counting (failing counts as
applicable-not-covered) is unchanged. Fixes qual TC-TRS-OUT-009.
@sjames
sjames merged commit 5a0a206 into main Jul 3, 2026
1 check passed
@sjames
sjames deleted the fix/matrix-failing-glyph branch July 3, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant