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
@@ -117,6 +117,9 @@ def test_sealed_holdout_contract_matches_v3_report_and_stays_closed() -> None:
assert produced_by["implementation_hash_matches_at_replay"] is True
assert produced_by["source_report"] == "references/real_case_calibration/minute_rectification_holdout_v3_report.json"
assert current_tree["implementation_sha256"] == rerun["frozen_record"]["implementation_sha256"]
assert current_tree["extended_identity"] == rerun["frozen_record"]["extended_identity"]
assert "scripts/rectification/dasha_transition_proximity.py" in current_tree["extended_identity"]["production_scoring_files"]
assert product["current_tree_fixed_protocol_rerun"]["extended_identity"] == current_tree["extended_identity"]
assert current_tree["fixed_protocol_rerun_hash_matches"] is rerun["implementation_hash_matches_at_replay"] is True
assert current_tree["fixed_protocol_rerun_trial_count"] == rerun["trial_count"] == 20
assert rerun["official_valid_independent_blind"] is False