Files
Jyotisha/scripts/rectification_purpose_gate
jesse-ux f4c94e336d
Independent Staging Quality Gate / validate-python (pull_request) Canceled after 0s
Independent Staging Quality Gate / validate-frontend (pull_request) Canceled after 0s
Independent Staging Quality Gate / publish (pull_request) Canceled after 0s
Document grouped purpose policy and CLI evidence
2026-11-17 18:48:29 +08:00
..

离线生时用途评估

在仓库根目录运行 python -m scripts.rectification_purpose_gate --input <文件>。输入格式和既有夹具见 用途扫描说明。新输入默认使用 purpose_policy_v2。复验旧结果时,在 JSON 的 question 中设定 "precision_policy_version": "purpose_policy_v1"。

v2 的 purpose_assessment.claim_groups 和 decision.claim_groups 返回同一组决定。每组列出依赖层的覆盖、是否变化和 limited_by。scope_ready 的组可独立使用。整体 status 取最严限制,顺序为 scope_ready、conditional、needs_refinement、needs_input、insufficient_evidence。所有组都够用且路由层都已映射时,can_use_interval 才为真。未支持的用途列在 missing_domains,路由遗漏列在 unmapped_route_layers。缺少全部断言组时为 insufficient_evidence。

stable_claim_ids 仍标识全范围都有同一证据的事实,conditional_claim_ids 仍标识只在部分证据中得到支持的事实。每条 v2 事实有单独的 group_id,消费方需要按所属组使用事实。原始逐候选数据保留在 candidates,can_modify_birth_record 与 representative_is_birth_truth 固定为 false。

事业、钱财和婚恋的预测组使用 Vimshottari MD/AD/PD 与 Narayana MD/AD。时间粒度判断预测窗口的有无、周期身份、日期分界、段数及间隙、窗内总时长变化。暂定的总时长容差为日 1 天、月 7 天、年 30 天,待占星师确认。周期解读对断言的支持或反对方向等到断言绑定后实现。组表及覆盖边界见 政策 v2 说明。