Files
worldmodel/plans/PRISM/16_stats.md
T
gaojie 0b12ff023c
Sync to site1 / sync (push) Has been cancelled
chore: update PRISM categories from worldmodel to PRISM
2026-05-21 02:25:22 +08:00

3.2 KiB

title, date, draft, tags, categories
title date draft tags categories
Chapter 16 — 文档与代码统计 (Stats) 2026-05-20 false
PRISM
世界模型
空间记忆
PRISM

Chapter 16 — 文档与代码统计 (Stats)

本章自动生成,反映本 PRISM 文档集在构建时的体量、结构与代码资产。每次 bash build_book.sh 都会刷新。

16.1 总览

\begin{center} \begin{tabular}{@{}lr@{}} \toprule \textbf{指标} & \textbf{数值} \ \midrule 章节数 & 18 \ 中文字数 & 25,171 \ 英文词数 & 5,515 \ 标点数 & 4,212 \ Markdown 行数 & 7,021 \ 一级标题 (#) & 18 \ 二级标题 (##) & 194 \ 三级标题 (###) & 177 \ Markdown 表格行数 & 966 \ Mermaid 图块数 & 23 \ 代码块数(非 mermaid) & 132 \ 代码总行数 & 2,716 \ \bottomrule \end{tabular} \end{center}

16.2 各章字数与代码分布

\begin{longtable}{@{}

{\raggedright\arraybackslash}p{0.28\linewidth} {\raggedleft\arraybackslash}p{0.10\linewidth} {\raggedleft\arraybackslash}p{0.10\linewidth} {\raggedleft\arraybackslash}p{0.10\linewidth} {\raggedleft\arraybackslash}p{0.10\linewidth} {\raggedleft\arraybackslash}p{0.10\linewidth} {\raggedleft\arraybackslash}p{0.10\linewidth} @{}} \toprule \textbf{章节} & \textbf{中文字} & \textbf{英文词} & \textbf{md 行} & \textbf{mmd 图} & \textbf{代码块} & \textbf{代码行} \ \midrule \endfirsthead \toprule \textbf{章节} & \textbf{中文字} & \textbf{英文词} & \textbf{md 行} & \textbf{mmd 图} & \textbf{代码块} & \textbf{代码行} \ \midrule \endhead \bottomrule \endfoot README & 750 & 246 & 131 & 1 & 1 & 4 \ ch00 & 1,311 & 139 & 173 & 1 & 0 & 0 \ ch01 & 1,139 & 146 & 244 & 1 & 3 & 100 \ ch02 & 2,381 & 347 & 493 & 4 & 8 & 124 \ ch03 & 1,312 & 281 & 654 & 0 & 14 & 424 \ ch04 & 1,101 & 277 & 662 & 2 & 14 & 406 \ ch05 & 1,028 & 117 & 368 & 2 & 8 & 166 \ ch06 & 1,376 & 306 & 550 & 1 & 14 & 305 \ ch07 & 1,925 & 268 & 551 & 2 & 11 & 256 \ ch08 & 617 & 106 & 483 & 3 & 25 & 175 \ ch09 & 1,820 & 508 & 326 & 1 & 1 & 17 \ ch10 & 1,045 & 427 & 384 & 1 & 5 & 146 \ ch11 & 1,126 & 265 & 266 & 1 & 7 & 62 \ ch12 & 2,063 & 382 & 358 & 2 & 0 & 0 \ ch13 & 1,042 & 249 & 394 & 0 & 8 & 109 \ ch14 & 957 & 251 & 537 & 0 & 10 & 338 \ ch15 & 1,085 & 742 & 190 & 0 & 0 & 0 \ ch18 & 3,093 & 458 & 257 & 1 & 3 & 84 \ \midrule\textbf{合计} & \textbf{25,171} & \textbf{5,515} & \textbf{7,021} & \textbf{23} & \textbf{132} & \textbf{2,716} \ \end{longtable}

章节短名:ch00 = 00\_overview.md,依此类推;ch15 缩略语表,ch16 即本章。

16.3 代码块语言分布

\begin{center} \begin{tabular}{@{}lrr@{}} \toprule \textbf{语言} & \textbf{代码块数} & \textbf{代码行数} \ \midrule python & 71 & 1,961 \ text & 36 & 308 \ yaml & 7 & 236 \ bash & 11 & 74 \ swift & 1 & 41 \ json & 2 & 37 \ markdown & 1 & 28 \ cypher & 2 & 17 \ dockerfile & 1 & 14 \ \midrule \textbf{合计} & \textbf{132} & \textbf{2,716} \ \bottomrule \end{tabular} \end{center}


章节版本:auto-generated
生成时间:由 gen_stats.py 在每次构建时即时计算
关键收获:文档不只是文字,它本身也是一份可量化的工程产物。