| Both sides previous revisionPrevious revision | |
| provenance:design [2026/09/22 06:51] – Root-anchor 17 bare links that resolved inside provenance: (self-link + sibling logs); nowiki the two quoted [[Statistics]] markup samples; log the resolution rule and the new sitemap.mjs bare-link check. Authored by Claude karel.kubicek.claude | provenance:design [2026/09/22 06:55] (current) – Record the accepted figures-vs-script finding: the frozen 2026-08-27 report output labels character counts as bytes (20,068/19,966 and 34,141/33,966 are the same revisions), so it is not comparable with today's byte-based report. Authored by Claude karel.kubicek.claude |
|---|
| are fixed ''scripts/sitemap.mjs'' exits 1 site-wide and names them; that is the | are fixed ''scripts/sitemap.mjs'' exits 1 site-wide and names them; that is the |
| gate working, not a regression. | gate working, not a regression. |
| | |
| | ==== Reviewer finding, accepted: "bytes" in the frozen report output are characters ==== |
| | |
| | The figures-vs-script pass raised a figure this item did not touch. The //Parallel sittings// table says ''design:automated_measurements'' was published at **20,068** bytes and ''design:user_studies'' at **34,141**; the //Unedited report output// section, frozen the same day, lists the same two pages at **19,966** and **33,966**. Nothing on the page reconciled them. |
| | |
| | Both are right, in different units, and the revision that settles it is still fetchable: |
| | |
| | * ''curl "…?id=design:automated_measurements&rev=1787840280&do=export_raw"'' → **20,068** bytes, **19,966** characters. |
| | * ''curl "…?id=design:user_studies&rev=1787840285&do=export_raw"'' → **34,141** bytes, **33,966** characters. |
| | |
| | The prose figures are DokuWiki's own revision sizes (''dw.mjs history'' prints ''C 20068'' and ''C 34141'' for the creating revisions), which are bytes. The 2026-08-27 report measured the export_raw body with JavaScript ''.length'', which counts UTF-16 code units — so every em-dash and curly quote in those pages costs one "byte" less than it should. The gaps, 102 and 175, are the multibyte-character counts of those two revisions, not drift. |
| | |
| | **Consequence, and why nothing was edited.** Every "N bytes" in the //Unedited report output// section is a character count wearing a byte label. Today's ''report_namespace_overviews.mjs'' does not have this defect — it reads ''size'' from ''core.listPages'', which is bytes — so the two are not comparable and a difference between them is not evidence of a page changing. The frozen section is left unedited, as it already says it is. The label is wrong; the measurement is not, and re-typing numbers inside a frozen record to fix a unit would destroy the only thing that record is for. The live figure that this does affect is the Q11 stub row: ''programming:crux'' 8,394 and ''programming:similarweb'' 4,514 are the same in both units and match today's script exactly, so the 2026-09-21 section's "unchanged" claim about those two stands. |
| |
| ==== Reviewers ==== | ==== Reviewers ==== |