Scope and Review
Counting Conventions and Method for Recalculation
about 520 words 3 min Study 22 of 56
Research Markdown files are decoded from their original UTF-8 bytes and counted by Unicode code point; line endings are not unified and no normalization is applied. The original texts are decoded according to the encoding specified for each item; the original CR/LF are kept, and the number of copies of research with normalized line endings may not be passed off as the number of original files. The Chinese-character range is U+3400–4DBF, U+4E00–9FFF, and U+20000–2FA1F; total characters include titles, punctuation, whitespace, links, and Markdown, and non-whitespace characters are listed separately.
The three new studies are divided, using each one’s unique separator string, into the argument body and the closing note on the positioning of the original texts. The boundary itself belongs to the note, and the two parts added together equal the complete MD. The 22 earlier studies are counted as complete MD, including the older source notes, and the counting filter originally used in the old package is not mixed in. Deduplication by identical whole-file SHA does not mean semantic originality. Original texts, theory, reviews, source notes, HTML, and other delivery carriers are not added into the research body.
Original texts are listed item by item only according to the carriers actually included in the package. The TXT of each of the two books is counted as one text, including its original file title, format, whitespace, and the subsidiary material within the carrier; the HTML, PDF, ZIP, and scores of the same book are not counted again as a second text. Images, scanned page numbers, and modern translations not attached are not counted as new research word count. The current theory files and any copies with the same SHA in the old directory may be kept but are listed only once and are not counted as research.
Offline recalculation (Python 3.9 or later; no network connection; the original manuscripts are not modified):
python3 06_交付核验/count_line12_deep_texts.py --root . --output /tmp/line12_counts.json
python3 06_交付核验/复核与重新封包.py --root .
The tool refuses -O, -OO, and PYTHONOPTIMIZE with optimization enabled, so that verification assertions are not deleted. The repackaged output must lie outside the package root, and the tool refuses to overwrite existing files:
python3 06_交付核验/复核与重新封包.py --root . --zip-output /tmp/line12_rebuilt.zip
Paths are sorted; the ZIP timestamp is fixed at 2026-11-04 00:00:00; permissions are Unix 0644; compression is DEFLATE level 9. With the same Python and zlib, the outer ZIP can be reproduced; other compression versions may change the outer bytes, but the internal SHA values can still be checked. The root SHA256SUMS covers all actual members except itself, and the identity of the outer ZIP is recorded outside the package to avoid self-reference.
The reading pages can be rebuilt with the accompanying render_line12_deep_reader.py, which requires Pandoc and lxml; the Node control tests additionally require Node. After rebuilding, the counts must be taken again and the root manifest regenerated. Fidelity of text, formula source, and tables does not equate to verification of a real browser or mathematical visual typesetting; the actual verification boundary is set by the independent report.