Skip to content

the comment said the pass stays, is gone, and is still here - #797

Merged
tannevaled merged 1 commit into
mainfrom
the-wide-open-pass-is-gone-twice
Nov 16, 2026
Merged

tannevaled merged 1 commit into
mainfrom
the-wide-open-pass-is-gone-twice

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

The comment said the wide-open pass stays, is gone, and is still here — and an audit published one of its six findings from the wrong tense. Refs #754 and #768, which stay open.

Three generations in one block

paragraph.go carried four headings, each appended above or below the last:

:392  ⛔⛔ THE WIDE-OPEN PASS STAYS, AND IT IS NOT TeX
:418  ⛔⛔ AND IT IS GONE
:439  ⛔ SO WHY IS IT STILL HERE
:457  ⚠ THE ORDER IS THEREFORE FIXED: … then this pass goes

So: stays → is gone → still here → will go. A reader cannot tell which is current.

⛔ And one did not. #754's audit reports that this function "raises the tolerance to 1e4 instead (paragraph.go:251-258)" — line numbers that by then pointed into the comment rather than at code. The pass was already gone; the file has exactly two breaking calls. A stale comment left beside a newer one cost a published audit one of its six findings, and I only noticed because I went to fix what the audit described and could not find it.

Rewritten as one record, in one order

What the pass was · what it cost (the #768 witness against tectonic 0.17.0, kept verbatim: reference 5 lines with four overfull boxes, with the pass 7 lines, without it the reference's five and lines 1-3 matching to 0.02pt) · why it could not simply go (one removal attempt turned six tests red, four of them a word that must be hyphenated going unhyphenated, which was the library carrying one float of stretch and flattening 0pt plus 1fil) · and why it is gone (the library's v1.5.0 carries the glue orders and makes the skips the background, removing the cause rather than the symptom).

Every measured number is kept. What is removed is the three tenses.

⚠ Two of the old headings survive as quotations, inside the sentence that describes the defect — which is the point of them, and the same convention go-opentype's doc now uses for the sentence it replaced.

Why this is a code change and not a tidy-up

This is the fifth instance tonight of one defect: a statement that stopped being true with nothing to say so. The others were go-opentype's package doc denying five implemented features (which is plausibly why this engine never wired the shaper), sloppy_test.go calling \emergencystretch accept-and-ignore after it started working, a census reporting a drop that no longer happens, and a "100% coverage gate" that rounds. In four of the five the stale text misled a reader into a wrong conclusion — here, into a published one.

gofmt -l . prints nothing; go vet ./... clean; go test ./... green on all nine packages. Comment-only: no behaviour changes, so no A/B is owed.

⚠ Not claimed

🤖 Generated with Claude Code

paragraph.go's note on the wide-open tolerance pass had accumulated three
generations, each appended above or below the last:

    ⛔⛔ THE WIDE-OPEN PASS STAYS, AND IT IS NOT TeX
    ⛔⛔ AND IT IS GONE
    ⛔ SO WHY IS IT STILL HERE
    ⚠ THE ORDER IS THEREFORE FIXED: ... then this pass goes

⛔ A reader cannot tell which tense is current, and one did not: #754's audit of
the delegated layers reports that this function "raises the tolerance to 1e4
instead (paragraph.go:251-258)", citing line numbers that by then pointed INTO
the comment rather than at code. The pass was already gone — there are exactly
two breaking calls in the file. A stale comment cost a published audit one of
its six findings.

Rewritten as one record in one order: what the pass was, what it cost (the #768
witness against tectonic 0.17.0, kept verbatim), why it could not simply go
(#778's six red tests, four of them a word that must be hyphenated going
unhyphenated), and why it is gone (linebreak v1.5.0's glue orders removed the
cause, #780 consumed them here).

Every measured number is kept. What is removed is the three tenses.

⚠ Two of the old headings survive as QUOTATIONS inside the sentence that
describes the defect, which is the point of them.

Co-Authored-By: Claude Opus 5 <[email protected]>
@tannevaled
tannevaled merged commit 01b3c03 into main Nov 16, 2026
26 of 27 checks passed
@tannevaled
tannevaled deleted the the-wide-open-pass-is-gone-twice branch November 16, 2026 08:17
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