 ClaudeandClaude Opus 5.5
|
9ca1a9bdd4
|
test(rect): FIX-3 brief example and can_apply/confidence locks (#184 acceptance, BUG-1827)
The brief's own case (both candidates carry e1-e5, only 12:01's e5 MD/AD is
indivisible) and the unchanged can_apply/confidence check were not written
into tests. Values measured against staging c9f2f76f.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
|
2026-11-11 14:11:30 +08:00 |
|
 jesse-uxandGrok (agent loop)
|
52b19d7a82
|
fix(rect): after excluding the indivisible MD/AD unit, compare on the rest (#184 round 3, BUG-1827)
打回:单元拿掉了,但 Narayana_AD 仍算 unexplained,又落回 not_reducible,
且那个分支不输出 excluded_contributions。
- 新增 _explained_by_exclusion:差异层被「所有带它的候选的不可拆 MD/AD 项」
覆盖且没有别的缺失层时,视为已由排除解释
- not_reducible 分支也输出 excluded_contributions(非空时)
- 旧形状行(无 contributions)不受影响
Tests: 新增 4 条真实形状用例(只缺小运→common_coverage、再加一个缺失层→
not_reducible 但仍报排除、旧形状行不报、负分照计);本文件 20 条 + 既有四套
合计 56 条全过。
Co-Authored-By: Grok (agent loop)
|
2026-11-09 19:31:41 +08:00 |
|
 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 |
|
 jesse-uxandGrok (agent loop)
|
8a844f3c04
|
feat(rect): separate the three leader counts (#184, BUG-1827, P1 item 2)
占星师 2026-11-09 第七轮 P1 第 2 条:候选分钟数、连续区间数、是否唯一时刻要分开,
代表分钟不能冒充唯一解。
- adjudicate_candidate_rows 结果新增 top_candidate_count(同分候选分钟数)、
top_segment_count(连续区间数)、unique_time(是否唯一时刻)
- 空候选分支给同样的三个字段(0 / 0 / false),形状一致
- 新增 tests/test_rectification_layer_alias_bug1827.py 5 条:两分钟连续领先是
1 段但非唯一时刻、单一领先是 1/1/true、两段同分是 2 段、代表时刻只是段、
无候选全零
P1 第 1 条(每项贡献的 event_id / layer / dependency / profile / points /
缺失原因)与第 3 条(missing_mandatory_layers 的字段形状)仍等任务书拆分与
字段形状的裁定,未实施。
Tests: 新增 5 条 + 既有 1801/active_events/1802/technique_contract 合计 40 条全过。
Co-Authored-By: Grok (agent loop)
|
2026-11-09 16:16:33 +08:00 |
|