The rubric has changed once. The changelog carries two entries, v1.0.0 and v1.0.1, and both are dated 2026-08-07. The initial rubric was published, we scored our own site with it, one check produced a number we could not defend, and the correction shipped the same day under a new version. This post is the engineering account of that day: what B5 claimed to measure, what it was actually measuring, precisely what changed in the code, and what deliberately did not. The policy argument for handling changes this way is in why we publish the rubric; the practical guide to the check as it now stands is clean text ratio.
What B5 claims
B5, clean text ratio, is worth three points in pillar B. Its published purpose is to penalise div soup and megabyte pages: markup that costs an agent far more bytes to parse than the content it delivers. The measure is visible text as a proportion of the HTML that carried it, averaged across the crawled pages that returned 200 with a body, with bands at 0.10 and 0.05.
The numerator has always been visible text: the document is parsed, script, style, noscript, template and svg elements are removed, and the remaining text is collapsed to single spaces and counted. Under v1.0.0 the denominator was the length of the entire raw response.
What it was measuring
This site is a server-rendered Next.js application, and every page is a server component, because that is what check A7 rewards: the visible text is in the raw HTML, so an agent that fetches without executing JavaScript sees the whole page.
Server-rendering frameworks pay for that with a payload: a serialised copy of the rendered tree inlined in script elements so the browser can hydrate without a second request. On our homepage that payload was 60% of the document. The visible prose existed twice, once as HTML and once as a string inside a script, and the v1.0.0 denominator counted both while the numerator, by construction, counted the HTML copy only.
Removing 60% of the denominator leaves 40%, so the ratio for that page is two and a half times higher without the payload than with it. A page that was, by the check's own published purpose, exemplary was scoring as if it were bloated, and the cause was the architecture the previous pillar had just awarded five points for.
The two checks pulled in opposite directions. Stripping the payload by moving to client-side rendering would have raised our B5 and dropped our A7 to zero. A check that can be gamed by getting worse is measuring framework choice, not markup quality.
How it surfaced
It surfaced because we score ourselves. The repository carries a self-audit script that runs the engine against a running instance of this site, and a drop in our own score is treated as a broken build rather than a backlog item. The first run under v1.0.0 put B5 in a band that did not match what we knew the markup to be, the evidence block gave the per-page ratios, and the question became concrete: which bytes on the homepage are not text? The answer was in the first script element. A rubric only ever pointed at other people's sites would not have caught this for a long time, because the sites most affected are the ones that had done the right thing on A7.
The principle
A check must measure what it claims. The test is simple to state. Take the same markup and ship it through a different framework; if the score moves, the check is measuring the framework. Take the same framework and make the markup worse; if the score does not move, the check is not measuring the markup. B5 under v1.0.0 failed the first test on our own homepage.
The check's published detail text now states the exclusion and the reason for it in the same sentence, so anyone reading pillar B sees why the denominator is defined the way it is. The reason for a rule belongs next to the rule.
What changed in the code
The whole change is one function. The denominator is now computed by removing every script element and every style element, tags included, from the raw string, and taking the length of what remains:
export function markupBytes(html: string): number {
return html
.replace(/<script\b[^>]*>[\s\S]*?<\/script>/gi, "")
.replace(/<style\b[^>]*>[\s\S]*?<\/style>/gi, "").length;
}
The check divides the visible text length by that number for each page, averages, and applies the same thresholds as before. The evidence block records the mean as averageRatio and the per-page values as perPage, both to three decimal places. The recommendation text now says so too: script and style contents are already excluded, so a low score is markup weight, not framework overhead.
What did not change matters as much. The numerator, the 0.10 and 0.05 thresholds, the three points and the mean-of-pages aggregation are all untouched. The change is confined to the denominator, the only part that was wrong.
The narrower fixes, and why they were worse
Three smaller changes would have made our number look right; none survives the principle.
Raising the threshold would have hidden the framework effect rather than removed it, and would have loosened the check for every site with no payload at all. The sites the check exists to catch would have been let off to accommodate the sites it was wrongly catching.
Excluding only the payload of known frameworks, by matching the markers a particular framework emits, would have put vendor knowledge into the rubric. The list would need maintaining, the check would score identical markup differently depending on whether we had heard of the tool that produced it, and the methodology page would have to publish the list. That is the definition of measuring framework choice.
Excluding script contents but leaving style would have fixed the case we hit and left its twin. Inline critical CSS is the same shape of problem: non-content bytes that a build tool emits and a page author did not write. Excluding both is the smallest change that removes the whole category.
What the check no longer sees
A page can now carry a very large amount of script and pass B5 with a high ratio. Script weight is not nothing, but it is not markup quality, and after v1.0.1 no check in the rubric penalises it directly. A7 asks whether the text is present before the scripts run, which is the question an agent cares about, and B5 asks how much markup wraps that text. Neither asks how big the scripts are. That is a gap we know about and chose over a check that measured the wrong thing.
Everything outside script and style elements still counts: style attributes, hydration attributes, template elements, inline SVG, data URIs, comments. A framework that serialised its state into attributes rather than a script would be counted in full, and that is correct, because attributes are markup.
Scores under v1.0.0 stand
Every scan row stores the rubric version it was scored under, and the report shows it. Scans issued under v1.0.0 keep their number and their label. Anyone who wants to know what a site scores under v1.0.1 runs a new scan, and the new report says which version produced it. The rule is not specific to B5: a historical score is a statement about a site on a date under a named rubric, and rewriting it would turn evidence into opinion. The test fixtures enforce the same discipline from the other side: each archetype site has a documented expected band, so a rubric change that moves one shows up as a diff in the test suite rather than a silent shift in published scores.
The general lesson
Every time we audit ourselves and disagree with the result, there are two possibilities: the site is wrong or the check is wrong. Both are fixable, but only one is fixed by editing the site. When it is the check, the fix is a version bump and a dated entry that says what changed and why, not a quiet edit to a threshold. Our own report is scored under the current version, including whatever it has not yet earned.
Check your own site
Run the free scan and read averageRatio and perPage under B5. The check as it now stands is defined under pillar B, and the entry that changed it is on the changelog.