test(rectification): confirmation gate reads the 09-29 re-freeze report (BUG-1088)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017eEAG8HD3mm8gsKXgk8uU8
This commit is contained in:
Jesse_Chen
2026-09-29 10:11:35 +08:00
co-authored by Claude Opus 5.5
parent ea21743b09
commit 406d81b8d7
2 changed files with 10 additions and 2 deletions
@@ -84,8 +84,11 @@ const diagnosticReport = JSON.parse(readFileSync(
// 原值:docs/research/sealed_holdout_rerun_cross_midnight_2026_09_20.json
// 新值:docs/research/sealed_holdout_rerun_midnight_anchor_2026_09_21.json
// 原因:午夜日期锚点修复的新冻结重跑另存报告;旧报告保留,确认门行为与阈值不变。
// 原值(2):docs/research/sealed_holdout_rerun_midnight_anchor_2026_09_21.json
// 新值(2):docs/research/sealed_holdout_rerun_quality_wording_2026_09_29.json
// 原因(2):BUG-1088 只改学业质量题措辞,按 ERR-110 另存新冻结重跑;计分逐字节不变,确认门行为与阈值不变。
const currentTreeRerun = JSON.parse(readFileSync(
new URL("../../docs/research/sealed_holdout_rerun_midnight_anchor_2026_09_21.json", import.meta.url),
new URL("../../docs/research/sealed_holdout_rerun_quality_wording_2026_09_29.json", import.meta.url),
"utf8",
)) as {
frozen_record: { implementation_sha256: string };
@@ -205,9 +208,10 @@ test("sealed holdout aggregates match the v3 report and still block confirmation
productHoldout.current_tree_scorer.implementation_sha256,
currentTreeRerun.frozen_record.implementation_sha256,
);
// 原值:docs/research/sealed_holdout_rerun_midnight_anchor_2026_09_21.json / 新值:…quality_wording_2026_09_29.json / 原因:BUG-1088 重新冻结(同上)。
assert.equal(
productHoldout.current_tree_scorer.source_report,
"docs/research/sealed_holdout_rerun_midnight_anchor_2026_09_21.json",
"docs/research/sealed_holdout_rerun_quality_wording_2026_09_29.json",
);
assert.equal(currentTreeRerun.official_valid_independent_blind, false);
assert.equal(productHoldout.current_tree_scorer.matches_metrics_scorer, false);