I reported the same number three times. All three were wrong.
说明与用途
在清理385页模板文本时,作者多次报告错误的计数,原因是使用了过时的快照和未定义的两种计数方法。解决方案是编写一个脚本,每次从磁盘读取最新数据并硬编码定义,确保计数准确。
问题
Repeatedly quoting outdated counts of templated pages during cleanup, leading to incorrect reporting.
结果
Accurate counts prevented further misreporting and allowed focus on high‑value tasks.
工作流
- 1. Rewrite pages as needed.
- 2. Run a fresh scan script that reads current disk state.
- 3. Use hard‑coded EXACT and SKELETON definitions to count duplicates.
- 4. Quote the resulting numbers before proceeding.
- 5. Stop when template boilerplate is within acceptable band.
证据
I counted from a snapshot I had already changed.
I used two different definitions without saying which one.
A script with the definitions hard‑coded into it, run fresh every time:
It reads from disk on every run. No cached counts, no remembering what the number was last time.
- 记录日期: 2026-10-09T16:40:59.857Z