SilverSight/tests
allaun 6b649ad271 fix(dna): correct alphabet ordering ATGCBSPZ→ABCGPSTZ + proof cleanup
Critical bug fix: dna_codec.py used biological base ordering (ATGCBSPZ)
instead of ASCII-ordered spec ordering (ABCGPSTZ). This violated the core
monotonicity axiom (int rank = lexicographic rank) that the entire monotone
LUT pipeline depends on.

Changes:
- python/dna_codec.py: BITS_TO_BASE, HACHIMOJI_BASES, LATIN_TO_GREEK
  corrected to ABCGPSTZ ordering; encode_binary_vector parameter renamed
  bases_per_var; module docstring updated
- tests/test_dna_codec.py: hardcoded byte→DNA expectations updated for new
  ordering (0xFF→ZZT, 0xd1→TPC); bases_per_var parameter name updated;
  31/31 tests green
- formal/CoreFormalism/HachimojiLUT.lean: replace fragile
  canonical_phases_preserved.2.2.2.2.2.1 chains with named obtain
  destructuring in pythagorean_position and contradiction_position
- docs/UNIFIED_THEORY.md: add ground-truth caveat to epigenetic optimizer
  results table (n≥24 results are local optima, not verified global minima)

Note: test_dna_nn.py has 4 pre-existing failures (Ising chain correlations)
unrelated to this fix — dna_qubo_nn.py has its own base encoding and does
not import dna_codec.py.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 23:20:16 -05:00
..
quarantine feat(rrc): bare-minimum RRC refactor into SilverSight 2026-06-21 09:08:48 -05:00
test_dna_codec.py fix(dna): correct alphabet ordering ATGCBSPZ→ABCGPSTZ + proof cleanup 2026-06-22 23:20:16 -05:00
test_dna_lut.py feat(dna): unified theory — DNA encoding, epigenetic computation, logarithmic vector spaces 2026-06-23 02:18:16 +00:00
test_dna_nn.py feat(dna): unified theory — DNA encoding, epigenetic computation, logarithmic vector spaces 2026-06-23 02:18:16 +00:00
test_kepler.py feat(silversight): symbolic regression core + Kepler test PASSED 2026-06-22 03:29:13 -05:00
test_log_prescreen.py feat(silversight): log prescreen + finite-infinity duality 2026-06-22 03:41:53 -05:00
test_q16_canonical.py feat(rrc): bare-minimum RRC refactor into SilverSight 2026-06-21 09:08:48 -05:00
test_q16_roundtrip.py feat(rrc): port ReceiptDensity, PolyFactorIdentity, EntropyCandidates and add Q16_16 roundtrip test 2026-06-21 10:39:18 -05:00