Repository navigation
docs(testing): correct the tau-remote post-merge figures and their now label - #878
Merged
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two accuracy defects in
docs/testing/module-tauri-remote.md, both in the same section, found byre-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
while, in the same section, the table row for
remote_host/business/catalog.rssaid**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
nowcolumn,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 beenunmeasured). 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.