test: pinned values for the KP packet — root script budget and KP running lords (BUG-2333 follow-up)
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m12s
Independent Staging Quality Gate / validate-python (push) Successful in 8m23s
Independent Staging Quality Gate / publish (push) Successful in 3m59s

The astrologer's upstream timing_evidence_packets.py sits at the root path her
modules import (budget 478 -> 479), and career / money / relationship KP sections
no longer carry Raman periods read with KP significators (her handoff section 5B1);
other domains keep the old row. Original value, new value and reason recorded.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
This commit is contained in:
2026-11-24 22:15:56 +08:00
co-authored by Claude Fable 5.2
parent d944c88b23
commit 34dfe3b511
2 changed files with 12 additions and 2 deletions
@@ -166,7 +166,16 @@ test("every domain carries its routing table and KP Placidus for its houses", ()
}
assert.equal(dig(kp, "cusps", number, "whole_sign_sign"), row.same_as_whole_sign === false ? row.whole_sign_sign : undefined, where);
}
assert.equal(dig(kp, "running_lords", "md", "lord"), dig(card.base.timing.vimshottari, "mahadasha", "lord"), where);
// BUG-2333 原值:running_lords.md 等于本命(Raman)大运主星;新值:只有 KP 包算出时才有 running_lords,且是 KP 口径的运期
// (profile: "KP"),这里的样例没有 KP 包,所以没有这一行;原因:占星师交接 2026-11-24 §5B1——不把 Raman 运期配 KP 指示星
// 的混合结果当成 KP 结果。
// 事业、钱、感情三个领域按此处理;其余领域仍是原来的本命大运主星。
if (["career", "wealth", "marriage"].includes(domain)) {
const running = dig(kp, "running_lords") as Json | undefined;
if (running) for (const row of Object.values(running)) assert.equal((row as Json).profile, "KP", where);
} else {
assert.equal(dig(kp, "running_lords", "md", "lord"), dig(card.base.timing.vimshottari, "mahadasha", "lord"), where);
}
}
}
});
+2 -1
View File
@@ -34,7 +34,8 @@ UPSTREAM_SILENT_EXCEPT = "scripts/classical_astrology.py:12558"
# 原值(3):475 / 新值(3):476 / 原因(3):占星师上游原样 prediction_verdict_matrix.py(报告导出的校时判决矩阵,按上游路径放根目录)
# 原值(4):476 / 新值(4):477 / 原因(4):BUG-2296 占星师上游原样 yoga_expression_paths.py(报告的格局作用路径,按上游路径放根目录)
# 原值(5):477 / 新值(5):478 / 原因(5):BUG-2315 占星师上游原样 transit_search.py(报告的年度连续运动扫描,按上游路径放根目录)
ROOT_PY_BUDGET = 478
# 原值(6):478 / 新值(6):479 / 原因(6):BUG-2333 占星师上游原样 timing_evidence_packets.py(17a13545,KP 多体系共同分段与每段领域关联,按上游路径放根目录,她的 kp_monthly_* 按此路径导入)
ROOT_PY_BUDGET = 479
def _silent_handlers() -> list[str]: