Skip to content

docs(testing): correct the tau-remote post-merge figures and their now label - #878

Merged
huichen merged 1 commit into
mainfrom
docs/coverage-doc-numbers
Sep 26, 2026
Merged

huichen merged 1 commit into
mainfrom
docs/coverage-doc-numbers

Conversation

@huichen

@huichen huichen commented Sep 26, 2026 •

Copy link
Copy Markdown
Collaborator

Two accuracy defects in docs/testing/module-tauri-remote.md, both in the same section, found by
re-reading the document after #877 merged. No code changes; docs only.

What was wrong

1. The section contradicted itself. Its prose said the post-merge re-measurement moved this group to

94.7059% (18068/19078 across 42 files, 1010 uncovered in 29 files)

while, in the same section, the table row for remote_host/business/catalog.rs said **0** | covered.
Cause: a worker closed that file's three lines — by adding a test, not a waiver — after the prose
was written, and only the row was updated. The prose now states the final measurement,
94.7349% (18137/19145, 1008 uncovered in 28 files), and names the reason the count is 1008 rather
than the 1010 the first re-measurement gave.

2. The earlier table labelled a pre-merge figure as "now". It showed 97.4866% under a now column,
230 lines above the section that supersedes it, so a reader who stops at the table takes the group as
2.8 percentage points higher than it is. It is now then … superseded post-merge, see below.

Why it matters beyond tidiness

The module docs are the evidence a reviewer reads instead of re-running the measurement, and this
group's number is the one that moved most when the branch merged origin/main (merged-in code had been
unmeasured). The coverage gate cannot catch either defect: it checks waivers per file, never per
line, so a doc whose number contradicts its own report passes.

Scope

Only this file. The other three tauri docs differ from their final values by ≤ 0.06pp and label each
figure with the run that produced it, so editing them would be churn rather than correctness.

…ow" label

Two accuracy defects in `docs/testing/module-tauri-remote.md`, both in the same section and found by
re-reading it after the pull request merged:

1. The section contradicted itself. Its prose said re-measuring moved the group to "94.7059%
   (18068/19078 across 42 files, 1010 uncovered in 29 files)" while, in the same section, the table
   row for `remote_host/business/catalog.rs` said "**0** | covered". Cause: a worker closed that
   file's three lines (by adding a test, not a waiver) AFTER the prose was written and only the row
   was updated. The prose now states the final measurement, **94.7349% (18137/19145, 1008 uncovered
   in 28 files)**, and says why the count is 1008 rather than the 1010 the first re-measurement gave.

2. The earlier before/after table labelled the pre-merge 97.4866% as "now". A reader hitting it before
   the post-merge section 230 lines below would take it as current, which overstates the group by
   2.8 percentage points. It is now "then ... superseded post-merge, see below".

Only this file is touched. The other three tauri docs differ from their final values by <= 0.06pp and
label each number with the run that produced it, so editing them would be churn rather than a
correctness fix.

Why this matters beyond tidiness: the module docs are the evidence a reviewer reads instead of
re-running the measurement, and the coverage gate cannot catch a doc whose number contradicts its own
report -- it checks waivers per FILE, never per line.
@huichen
huichen enabled auto-merge (squash) September 26, 2026 23:36
@huichen
huichen merged commit db99519 into main Sep 26, 2026
12 checks passed
@huichen
huichen deleted the docs/coverage-doc-numbers branch September 26, 2026 23:36
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