Skip to content

fix(sop): prevent matrix accumulation bug and tighten habits validation#435

Open
HYC-hsy wants to merge 3 commits into
lsdefine:mainfrom
HYC-hsy:fix/history-insight-sop-matrix-habits
Open

fix(sop): prevent matrix accumulation bug and tighten habits validation#435
HYC-hsy wants to merge 3 commits into
lsdefine:mainfrom
HYC-hsy:fix/history-insight-sop-matrix-habits

Conversation

@HYC-hsy
Copy link
Copy Markdown

@HYC-hsy HYC-hsy commented May 20, 2026

修改内容

修复 history_insight_sop.md 中两个执行者易犯的错误:

  1. P1 matrix 累加 bug:加代码模板+禁止从 task_dict.json 全量遍历重新统计
  2. P2 habits 判定:将判定指南从末尾移入步骤2正文,加 sessions>=2 交叉验证 assert
  3. 坑点精简:已内联到对应阶段的重复条目删除

测试

  • 修改后重新执行完整流程,W11 计数正确(1而非8),habits 全部 sessions>=2
  • 最终 94 行(原 91 行)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant