You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
新版映射 CASE intensity WHEN 低/中/高 THEN easy/normal/hard ELSE NULL(src/schema.ts:247-251、src/migrate/migrate.ts:132-137、:316-324);老家 scripts/db.py:396-406逐字同构,即 '极限' 在老口径下同样早已是 NULL。
Activity
FeatherHunter commentedon Sep 8, 2026
#68 旧版口径对照与 P1×6 复核 —— 结论
报告全文:
D:\ilife\.scratch\research\t68-parity-gaps.md(只读复核,未改任何既有文件;未运行旧 Python、未碰真实 DB,仅对老家备份复制件做只读 SELECT)一、P1×6 复核状态:全部未复核(本次为首次逐条复核)
全库评论检索:
intensity0 命中、极限0 命中、P1仅 #39/#14/#48(#48 的「P1→P4」是优先级)。#40 评论(2026-09-06T12:51:09Z)与 #41 评论(2026-09-06T16:00:35Z)均为合流/CI 收尾,零 P1 字样;#39(11:48:51Z)只写「P1×6 注明出处」;#14 finale(16:38:53Z)写「P1/P2 注记」。#39 承诺的「#40/#41 验收时复核」从未执行。'极限'→NULL注:#39 票面与 §8 称「P1×6」,报告表内仅 5 行,第 6 项是 §4 的 DB intensity 项,属重复计数。
二、intensity 判定:口径不补(老新同构,非差异)
CASE intensity WHEN 低/中/高 THEN easy/normal/hard ELSE NULL(src/schema.ts:247-251、src/migrate/migrate.ts:132-137、:316-324);老家scripts/db.py:396-406逐字同构,即'极限'在老口径下同样早已是 NULL。exercise_log8297 行,intensity= NULL 8277 / 中 12 / 高 6 / 极限 2,这 2 行的difficulty在老库也是 NULL → 无信息因移植而新增丢失。intensity(src/fetch/exercise.ts:167、:263),render/*.ts零 difficulty。src/cli/write.ts:191可写任意串),老家是choices=['easy','normal','hard'](scripts/exercise_tracker.py:791、:811)。db.py:258-268在老家中已漂移为 food_log 钠糖纤维迁移,正确出处为db.py:396-406(+references/database_schema.md:112的 4 档值域)。三、「词层与路由层已全覆盖」仍成立(已复现)
当前树实测 436 条目 / 434 唯一词 / 重复仅「记身材照」×3;10 场景 9-70-58-39-32-25-4-13-10-176、CATEGORIES 13 全部逐项复现;老家
_triggers.py只读计数得同样 436/434 与同分布。node --test test/calorie-triggers.test.mjs7/7 pass。两处注记:报告:41的「单引号 436 行去重 412 + 双引号 22」拆分无法复现(实测单引号 436、双引号 0,但总数结论正确);getSummary分类合计 181≠436(SoT 保真,勿改)。四、top 建议
packages/skill-calorie/test/cmd-read-t11.test.mjs:185的>= 436收紧为===。进度:100%
下一步:按报告 §5 差异清单把「写路径 difficulty 值域校验 + 迁移审计计数」毕业为 #63 下的本体票;文档类订正(出处行号、P1×6 计数)随下次 docs 收编一并落。