# moonmo 评审证据索引

2026 年 12 月 3 日北京时间快照。后续维护者回复、复验和归档补证按实际日期增补。[申报事实核对包](../DECLARATION-FACTS.md)

## 被测版本与编译、回归结果

| 要核对的结论 | 固定版本与核对位置 |
| --- | --- |
| 轮 6 参赛 CODE_SHA | `0056b627e4c9828c79dff291a16f2212df0377cf`。[提交](https://github.com/LP-XXX/moonmo/commit/0056b627e4c9828c79dff291a16f2212df0377cf) · [同 SHA 本地验收](https://github.com/LP-XXX/moonmo/blob/0056b627e4c9828c79dff291a16f2212df0377cf/docs/polish6-js.md) |
| 轮 6 四目标各 107/107 | native、wasm、wasm-gc、JS 按报告各 107/107。Node.js 24 与 native 的 Oracle 输出各 17,646 行，逐字节一致；其中 17,612 行为 Python 对照、34 行为 SPEC 策略检查。[轮 6 JS 验收](https://github.com/LP-XXX/moonmo/blob/0056b627e4c9828c79dff291a16f2212df0377cf/docs/polish6-js.md) |
| 轮 6 互操作及真实上游回归 | 互操作 6/6 格、190/190。Sphinx、Spyder、Django 的七份 MO 共 76 条查询，native、wasm、wasm-gc 各零差异。[轮 6 汇总与 CODE_SHA](https://github.com/LP-XXX/moonmo/blob/94b209ae0149bab159f1370c20475fe4b6278a1a/docs/polish6-baseline.md) · [互操作矩阵](https://github.com/LP-XXX/moonmo/blob/94b209ae0149bab159f1370c20475fe4b6278a1a/interop/README.md) · [上游摘要](https://github.com/LP-XXX/moonmo/blob/94b209ae0149bab159f1370c20475fe4b6278a1a/interop/upstream/SUMMARY.json) |
| 发布及 Q4 最后全绿基线 | `94b209ae0149bab159f1370c20475fe4b6278a1a`。[提交](https://github.com/LP-XXX/moonmo/commit/94b209ae0149bab159f1370c20475fe4b6278a1a) · [根模块清单](https://github.com/LP-XXX/moonmo/blob/94b209ae0149bab159f1370c20475fe4b6278a1a/moon.mod) |
| 轮 7 Q3 正式报告 | `25a39d09d860c3099fd4150985be9e52f1aec2c3`。正式采集驱动为 `170214dbae0abf600b04350c356b8171c1b7a2cc`，两库版本见报告首段，驱动版本见采集记录。[报告版本](https://github.com/LP-XXX/moonmo/blob/25a39d09d860c3099fd4150985be9e52f1aec2c3/docs/perf-round7.md) · [采集驱动提交](https://github.com/LP-XXX/moonmo/commit/170214dbae0abf600b04350c356b8171c1b7a2cc) |

工作流 `MoonBit tests` 的实际 `head_sha` 与结果由 GitHub Actions 查询。轮 6 CODE_SHA 对应的独立 run 待核，该提交的验收见本地记录。登记的三个 run 均无可下载 Actions 附件，基准原始数据直接保存在 Git 固定版本中。[工作流定义](https://github.com/LP-XXX/moonmo/blob/94b209ae0149bab159f1370c20475fe4b6278a1a/.github/workflows/ci.yml)

| run 与结果 | 实际 `head_sha` | 成功 job |
| --- | --- | --- |
| [47070421110](https://github.com/LP-XXX/moonmo/actions/runs/47070421110) `success` | `94b209ae0149bab159f1370c20475fe4b6278a1a` | [native](https://github.com/LP-XXX/moonmo/actions/runs/47070421110/job/144128103714) · [wasm](https://github.com/LP-XXX/moonmo/actions/runs/47070421110/job/144128103460) · [wasm-gc](https://github.com/LP-XXX/moonmo/actions/runs/47070421110/job/144128102956) · [JS](https://github.com/LP-XXX/moonmo/actions/runs/47070421110/job/144128103665) |
| [47090152970](https://github.com/LP-XXX/moonmo/actions/runs/47090152970) `success` | `25a39d09d860c3099fd4150985be9e52f1aec2c3` | [native](https://github.com/LP-XXX/moonmo/actions/runs/47090152970/job/144196645594) · [wasm](https://github.com/LP-XXX/moonmo/actions/runs/47090152970/job/144196645034) · [wasm-gc](https://github.com/LP-XXX/moonmo/actions/runs/47090152970/job/144196645540) · [JS](https://github.com/LP-XXX/moonmo/actions/runs/47090152970/job/144196645644) |
| [47095218640](https://github.com/LP-XXX/moonmo/actions/runs/47095218640) `success` | `baea16538fe1e1c328112319d1592813eb6369db` | [native](https://github.com/LP-XXX/moonmo/actions/runs/47095218640/job/144214252247) · [wasm](https://github.com/LP-XXX/moonmo/actions/runs/47095218640/job/144214252273) · [wasm-gc](https://github.com/LP-XXX/moonmo/actions/runs/47095218640/job/144214252220) · [JS](https://github.com/LP-XXX/moonmo/actions/runs/47095218640/job/144214251689) |

## 轮 7 Q3 正式计时、模型与页面结论

| 要核对的结论 | 核对位置 |
| --- | --- |
| 正式配对 12/12 格，240 次独立进程启动尝试，0 次失败 | 每格 10/10 对，6 类负载 × 2 后端。原始行用 `backend`、`scenario`、`lib`、`pair_id`、`order` 定位。另有交叉点过程记录。[正式矩阵](https://github.com/LP-XXX/moonmo/blob/25a39d09d860c3099fd4150985be9e52f1aec2c3/docs/perf-round7.md#正式配对结果) · [正式原始记录](https://github.com/LP-XXX/moonmo/blob/25a39d09d860c3099fd4150985be9e52f1aec2c3/bench/results/raw.jsonl) · [采集记录与原始数据摘要](https://github.com/LP-XXX/moonmo/blob/25a39d09d860c3099fd4150985be9e52f1aec2c3/bench/results/collection.json) |
| 两个后端的复数、普通、整页比较 | 报告 `正/零/负` 列记录各格 10 对中的配对数。热查询和页面的差值用 Yan 减 moonmo。native、wasm-gc 各自均为两种复数查询各 10/0/0（moonmo 稳定较快），普通查询 0/0/10（Yan 稳定较快），整页热渲染 7/0/3（未达 9/10 同向判定门槛）。页面为自建适配页，上游发布包缺少完整示例。[场景判定与页面口径](https://github.com/LP-XXX/moonmo/blob/25a39d09d860c3099fd4150985be9e52f1aec2c3/docs/perf-round7.md#正式配对结果) · [四路页面与轨迹](https://github.com/LP-XXX/moonmo/blob/25a39d09d860c3099fd4150985be9e52f1aec2c3/bench/evidence/page-final/page.json) |
| native 普通热查询反向交叉约 161 次查询（模型估计，实测未确认） | 同一简单目录的加载差 `−0.010750 ms` 和普通热查询差 `−66.890 ns/次` 方向相反。一次加载加 80 次查询时 moonmo 较低的配对为 8/10，加 322 次时 Yan 较低的配对为 10/10。短侧没有达到稳定门槛。[模型计算位置](https://github.com/LP-XXX/moonmo/blob/25a39d09d860c3099fd4150985be9e52f1aec2c3/docs/perf-round7.md#成本解释) · [交叉点原始记录](https://github.com/LP-XXX/moonmo/blob/25a39d09d860c3099fd4150985be9e52f1aec2c3/bench/results/crossings.jsonl) |
| 正式表可重算 | 在固定检出执行下方第二条 Python 命令，对照正式矩阵、吞吐、首查、交叉点、页面五张表。[重算实现](https://github.com/LP-XXX/moonmo/blob/5cc4ee9972b1d56fd8be790ecd778b4fd0e6b060/bench/verify_round7.py) |

## 发布与空目录消费记录

在 Mooncakes 的版本页核对 `LP-XXX/moonmo` 和 `0.1.0`。[Mooncakes 0.1.0](https://mooncakes.io/docs/LP-XXX/moonmo@0.1.0)

12 月 3 日从空目录初始化独立项目 `consume-moonmo`，使用 `moon add LP-XXX/moonmo@0.1.0`。首次包下载遇到 TLS 握手错误，重试解析并下载了 0.1.0。为 `cmd/main/moon.pkg` 补上对 `LP-XXX/moonmo` 的包导入后，`moon run cmd/main` 退出码 0。最终本地回执 `consume-test3.log` 的有效输出如下。本轮用新的空目录复查，与以下输出一致，`moon add` 使用了本机缓存。[确认模块与版本用的根清单](https://github.com/LP-XXX/moonmo/blob/94b209ae0149bab159f1370c20475fe4b6278a1a/moon.mod) · [同版本输入 `en_le.mo`](https://github.com/LP-XXX/moonmo/blob/94b209ae0149bab159f1370c20475fe4b6278a1a/fixtures/mo/en_le.mo)

```text
Lantern ready 🏮
lantern
lanterns
Untranslated
MOON_CONSUME_EXIT=0
```

复查时，在空目录运行 `moon new consume-moonmo`，进入新项目并运行 `moon add LP-XXX/moonmo@0.1.0`。将上面的 MO 放到项目根目录，运行 `moon tool embed --binary -i en_le.mo -o cmd/main/en_le.mbt --name en_le`。在 `cmd/main/moon.pkg` 声明 `import { "LP-XXX/moonmo", }` 和 `pkgtype(kind: "executable")`。将以下入口写入 `cmd/main/main.mbt` 后执行 `moon run cmd/main`。

```moonbit
fn main {
  let catalog = try! @moonmo.Catalog::from_bytes(en_le)
  println(catalog.gettext("Ready"))
  println(catalog.ngettext("lamp", "lamps", 1))
  println(catalog.ngettext("lamp", "lamps", 2))
  println(catalog.gettext("Untranslated"))
}
```

## 轮 8 对外记录

| 对象与仓外验证 | 固定 fork 对比与三条命令 | 对外记录 |
| --- | --- | --- |
| MoPress Book 搜索按钮。核对中英文 tooltip、可访问名称和对话框标题 | [556917f…493f749](https://github.com/LP-XXX/mopress/compare/556917f18a9de972cf54ab92c7cacd63a0c91d19...493f749b692092137e5a96e0edbb28b0096924d8) · [三条命令与输出](https://github.com/LP-XXX/mopress/blob/13448322d6d6321c7b5774d23bb5d6019cd93e52/ROUND8-REPRO.md) | 已发出邀约，截至 12 月 3 日 19:55:21（北京时间） 暂未收到回复（Issue 开放，0 条评论）。[biyuehu/mopress #3](https://github.com/biyuehu/mopress/issues/3) |
| HexEditor 原生 CLI 搜索摘要。核对中英文单复数、命中偏移和零命中行为。迁移新增 51 行、删除 1 行（排除生成目录） | [981e211…0dd4b28](https://github.com/LP-XXX/moonbit-HexEditor/compare/981e211da63a58c837da803c9e3a4e66b9ef4ab3...0dd4b280e85028792225650384027ba245def7fd) · [三条命令与输出](https://github.com/LP-XXX/moonbit-HexEditor/blob/0e84eb46b86f185887bbc246a180afe39f91b785/ROUND8-REPRO.md) | 已发出邀约，截至 12 月 3 日 19:55:21（北京时间） 暂未收到回复（Issue 开放，0 条评论）。[R00TK17/moonbit-HexEditor #2](https://github.com/R00TK17/moonbit-HexEditor/issues/2) |
| tokencalc-mbt CLI。核对可选中文帮助标题和缺参提示，正常计数输出逐字节一致 | [6e6da55…dd29d59](https://github.com/LP-XXX/tokencalc-mbt/compare/6e6da55d03be2b5be67465658113c5ee66d89dd7...dd29d592fc7132733958435aa7c67ec339cdc5e8) · [三条命令与输出](https://github.com/LP-XXX/tokencalc-mbt/blob/6e231b5c8e90d977114305f26a56fa5038ee854a/ROUND8-REPRO.md) | 已发出邀约，截至 12 月 3 日 19:55:21（北京时间） 暂未收到回复（Issue 开放，0 条评论）。[xy200303/tokencalc-mbt #1](https://github.com/xy200303/tokencalc-mbt/issues/1) |
| YanFangNie/moongettext：12 月 3 日 19:14:19 已分享互操作矩阵 | [所分享的固定矩阵](https://github.com/LP-XXX/moonmo/tree/94b209ae0149bab159f1370c20475fe4b6278a1a/interop) | 矩阵分享单独登记。[Issue #2 评论永久链接](https://github.com/YanFangNie/moongettext/issues/2#issuecomment-7376408526) |

**MoPress Book 仓外样板（B 计划），仓外集成验证、尚未获上游合并。** 冷缓存复验在同一上游版本上分别构建原版和迁移版。两份英文 HTML 逐字节一致，中文 HTML 仅搜索按钮的 `title` 与 `aria-label` 改为「站内搜索」。四张无头浏览器截图均实际打开搜索弹窗。原邀约的附加 native 全量测试在 LF 检出下为 365/365，原版与迁移版在 CRLF 检出下均有相同的两项模板测试失败。[原邀约的 fork 复现](https://github.com/LP-XXX/mopress/blob/13448322d6d6321c7b5774d23bb5d6019cd93e52/ROUND8-REPRO.md)

冷复验 ZIP `mopress-book-sample.zip` 保存在本地，复验脚本、截图和构建日志随包附带，12 项 SHA-256 校验通过。ZIP 的 SHA-256 为 `d8499a76561728d591583fd9f96e60a29e43608567c05e4115b0483bcf6477fc`，公开下载入口待补。

## 轮 7 Q4 干净克隆复验

固定起点 `5cc4ee9972b1d56fd8be790ecd778b4fd0e6b060`。本次通过本地仓库建立独立干净克隆。下面命令用公开仓库取得同一提交。环境为 Windows 11 x64、Git for Windows、Python 3.10+、Moon 和 moonrun 0.1.20261126、可用的 native C 工具链与 Windows SDK，依赖可从注册表取得或使用本机缓存。实测用 Python 3.13.5、GCC 15.2.0、已有 Moon 全局缓存，回归另用 Node.js 24.15.0。[固定复验入口](https://github.com/LP-XXX/moonmo/blob/5cc4ee9972b1d56fd8be790ecd778b4fd0e6b060/bench/README.md) · [档位覆盖清单](https://github.com/LP-XXX/moonmo/blob/5cc4ee9972b1d56fd8be790ecd778b4fd0e6b060/bench/results/profile.json)

```sh
git clone https://github.com/LP-XXX/moonmo.git moonmo-q4
cd moonmo-q4
git checkout --detach 5cc4ee9972b1d56fd8be790ecd778b4fd0e6b060
git rev-parse HEAD
```

从首条 Python 命令启动计至第四条退出。克隆和版本登记在计时前，回归及发布校验在计时后。

```sh
python bench/verify_round7.py check-inputs
python bench/verify_round7.py summarize --raw bench/results/raw.jsonl --check-report docs/perf-round7.md
python bench/verify_round7.py verify-page --backends native,wasm-gc
python bench/verify_round7.py rerun --profile 10min --backends native,wasm-gc
```

预期四条命令均退出 0，冻结输入通过，正式表重算偏差为 0，四份 UTF-8 页面通过字节与摘要核对，`rerun` 汇总显示 `completed_cells` 为 12、`pairs_per_cell` 为 10。新的计时样本保存在 `bench/_build/perf7-verification`，方向和幅度随重新采样变化。[原始页面清单](https://github.com/LP-XXX/moonmo/blob/5cc4ee9972b1d56fd8be790ecd778b4fd0e6b060/bench/evidence/page-final/page.json)

**Q4 封账为「阻断」。** 12 月 3 日 19:00:57 至 19:07:21，公开路径耗时 384.390 秒（6 分 24.390 秒），满足 600 秒的计时阈值，完成 12/12 格、每格 10/10 对。主要耗时为 `rerun` 344.981 秒和 `verify-page` 38.626 秒。正式报告重算偏差 0，独立核对 192 个数值字段冲突 0，四份页面全文 SHA-256 与正式记录一致。native、wasm、wasm-gc 各 107/107，JS 五个公共包 78/78，四目标 Oracle 差异 0。[Q4 当次记录 `baea16538fe1e1c328112319d1592813eb6369db`](https://github.com/LP-XXX/moonmo/blob/baea16538fe1e1c328112319d1592813eb6369db/docs/perf-round7-q4.md)

首个失败门槛是 `moon publish --dry-run`。本地和解包检查通过，注册中心因 `0.1.0` 已存在返回 HTTP 409，Windows 退出码 4294967295。十分钟验收整体未通过，Q3 正式重算数字与回归结果保持有效。最后全绿基线为 `94b209a`。公开报告保存计时表、重算和 dry-run 错误摘要。Q4 新采样的原始文件与完整执行日志尚待公开归档，Q3 正式原始记录已入库。[失败门槛与当次日志摘要](https://github.com/LP-XXX/moonmo/blob/baea16538fe1e1c328112319d1592813eb6369db/docs/perf-round7-q4.md#重算页面与回归)
