Files
Jyotisha/scripts
jesse-uxandGrok (agent loop) 446420d720 feat(rect): per-contribution evidence, consistent MD/AD exclusion, real missing fields (#184 round 2, BUG-1827)
按占星师第七轮 P1 与 FIX-rect-layer-alias-2:

- 引擎行追加 contributions(event_id / layer / dependency / profile / points /
  decomposable / missing_reason);整件不计分的事也记一项,points 为 null
- 任一候选的 dasha_varga_core 贡献 decomposable 为假时,对所有候选一致排除该
  单元并写 excluded_contributions(缺的不当 0、全的也不计)
- 新增顶层 missing_mandatory_layers([{candidate_time, layer, event_ids}],
  排序、永不为 null,旧形状行标 legacy_row_without_contributions);
  reasons 里那一条当且仅当列表非空
- 层名对照 ASTROLOGER_EVENT_LAYER_ALIASES(只在整件事缺失且无其他门控层时套用),
  记 layer_aliases_applied;产品的 Narayana_AD(只缺小运)仍 not_reducible
- 三个计数(top_candidate_count / top_segment_count / unique_time)保留

Tests: 测试文件 17 条(含真实引擎行:贡献分值之和等于 score、layer_points 与
contributions 一一对应),连同 1801/active_events/1802/technique_contract 共 52 条全过。

Co-Authored-By: Grok (agent loop)
2026-11-09 18:03:35 +08:00
..
2026-07-12 19:22:13 +08:00