
董宏凯andClaude Opus 4.8
f63a1faf3b
fix(roundtable): rwfx 结构化抽取纯树·单父兜底,根治叙事多对一乱线
rwfx 全链是一棵树:除预期行为↔驱动因素 1:1 外其余皆 1:N,任何节点只有一个父节点、
绝无多对一/多对多/汇聚。但弱模型常把「叙事」连到一片驱动因素 → 汇聚乱线。
- extraction_spec:ChainSpec 加 single_parent 标志(rwfx=True,xdfx 有汇聚=False);
helper is_single_parent_chain / chain_level_rank;强化 rwfx ②「叙事只有一个父驱动因素」
+ 新增④「全链是树,每个非根节点恰一个 from」
- flow_extract:_collapse_to_single_parent 确定性兜底——纯树业务把每个节点的多父入边
收敛到「紧邻上一层」的单一父节点(只删多余入边、不新增、不动节点),在 final 前执行;
非纯树业务(xdfx)跳过
- dag-types/types:DAG 派活忠实本阶段目标——不擅自加数量上限/精简、不替席位加体例风格、
逐条全部输出、不诱导脱离输入编造(前后台同步)
- Tests: tests/test_flow_extract_single_parent.py
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-20 23:37:49 +08:00
..
2026-06-16 10:05:54 +08:00
2026-06-07 21:20:58 +08:00
2026-06-20 23:37:49 +08:00
2026-06-20 20:18:02 +08:00
2026-06-11 11:31:49 +08:00
2026-06-16 20:57:21 +08:00
2026-06-20 20:18:02 +08:00
2026-06-19 10:19:31 +08:00
2026-06-09 15:48:24 +08:00
2026-06-20 20:18:02 +08:00
2026-06-07 21:20:58 +08:00
2026-06-08 12:33:24 +08:00
2026-06-10 17:15:28 +08:00
2026-05-13 14:36:44 +08:00
2026-06-04 12:40:18 +08:00
2026-06-11 22:58:38 +08:00