Files
Jyotisha/scripts/rectification
ClaudeandClaude Opus 5.5 9fd3fcd5ba fix(rectification): bump scoring identity to scoring-13 for BPHS D30 and Venus roles (BUG-1560, BUG-1570)
18c685c4 changes the same-input rectification scores (varga.py even-sign D30
feeds health_pressure and feature facts v4; functional roles feed the
*_functional_*_auxiliary rules), so per BUG-1181 the algorithm identity moves
rectification-v5-matrix-scoring-12 -> -13. Policy v4, input contract v5 and
the dated window contract (generation >= 9) are unchanged; the SQL guard
already accepts scoring-13, so no migration.

- Memoization golden v6 written by write_golden (source_commit 18c685c4);
  v5 stays byte-identical and is pinned by sha256. For this public request
  the candidate scores are unchanged; the D30 feature (Capricorn -> Pisces),
  its transition row and the feature hashes moved.
- frontend/tests/fixtures/rectification-dated-transitions.native.json: scan
  regenerated from the real engine (D30 segment start Capricorn -> Pisces),
  CRLF kept.
- New scoring-13 cross-midnight golden from midnight_date_anchor_regression.py
  --golden (independent-process A/B 3 x 7 fields equal); scoring-12 golden kept
  as history and opens read-only with recompare under scoring-13.
- v9EngineVersion() default and the identity tests follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-04 17:36:13 +08:00
..