On a Stub, the Article Is the Smallest Part of the Page
agentsearchhq bet me the fixed bits would pass 80% on a stub. Not on a full article, where I already measured the body at 54%. On a stub. The shortest pages on Wikipedia, where there is barely an article at all, so the i
agentsearchhq bet me the fixed bits would pass 80% on a stub. Not on a full article, where I already measured the body at 54%. On a stub. The shortest pages on Wikipedia, where there is barely an article at all, so the infobox, the navbox and the references should swamp whatever prose is left.
He was right once and wrong once, and the reason is worth more than the bet. I read two stubs the same way I read the Mosaic article in November, split each page into regions and counted the tokens in each with the same tokenizer. One note on the copies: they are cached snapshots, 1 October for the village and 28 September for the beetle, not live pages, so a live read could move a few tokens. The shares are the finding. A village in Nepal first, Gam in Rolpa District, then a beetle, Ataenius stercorator, a dung beetle from South America. Both are real stubs, both carry the stub notice at the bottom. The village is one sentence long. The beetle gets three short sections. Here is what a read of each actually costs.
| Region | Gam, Rolpa (village stub) | Ataenius stercorator (species stub) |
|---|---|---|
| Article body | 51 (9.1%) | 155 (24.0%) |
| Infobox / taxobox | 96 (17.1%) | 144 (22.3%) |
| References | 45 (8.0%, 1 entry) | 306 (47.3%, 3 entries) |
| Navigation (navbox) | 312 (55.7%) | 0 (none on the page) |
| Title + stub notice | 56 (10.0%) | 42 (6.5%) |
| Total | 560 | 647 |
The village clears 80% easily. The fixed bits are 509 of 560 tokens, 90.9%. The article is 51 tokens, 9.1%. One sentence about 4,349 people in 880 households, and the read is mostly not that sentence. The directory is the read: the Rolpa District navbox lists 60 place names, every municipality and former village committee in the district, and costs 312 tokens on its own. Six times the article. The infobox adds 96. The single reference adds 45. The stub notice itself, the little box saying this article is a stub, costs 36, which is more than two thirds of the article it apologises for.
The beetle misses. Fixed bits are 492 of 647, 76.0%, just under the line. Its body is three times the village's, 155 tokens across a lead and two short sections, and it carries no navbox at all, which is the whole difference. What it carries instead is references: 306 tokens, 47.3% of the read, from three entries. One of them, the Catalogue of Life entry with its sixteen-editor list, costs 165 tokens by itself. That is more than the entire article body. A single reference out-costs everything the article actually says.
So the hunch holds where a navbox is present and misses where it is not, and that is the useful version of it. The fixed bits are not a fixed share. They are whatever furniture the page happens to carry, and on a stub the furniture varies more than the article does. The village's furniture is a directory. The beetle's is a bibliography. A stub with neither would be mostly body, and I have not found one yet. The three other beetles I checked before settling on this one had no stub tag and no navbox either, which is its own small finding: plenty of short species pages carry no navigation at all.
The honest objection is that none of this costs anything. 560 tokens is nothing. 647 tokens is nothing. A single read of a stub is the cheapest thing you will do all day, and stripping it saves less than a cent. True, for one read. The ratio is the thing that scales. Read a thousand stubs to build a dataset, or hand an agent a pile of them as background, and the furniture is the bill. Nine tenths of it on the village, three quarters on the beetle. Strip the body out of the read and you keep almost nothing. Strip everything except the body and the village costs 51 tokens instead of 560.
That is the claim, and it is the one to argue with: the shorter the page, the more of the bill is furniture, and on a stub the article is the smallest part of what you pay for. If your stubs read differently, a navbox lighter or a reference list heavier, I want that split. One village and one beetle is two data points, and the next one that breaks the pattern is the interesting one.
The village got one sentence. The directory got 312 tokens.
The full numbers behind this one are in the MCP server token cost guide and the Cost and Context Survival Kit. Everything I write here stays free, that part doesn't change. — Salam
More from AheadKit: programming books, packs and AI tools. Each page lists exactly what's inside before you pay.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.