docs/plans/2026-03-17-coverage-priority-map.md
Use fresh repo coverage to rank the next non-React test work by value.
This pass starts from real lcov, not stale assumptions.
bun test --coverage --coverage-reporter=lcov --coverage-dir=.coverage-repo --reporter=dots2433 pass0 fail405 files3.09spackages/*/src/**.score is 0-10./react or other React-bound files score 0 and are excluded for this pass.index.*, type-only files, and barrels score 0.markdown, yjs, media get extra weight because they combine framework value with deterministic non-React seamsplaywright, floating, and similar niches are pushed downmarkdownBest next slice.
yjsBest untouched contract lane.
mediaCheap, useful, and still visibly under-covered in the exact seams that matter.
/react drift neededautoformatStill worth a pass, but after the three above.
docx-io
html-to-docx, but it just got a pass and the next best immediate value is still markdown, yjs, then media.docx
docx-io.suggestion
markdown and yjs, but solid.list-classic
dnd
table
core
0 on purpose| Rank | Package | Score | Notes |
|---|---|---|---|
| 1 | markdown | 50 | Best next deterministic parser/serializer slice |
| 2 | yjs | 50 | Biggest untouched non-React contract lane |
| 3 | media | 49 | Cheap and useful transform/url seams |
| 4 | autoformat | 48 | Large transform gaps, honest unit seams |
| 5 | docx-io | 46 | Still valuable, but not the very next move |
| 6 | docx | 45 | Good second-tier deterministic cleanup |
| 7 | table | 44 | Real backlog, but not next after table work |
| 8 | list-classic | 44 | Useful transform coverage |
| 9 | dnd | 44 | Pure but lower leverage |
| 10 | suggestion | 43 | Solid follow-up package |
The raw package and file matrices were generated as TSV artifacts during this pass and are intentionally treated as disposable analysis output, not committed source of truth.
The file matrix included every file under packages/*/src, with:
scoreline_cov_pctuncovered_linessource_linesstatus
candidateexcluded-reactexcluded-typeexcluded-barrel