test(sync6): regenerate the dated-transition scan golden and move the Saturn/Venus antardasha start (BUG-1260, BUG-1268)
fb8277bf left the quick gate red: the native scan golden still carried the
pre-PVR D5/D11 signs, and the user-invocation contract still expected the
antardasha start laid from the day-truncated mahadasha date. Both values now
come from the real engine; Python full suite is back to the 62-failure
baseline, quick gate passes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017eEAG8HD3mm8gsKXgk8uU8
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
fb8277bfcc
commit
2df6ee7270
@@ -16934,6 +16934,7 @@
|
||||
- 相关记录:BUG-1261。同输入的生时校正分数因此变化,算法身份升到 `rectification-v5-matrix-scoring-11`(`d46f9675`)。记忆化 golden 新增 v4,v3 逐字节保留
|
||||
- 复发自:无
|
||||
- 修复版本:本分支 `db68e908`
|
||||
- 验收补记(2026-10-07,Linux):执行方推送时没跑快速门。`frontend/tests/fixtures/rectification-dated-transitions.native.json` 的 `scan` 仍是旧 D5/D11 星座(6 行),`tests/test_rectification_dated_transitions.py::test_native_scan_golden_matches_real_static_contexts` 失败,快速门红,Gitea validate run 3211 失败,staging 未部署 `fb8277bf`。补修:用 `compute_candidate_static_contexts -> window_scan` 真实引擎重新生成 `scan`(只变 D5、D11 的 `from_sign` / `to_sign`,`expected_signs` 不变),保留原 CRLF。分支 `codex/sync6-gate-fix-20261007`
|
||||
|
||||
## BUG-1261 | Vimsopaka 把落陷取消当成尊贵分,且十六分盘权重加总不是 20
|
||||
|
||||
@@ -17062,6 +17063,7 @@
|
||||
- 相关记录:BUG-1205、BUG-1261
|
||||
- 复发自:无
|
||||
- 修复版本:本分支 `edeec413`
|
||||
- 验收补记(2026-10-07,Linux):影响面比上面写的大。新代码对**每一段**大运都从 `start_datetime`(精确时刻)排小运,旧代码从截到日的 `start` 字符串排,所以所有大运的小运、更小运起止都会移动(不到一天)。例:`tests/test_user_invocation_acceptance_contract.py` 虚构盘土星 / 金星小运起点 2023-07-12 → 2023-07-13(`2023-07-13T05:10:31`)。三栏:原值 `2023-07-12` / 新值 `2023-07-13` / 原因:按大运精确起点排小运(上游 `4a807e7d`)。该断言执行方未改,连带 `test_one_command_user_invocation_acceptance_check` 与 `test_skill_release_clean_trial.py::test_premium_skill_zip_runs_from_clean_directory` 失败(三条不在快速门内,Python 全量 62 → 66)。补修分支 `codex/sync6-gate-fix-20261007`
|
||||
|
||||
## BUG-1264 | Narayana 报告只给历史起运,不标明所选规则
|
||||
|
||||
|
||||
@@ -146,3 +146,14 @@ reported-offset:900 例,exit 0,约 804 秒。相对 2026-09-20 历史报
|
||||
- Shadbala Dig 短弧未改(BUG-1270 investigating)。
|
||||
- 全量 pytest 与改后 v5 的数字已写入上面。快速门没有单独跑过,不写成通过。
|
||||
- 名人生平回测改后那轮还没跑:要先用本分支引擎重抓卡片。
|
||||
|
||||
## Claude 验收(2026-10-07,Linux,验收工作树 `fb8277bf` 与基线 `5cc8e504`)
|
||||
|
||||
| 项 | 结果 |
|
||||
| --- | --- |
|
||||
| Python 全量 | 基线 62 失败,`fb8277bf` 66 失败;新增 4 条全部是期望值未更新:`test_user_invocation_acceptance_contract` 两条与 `test_skill_release_clean_trial` 一条(小运起点改为按大运精确时刻排,BUG-1268 补记),`test_rectification_dated_transitions::test_native_scan_golden_matches_real_static_contexts`(扫描金样 D5/D11,BUG-1260 补记)。Windows 记录里的 `test_consultation_native_layers` 在 Linux 上通过 |
|
||||
| 快速门 | **红**(上面金样那条)。Gitea validate run 3211 失败,staging 仍部署 `0ed45a4b` |
|
||||
| npm | 4990 项、失败 24,与基线逐名相同;tsc 0;lint 0 error |
|
||||
| 抽查 | 乔布斯盘 D5/D6/D8/D11、Bhava/Hora/Ghati/Sree/Indu 上升与上游 `23be1807` 一致;Yogini 顺序与结构一致,首段余额差约 0.002 年(月亮约 17 角秒,属岁差细节) |
|
||||
| v5 全表 | 执行方「六题回放 ±10 下降 2.6、线上区间 ±60 下降 1.3」复核无误(列为 ±10 / ±30 / ±60)。全表:先验 +2.6 / +2.6 / +1.3;六题回放 −2.6 / +3.9 / 0;线上区间 0 / +2.6 / −1.3。9 格 5 升 2 平 2 降 |
|
||||
| 产品决定 | 2026-10-07 接受上述评测变化;门禁补修由 Claude 直接执行(分支 `codex/sync6-gate-fix-20261007`:重新生成扫描金样的 `scan`,更新小运起点断言并写三栏,Bug 历史补记) |
|
||||
|
||||
@@ -313,7 +313,7 @@
|
||||
| `TASK-rectification-targeted-collect-cards-20260913.md` | `PROGRESS-rectification-targeted-collect-cards-20260913.md` | 定向补事改逐条点选卡(有/没有/记不清 → 有则口述年月;没有不计分只防复问;全没有出卡)+ 文案说清剩余候选与线 + 卡下「再答两道参考题」入口(BUG-661~663,Skill 10.0.25) | 已实现 `530f260f`,已部署;2026-09-13 验收:T1/T2/T4 通过,T3 入口留死角 → `TASK-rectification-tie-break-entry-fix-20260913.md` | `codex/rectification-targeted-collect-cards-20260913` |
|
||||
| `TASK-rectification-probe-supply-research-20260913.md` | — | 研究单:六题后引擎在剩余候选上再出带年月题的四种放宽规则,20 例公开 AA 数据离线量收益,有收益才立实现单 | 已合入(离线测量,不改线上) | `b063c668` |
|
||||
| `TASK-rectification-refresh-r3-r4-20260913.md` | `PROGRESS-rectification-refresh-r3-r4-20260913.md` | 刷新阶段 R3(MIN_BOUNDARY_DAYS 45→30)+ R4(pratyantar 与 D9/D10 上升 Narayana);首轮出题不变。即使放宽仍有 0 题例子,定向补事另线保留(BUG-664/665) | 已实现 `ab1ade59`,已部署;2026-09-13 验收通过(实现单由执行方自拟,无产品决策记录段;收益口径见研究文档) | `codex/rectification-refresh-r3-r4-20260913` |
|
||||
| `TASK-upstream-sync6-20261007.md` | [PROGRESS-upstream-sync6-20261007.md](PROGRESS-upstream-sync6-20261007.md) | **上游同步第六轮(`23be1807`)**:10-05 五个计算修正一行未合——D5/D6/D8/D11 映射(乔布斯盘四张分盘星座全不同)、Vimsopaka 权重、Yogini 顺序与出生余额、Panchadhikari 宫位参照、Narayana 并列、特殊上升、出生秒数、Neecha Bhanga 两条件、首段大运子运、岁差被覆盖;逐项对照原书核实;最先做 | 待验收 | [PROGRESS-upstream-sync6-20261007.md](PROGRESS-upstream-sync6-20261007.md) |
|
||||
| `TASK-upstream-sync6-20261007.md` | [PROGRESS-upstream-sync6-20261007.md](PROGRESS-upstream-sync6-20261007.md) | **上游同步第六轮(`23be1807`)**:10-05 五个计算修正一行未合——D5/D6/D8/D11 映射(乔布斯盘四张分盘星座全不同)、Vimsopaka 权重、Yogini 顺序与出生余额、Panchadhikari 宫位参照、Narayana 并列、特殊上升、出生秒数、Neecha Bhanga 两条件、首段大运子运、岁差被覆盖;逐项对照原书核实;最先做 | 已验收(门禁补修 `codex/sync6-gate-fix-20261007`,部署待核) | [PROGRESS-upstream-sync6-20261007.md](PROGRESS-upstream-sync6-20261007.md) |
|
||||
|
||||
| `TASK-rectification-tie-break-entry-fix-20260913.md` | `PROGRESS-rectification-tie-break-entry-fix-20260913.md` | 修复单:参考题入口只读 `window_scan` 标志位 → 两道答完后仍显示、再点弹「现在没有可答的参考题」;并按产品拍板改成点一次连出 D9+D10(BUG-666~668,Skill 10.0.26) | 已合入(无独立验收记录) | `99127601`(BUG-666~668 resolved;已部署 staging,run 2589) |
|
||||
|
||||
|
||||
@@ -101,8 +101,8 @@
|
||||
"segment_start_at": "2000-02-29T23:58",
|
||||
"segment_end_at": "2000-03-01T00:02",
|
||||
"segment_start": true,
|
||||
"from_sign": "处女座",
|
||||
"to_sign": "处女座"
|
||||
"from_sign": "双鱼座",
|
||||
"to_sign": "双鱼座"
|
||||
},
|
||||
{
|
||||
"layer": "d7",
|
||||
@@ -171,8 +171,8 @@
|
||||
"segment_start_at": "2000-02-29T23:58",
|
||||
"segment_end_at": "2000-03-01T00:02",
|
||||
"segment_start": true,
|
||||
"from_sign": "摩羯座",
|
||||
"to_sign": "摩羯座"
|
||||
"from_sign": "双鱼座",
|
||||
"to_sign": "双鱼座"
|
||||
},
|
||||
{
|
||||
"layer": "d30",
|
||||
@@ -335,8 +335,8 @@
|
||||
"segment_index": 0,
|
||||
"segment_start_at": "2000-02-29T23:58",
|
||||
"segment_end_at": "2000-03-01T00:02",
|
||||
"from_sign": "处女座",
|
||||
"to_sign": "天秤座"
|
||||
"from_sign": "双鱼座",
|
||||
"to_sign": "摩羯座"
|
||||
},
|
||||
{
|
||||
"layer": "kp1",
|
||||
|
||||
@@ -132,7 +132,10 @@ def test_fixture_dasha_timeline_rejects_workbuddy_regression_claims() -> None:
|
||||
)
|
||||
|
||||
assert observed["2014-06-15"] == ("Jupiter", "Rahu", "2014-04-27", "2016-09-20")
|
||||
assert observed["2024-03-01"] == ("Saturn", "Venus", "2023-07-12", "2026-09-11")
|
||||
# BUG-1268 (upstream 4a807e7d): antardashas are laid from the parent
|
||||
# mahadasha's exact start instant, not its day-truncated date string, so
|
||||
# Saturn/Venus starts 2023-07-13T05:10:31 (was 2023-07-12 from midnight).
|
||||
assert observed["2024-03-01"] == ("Saturn", "Venus", "2023-07-13", "2026-09-11")
|
||||
assert observed["2027-03-01"] == ("Saturn", "Sun", "2026-09-11", "2027-08-24")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user