SilverSight/tests
allaun e81caa4a6a feat(spectral): Neon ENE sync layer for the spectral codebook (dry-run by default)
Adds python/spectral_codebook_db.py: sync codebook rows into
ene.rrc_predictions on the neon-64gb Postgres (NEON_PG convention from
scripts/auto/auto_pipeline.py, default research_stack DB).

- Row shape (flat, SQL-typed, Spark-JDBC readable): equation_id,
  proxy_pred = cluster codeword C0..C8, exact_pred = shape from exact
  lambda under CURRENT ClassifyN.lean thresholds (1.5/4.0 Q16.16,
  integer semantics mirrored), matrix_hash =
  'charpoly=<c1..c8>;pos10=<base-10 positional hash>' (similarity +
  injective identity keys), confidence = 1.0 unique fingerprint / 1/k
  in k-way charpoly collision class; deterministic uuid5 ids so reruns
  upsert idempotently.
- SAFE BY DEFAULT: dry run prints summary + sample SQL and writes
  nothing; --apply required to insert (psycopg2, with --emit-sql
  data/spectral_codebook_sync.sql fallback when the driver is absent).
  --apply has NOT been run; live DB untouched. --verify-schema does a
  read-only column check; schema verified offline against
  scripts/auto/ene_schema.sql in tests (live check left to the user
  per the ask-before-DB-work rule).
- spectral_codebook.py gains --sync-db (always dry-run from that entry
  point). Dry-run counts: 250 rows; C0=35 C1=20 C2=13 C3=79 C4=29
  C5=15 C6=22 C7=19 C8=18; Logogram=69 Signal=131 CognitiveLoad=50;
  183 rows at confidence 1.0.
- docs: 'Neon data layer' section — ENE table map, stale
  ene.rrc_classifications finding (120 rows with artifact spectral
  radii 0.3-0.85 predating the exact-eigenvalue fix; recommend
  re-classification via this codebook), empty landing tables, Spark
  JDBC snippet, arxiv-pg (podman-exec only) citation layer note.
- tests: 8 new dry-run/no-network tests (23 total).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-01 20:39:40 -05:00
..
quarantine feat(rrc): bare-minimum RRC refactor into SilverSight 2026-06-21 09:08:48 -05:00
test_avm_python.py feat(tests): Python AVM port rewrite + test harness, Go test harness 2026-06-30 17:56:09 -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 fix(dna): resolve nearest-neighbor sorting and correlation limits 2026-06-24 03:12:29 -05:00
test_kepler.py feat(silversight): symbolic regression core + Kepler test PASSED 2026-06-22 03:29:13 -05:00
test_lean_modules.py fix: HachimojiN8 theorem bug, all Lean module tests pass 2026-06-30 06:29:34 -05:00
test_lean_witnesses.py chore: commit all pending work from prior sessions 2026-06-30 04:54:40 -05:00
test_log_prescreen.py feat(silversight): log prescreen + finite-infinity duality 2026-06-22 03:41:53 -05:00
test_nuvmap_equivalence.py feat(wolfram): add Wolfram Alpha MCP server + SOPS-encrypted API key 2026-06-30 17:28:22 -05:00
test_nuvmap_julia.jl feat(wolfram): add Wolfram Alpha MCP server + SOPS-encrypted API key 2026-06-30 17:28:22 -05:00
test_nuvmap_r_ref.R feat(wolfram): add Wolfram Alpha MCP server + SOPS-encrypted API key 2026-06-30 17:28:22 -05:00
test_python_modules.py refactor(rrc): rename corpus250→allFixtures/emitManifold, generic n-dimensional modules, Authentik deploy 2026-06-30 04:54:40 -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
test_qubo_modules.py chore: commit all pending work from prior sessions 2026-06-30 04:54:40 -05:00
test_scripts.py chore: commit all pending work from prior sessions 2026-06-30 04:54:40 -05:00
test_spectral_codebook.py feat(spectral): Neon ENE sync layer for the spectral codebook (dry-run by default) 2026-07-01 20:39:40 -05:00