fix(rectification): label declared birth time as record or estimate (BUG-690)
Independent Staging Quality Gate / validate (push) Failing after 8m55s
Independent Staging Quality Gate / publish (push) Skipped

Hospital records, family estimates and period-only windows now keep distinct copy on the board and range card. Scoring still uses the reported clock as the search-window centre. Hospital minutes outside the current range are stated with the offset and no preference.
This commit is contained in:
jesse-ux
2026-09-14 23:20:15 +08:00
parent a266b6b727
commit c5fbee56a6
25 changed files with 531 additions and 35 deletions
@@ -222,9 +222,16 @@ test("live-row labels follow the action that started the turn", () => {
});
test("board copy before any candidate shows the declared minute, never invented data", () => {
// 原值: 「填报出生时间 05:10」
// 新值: 缺来源时按大概时间;医院记录用「出生记录时间」
// 原因: BUG-690 推算值不得称作「你的出生时间」
assert.deepEqual(rectificationBoardEmptyCopy("05:10"), {
clock: "05:10",
lines: ["填报出生时间 05:10", "回答几个问题后,这里会显示宫位随时间的变化。"],
lines: ["你填的大概时间 05:10", "回答几个问题后,这里会显示宫位随时间的变化。"],
});
assert.deepEqual(rectificationBoardEmptyCopy("05:10", "hospital_record"), {
clock: "05:10",
lines: ["出生记录时间 05:10", "回答几个问题后,这里会显示宫位随时间的变化。"],
});
assert.deepEqual(rectificationBoardEmptyCopy(null), {
clock: null,