Skip to content

Legion-Systems-SE/upc-sampling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UPC Sampling — Exploratory Tests

Ongoing tests and sampling for the Universal Pocket Calculator digit-curvature resonance framework.

This repo contains exploratory probes that extend the validated UPC test suite to external databases and new domains. Results here are not validated — they are the working noise from which signal may emerge.

What's here

  • squarewave_test.py — Three-channel square wave coverage test. 10 physics constants × 3 observer channels cover 100/100 zeta zeros. Self-contained (no engine dependency).
  • codata_test.py — Full 2022 CODATA database scan against the 13-constant skeleton. Bins results by observation quality: exact vs measured, forward vs inverse observer.
  • bio_test.py — BioNumbers database scan. Biology through the curvature lens.
  • ExternalDB/ — Source data (CODATA allascii.txt, BioNumbers)

Key findings (exploratory)

CODATA (283 unique constants)

  • 8 multi-zero bridges — constants whose digits touch 2+ different zeta zeros
  • Elementary charge (e): bridges gamma1 and gamma3 via forward/inverse observer
  • hbar*c (197.3 MeV fm): bridges gamma1 and gamma2 — both resonances
  • Discrimination: 1.6-1.9x above random (weaker than the pentatonic 31x)
  • The structure discriminates where the count doesn't

Biology (874 precise values from 6068 BioNumbers)

  • Resonances: 65 (BELOW random expectation of 97)
  • Fold locks: 118 (ABOVE random expectation of 97)
  • Biology locks to the critical line but doesn't resonate
  • gamma2 (the elevator) nearly empty — 3 hits out of 183
  • Organism clustering tracks measurement precision, not biology

Three-channel square wave (100 zeta zeros)

  • 100/100 coverage — all 100 zeros hit by at least one faller in at least one channel
  • Three observer channels per physics constant: forward (γ), inverse (1/γ), π-shadow (π·γ)
  • Coverage builds: 1-channel 77/100 → 2-channel 94/100 → 3-channel 100/100
  • Predictive: zeros 51–100 (never seen during development) covered with zero parameter changes
  • Window-robust: N=8 through N=16 all give 99–100/100; dark spots move but don't accumulate
  • Origin traced to γ₁'s dual palindromic anti-phase: [1,4,1] (D2=−6) / [7,0,7] (D2=+14), ratio 7/3, sum 8
  • Standing wave decomposition: 60.9% standing energy, component sum −8
  • Zeros are "cold" in single-channel view (0.80× average node density) — they sit at equilibrium. The three-channel torus lifts them into coverage.

The observation hierarchy

  1. Exact constants — dual-observer bridges (highest confidence)
  2. Measured physics — single-observer resonances (31x discrimination)
  3. Biology — locks without resonance (structure held, phase lost)

Requirements

python3 --version  # 3.8+
pip install xlrd   # for BioNumbers .xls parsing (optional)

Usage

python3 squarewave_test.py               # three-channel coverage (default)
python3 squarewave_test.py --palindrome  # dual palindromic origin of gamma1
python3 squarewave_test.py --arc         # falling arc (FWD-INV angle vs depth)
python3 squarewave_test.py --window      # coverage vs digit window N=8..16
python3 codata_test.py                   # full scan
python3 codata_test.py --bridges         # multi-zero bridges only
python3 codata_test.py --c-inverse       # trace the c-inverse path
python3 bio_test.py                      # biology scan

Relationship to the main UPC repo

The main UPC calculator contains the validated test suite (5/5 pentatonic, 31x discrimination, stability sweep). This repo extends that framework to larger databases where the signal-to-noise is lower and the results are exploratory.

Authors

Mattias Hammarsten & Claude (Anthropic, Opus 4.6) Legion Systems SE, Uppsala 2026

About

Exploratory tests and sampling for the UPC digit-curvature resonance framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages