Start 0.2.2 stabilization plan

This commit is contained in:
Codex
2026-07-03 08:30:27 +08:00
parent f8c1c9f997
commit 8ce32eee75
12 changed files with 438 additions and 469 deletions
+35 -2
View File
@@ -1,10 +1,10 @@
# 11 Benchmark 与验收矩阵
文档状态:0.2.1 gate 记录
文档状态:0.2.2 gate 记录占位
## 1. 当前状态
0.2.1 在 0.2.0 `Water` 基础弱可压 SPH 最小可测试 gate 上进行加固,并继续保留工程 benchmark 矩阵作为长期规划。本版本的 pressure wave smoke 只用于小规模数值链路检查,不作为工程精度 benchmark。
0.2.2 在 0.2.1 `Water` 基础弱可压 SPH 加固基线上进行稳定化复核,并继续保留工程 benchmark 矩阵作为长期规划。本版本的 pressure wave smoke 只用于小规模数值链路检查,不作为工程精度 benchmark。
## 2. 0.1.0 Release Gate
@@ -107,6 +107,39 @@
|---|---|---|
| 2026-07-02 | `build-codex-unix` | 0.2.1 gate 17/17 通过,`source_size` 1/1 通过,`git diff --check` 通过 |
## 2.4 0.2.2 Release Gate
0.2.2 继续使用 0.2.1 已建立的默认 gate,目标是复核 Water 路径、接口兼容性、restart/output 稳定性和文档边界,不新增 Gas、Explosive、Solid、Shell 或真实 FEM-SPH 联合运行验收。
| 测试名 | 类型 | 验收点 |
|---|---|---|
| `smoke` | Fortran smoke | 版本 0.2.2、生命周期和显式步进错误路径 |
| `input` | Fortran input | Abaqus 子集、Water 关键词、warning/error 路径 |
| `kernel` | Fortran unit | 核函数边界、错误路径和有限性 |
| `neighbor` | Fortran unit | 邻域边界、容量、统计和小规模一致性 |
| `water_eos` | Fortran module | Tait EOS、负压策略、声速和 summary |
| `water_density` | Fortran module | 连续性方程、跳过规则和低密度错误路径 |
| `water_viscosity` | Fortran module | Monaghan 参数、方向、有限性和跳过规则 |
| `water_force` | Fortran module | 压力力、body force、外部粒子力占位和跳过规则 |
| `solver_water` | Fortran module | 显式推进、stable dt、API 兼容和错误默认值 |
| `output` | Fortran output | 自动输出、手动输出不改状态、CSV 字段和目录错误路径 |
| `restart` | Fortran restart | STATE_0_2 状态版本、Water 状态、诊断、读回和非法文件 |
| `coupling_interface` | Fortran coupling | Water 状态导出、外力导入、work/momentum/energy 诊断 |
| `c_api` | C ABI | 空指针、小容量、错误码透传和 Water 诊断 |
| `cpp_api` | C++ wrapper | RAII 生命周期、薄包装和 Water 诊断 |
| `python_debug` | Python `ctypes` | C ABI 加载、inspect/run、Water 诊断和错误路径 |
| `cli` | CLI | version、inspect、check、run、output 和错误输入 |
| `pressure_wave_smoke` | Fortran smoke | 5 粒子线性和 3D 非共线压力扰动、小规模趋势检查 |
| `source_size` | 工具门禁 | Fortran/C/C++/Python 文件和 stale exception |
0.2.2 不验收 `Gas`、`Explosive`、`Solid`、`Shell` 的生产级物理结果,也不验收真实 FEM-SPH 联合运行。CouplingInterface 不在 0.2.2 暴露 C ABI。
本地验收记录:
| 日期 | 构建目录 | 结果 |
|---|---|---|
| 2026-07-03 | `build-codex-unix` | 待最终 gate 回填 |
## 3. 基础数值矩阵
| 领域 | 测试或 benchmark | 验收点 |