fix(rectification): use candidate dates for cross-midnight dasha scoring

Add date-isolated caches and regression coverage, align scoring identity, and freeze full research reruns while preserving historical artifacts. Record unresolved cache/receipt identity and end-to-end acceptance gaps for branch review only.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
jesse-ux
2026-09-20 13:56:11 +08:00
co-authored by Claude Code
parent 03cba4780a
commit aa46da1016
49 changed files with 62080 additions and 109 deletions
@@ -81,8 +81,11 @@ const diagnosticReport = JSON.parse(readFileSync(
verified_minute_claim_allowed: boolean;
};
};
// 原值:docs/research/sealed_holdout_rerun_2026_09_20.json
// 新值:docs/research/sealed_holdout_rerun_cross_midnight_2026_09_20.json
// 原因:BUG-981 修复后重跑另存报告;旧报告保留,确认门行为与阈值不变。
const currentTreeRerun = JSON.parse(readFileSync(
new URL("../../docs/research/sealed_holdout_rerun_2026_09_20.json", import.meta.url),
new URL("../../docs/research/sealed_holdout_rerun_cross_midnight_2026_09_20.json", import.meta.url),
"utf8",
)) as {
frozen_record: { implementation_sha256: string };
@@ -204,7 +207,7 @@ test("sealed holdout aggregates match the v3 report and still block confirmation
);
assert.equal(
productHoldout.current_tree_scorer.source_report,
"docs/research/sealed_holdout_rerun_2026_09_20.json",
"docs/research/sealed_holdout_rerun_cross_midnight_2026_09_20.json",
);
assert.equal(currentTreeRerun.official_valid_independent_blind, false);
assert.equal(productHoldout.current_tree_scorer.matches_metrics_scorer, false);