amos 4f17b2afe5 Batch 20 (20261027-C-family-20): map batch 15's ad-hoc families to canonical ones
210 batch-15 tasks used 119 ad-hoc family names. Each now carries one of the
canonical root-cause families (11 of the 19 are used), with version + 1 and a
spec.md note, and was recalibrated through both gates. Claude checked that only
family, version and spec.md changed, that every family is canonical, and the
new trace6 Docker receipts against current digests (210/210 USABLE).
Squashed from the 36-local branch batch20-family.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 05:58:17 +08:00

2.1 KiB
Raw Blame History

layout-cache-row-alignment — 制题规格

  • 路线:C,基于 hwe/cc-cc-004 的对齐题材原创;不是现场故障回放。原料 reference/main.c 只含 _Alignas(64) long hot[8] 的地址和和数打印,未作为正确性判据或业务代码复制。
  • 软件替身:进程内可配置 64/128 字节逻辑行的热记录库。观察真实 C 指针的行余数和每个已用字节范围,及读写、独立行隔离、校验值。固定镜像 GCC 与 make 可用。该题不证明任何 CPU 的 cache line 大小、缓存一致性、DMA 或运行速度;原料的 8 个 long 在 LP64 是 64 字节,不泛化到所有 C 实现。
  • 初态:原创完整 C11 小工程。默认 64 字节行的热记录起始地址偏离;公开允许的 128 字节行配置下,批量写入只提交前半行。两缺陷独立,且均可由正常构建后的行为观察拒绝。
  • 难度:UNMEASURED,未经真实 Agent 试采。
判据行为 公开依据
64/128 行配置、槽数、错误码、可用接口 template/docs/layout-port.md:11,template/layout.h:7、:33 至 :50,template/journal.h:6、:33 至 :45
热数据起点及有效字节范围不得跨逻辑行 template/docs/layout-port.md:11、:13
写入、读取、独立槽、有效长度与数据值 template/docs/layout-port.md:11、:15、:19;template/layout.h:33 至 :50
局部覆盖、插入、删除及边界 template/docs/layout-port.md:17、:23;template/layout.h:37 至 :41
批量提交顺序及回滚,包括编辑回放 template/docs/layout-port.md:27、:29、:31;template/journal.h:33 至 :45
非法请求保持既有记录不变 template/docs/layout-port.md:21、:23、:31
输出原始观测协议及合法 stderr template/docs/layout-port.md:35、:39

检查只比较公开定义的有效范围,不检查未用尾部。stderr 是合法诊断,不参与业务判分。所有期望由 Python 模型独立计算,候选进程只输出原始观测。源码与测试不依赖真实硬件。 族名规范化:compile-deploy → memory-buffers(2026-10-27)