Skip to content

89 specs stated a count their own list contradicted - #2782

Merged
Flotapponnier merged 1 commit into
devfrom
fix/spec-endpoint-sentence
Oct 2, 2026
Merged

Flotapponnier merged 1 commit into
devfrom
fix/spec-endpoint-sentence

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

The defect

The FAQ endpoint sentence paired an authored list of endpoints with {{count}}, which is the display cohort behind a 5 % success floor. The two drifted apart:

Spec Sentence said Names listed
abstract-rpc 1 3
hedera-rpc 1 2
manta-rpc 2 4
kava-rpc 4 5

29 specs disagreed with themselves.

The verb was the other half. "Sustain continuous keyless probing" asserts every named endpoint answers, which is exactly what the measurement contradicts: Thirdweb is declared on 31 chain RPC benches and answers 0.3 % to 1.5 % of our probes.

The fix

{{declared_count}} endpoints are probed on this chain: …

An endpoint is probed whether or not it replies. The block shipped in #2779 names the ones that do not, with their measured success rate, so the two sentences now agree on the same page.

{{declared_count}} is derived from the spec's own provider list, so neither number is authored. Only the names are, and src/lib/endpoint-sentence.test.ts pins the rest: no spec may claim continuous probing again, none may pair the display count with that sentence, and every spec using it must use the derived placeholder.

Two things worth recording

The validator keeps an allow-list of placeholders and rejected all 88 files on the first run. That is the check doing its job; the token is registered rather than the list bypassed.

My first attempt rewrote the whole sentence, mangled the punctuation across 55 files and covered only 55 of 89 because the tails vary (57 end with "Every listed endpoint…", 10 end differently, 1 with "For production trading…"). Reverted with git checkout. This version replaces only the faulty segment and leaves every tail untouched.

Verified

88 specs plus tron-rpc, which uses a "JSON-RPC endpoints" variant. Zero occurrences of the old phrasing remain. pnpm validate 241 specs valid, 418 tests pass (5 new), tsc and eslint clean.

The FAQ endpoint sentence paired an authored list of endpoints with
{{count}}, which is the display cohort behind a 5 % success floor. The
two drifted: twenty-nine specs disagreed with themselves, the worst
reading "2 endpoints sustain continuous keyless probing today" above
three names, one of which answers 1.4 % of the time.

The verb was the other half of it. "Sustain continuous keyless probing"
asserts that every named endpoint answers, which is the claim the
measurement contradicts: Thirdweb is declared on 31 chain RPC benches and
answers 0.3 % to 1.5 % of our probes. An endpoint is probed whether or
not it replies, so the sentence says that instead, and the block shipped
in #2779 names the ones that do not reply, with their success rate.

{{declared_count}} is derived from the spec's own provider list, so
neither number is authored any more. Only the names are, and a test pins
them: no spec may claim continuous probing again, none may pair the
display count with that sentence, and every spec using the sentence must
use the derived placeholder.

The validator keeps an allow-list of placeholders and rejected all 88
files on the first run. That is the check working: the token is
registered now rather than the list being bypassed.

An earlier attempt rewrote the whole sentence, mangled the punctuation on
55 files and covered only 55 of 89 because the tails vary. Reverted. This
one replaces the faulty segment and leaves every tail alone.
@Flotapponnier
Flotapponnier merged commit c4fbb9e into dev Oct 2, 2026
2 checks passed
@Flotapponnier
Flotapponnier deleted the fix/spec-endpoint-sentence branch October 2, 2026 13:06
Flotapponnier added a commit that referenced this pull request Oct 2, 2026
The FAQ endpoint sentence paired an authored list of endpoints with
{{count}}, which is the display cohort behind a 5 % success floor. The
two drifted: twenty-nine specs disagreed with themselves, the worst
reading "2 endpoints sustain continuous keyless probing today" above
three names, one of which answers 1.4 % of the time.

The verb was the other half of it. "Sustain continuous keyless probing"
asserts that every named endpoint answers, which is the claim the
measurement contradicts: Thirdweb is declared on 31 chain RPC benches and
answers 0.3 % to 1.5 % of our probes. An endpoint is probed whether or
not it replies, so the sentence says that instead, and the block shipped
in #2779 names the ones that do not reply, with their success rate.

{{declared_count}} is derived from the spec's own provider list, so
neither number is authored any more. Only the names are, and a test pins
them: no spec may claim continuous probing again, none may pair the
display count with that sentence, and every spec using the sentence must
use the derived placeholder.

The validator keeps an allow-list of placeholders and rejected all 88
files on the first run. That is the check working: the token is
registered now rather than the list being bypassed.

An earlier attempt rewrote the whole sentence, mangled the punctuation on
55 files and covered only 55 of 89 because the tails vary. Reverted. This
one replaces the faulty segment and leaves every tail alone.
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