diff --git a/docs/tasks/PROGRESS-rectification-typed-event-research-20260929.md b/docs/tasks/PROGRESS-rectification-typed-event-research-20260929.md index c9fd4cbc..b010d68b 100644 --- a/docs/tasks/PROGRESS-rectification-typed-event-research-20260929.md +++ b/docs/tasks/PROGRESS-rectification-typed-event-research-20260929.md @@ -49,3 +49,7 @@ percent 口径结论相同(判定全部 `no_benefit`)。 - 基线回放头名与 09-26 研究差 0.05(宽度一致),原因见研究报告「偏离与说明」;方案之间可比,不与 09-26 逐格对照。 - v4 无月精度事件,日精度按所在月判定。 - 未改质量题四个选项标签;前端 `collection-question-pool.ts` 也有「上大学」措辞(采集题示例),不在本单范围,未改。 + +## 2026-09-29 Claude 验收补改 + +- 前端 `frontend/tests/rectification-confirmation-gate.test.ts` 仍读旧冻结重跑报告 `sealed_holdout_rerun_midnight_anchor_2026_09_21.json`(执行方工作树没装前端依赖,快速门前端步骤未跑,没发现)。按 09-21 先例改为新报告路径,两处断言写「原值 / 新值 / 原因」;该文件 7/7 通过。 diff --git a/frontend/tests/rectification-confirmation-gate.test.ts b/frontend/tests/rectification-confirmation-gate.test.ts index 5b93c0f1..b8b22f18 100644 --- a/frontend/tests/rectification-confirmation-gate.test.ts +++ b/frontend/tests/rectification-confirmation-gate.test.ts @@ -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);