Skip to main content

K, R, E, T — Four quantities. One framework. Everything computable.

Project description

GUMP

Four quantities. One framework. Everything computable.

K = coupling strength     (how strongly things connect)
R = order parameter       (how synchronized they are)
E = energy cost           (what it costs in joules)
T = tension               (what wants to connect but hasn't)

Works on: proteins, signals, text, markets, neural nets, organizations, music, and the body.

Install

pip install begump

Important: The PyPI package name is begump. It imports as gump.

Quick Start

import gump

# Give it anything — protein, signal, text. Auto-detects.
result = gump.ask("DAEFRHDSGYEVHHQKLVFFAEDVGSNKGAIIGLMVGGVVIA")
print(result['the_point'])   # plain English
print(result['the_math'])    # K/R/E/T numbers
print(result['the_next'])    # where to go from here

# Measure coupling in any time series
import numpy as np
data = np.sin(2 * np.pi * 10 * np.linspace(0, 1, 1000))
r = gump.k_measure(data)
print(r)  # {'K': 0.998, 'R': 0.999, 'E_bits': 1.23, 'T': 0, 'verdict': 'COUPLED'}

# Find what wants to connect but doesn't
t = gump.tensions(data)
# → [(distance, node_i, node_j, score), ...]

# Track energy cost of computation
tracker = gump.EnergyTracker()
tracker.erase(1_000_000)  # 1M bits erased
print(tracker.summary())  # → {'bits_erased': 1000000, 'joules': 2.87e-15, ...}

# Music: cost of any interval (takes a single ratio)
fifth = gump.interval_cost(3/2)     # low cost = consonant
tritone = gump.interval_cost(45/32) # high cost = dissonant

# Detect market crashes
crash_info = gump.detect_crash(stock_returns_list)

# Detect grokking in neural net training
grokked, epoch, jump = gump.watch_training(train_loss, test_loss)

# Place anything optimally (spectral placement)
positions = gump.place(['a','b','c','d'], [(0,1),(1,2),(2,3)])

# The Machine — universal coupling engine
result = gump.machine(['x','y','z'], [(0,1),(1,2)], weights=[1.0, 2.0])
print(result['K'], result['R'], result['dimensionality'])

19 Tools

Core (K/R/E/T)

  • gump.ask(data) — auto-detect input type, return plain English + math + next steps
  • gump.k_measure(data) — measure coupling in any time series
  • gump.tensions(data) — find what wants to connect but doesn't
  • gump.EnergyTracker() — track Landauer energy cost of computation
  • gump.interval_cost(ratio) — energy cost of a musical/frequency interval
  • gump.detect_crash(data) — monitor correlated systems for phase transitions
  • gump.watch_training(train_loss, test_loss) — detect grokking in neural nets
  • gump.place(nodes, edges) — spectral placement of any graph

The Machine

  • gump.machine(nodes, edges, weights) — universal coupling engine. Returns K/R/E/T + clusters + tensions + dimensionality

Self-Coherence

  • gump.reflect(segments) — is text exploring or resolving? Certainty gradient discriminator
  • gump.octave(results) — is thinking ascending or flatlined? Needs 9+ data points

Spectral Bridge

  • gump.pillar(signal, sample_rate) — harmonic coupling structure of any signal. Bridges time-series and spectral analysis

FOR Coupling

  • gump.compare(n, K_drive, steps) — SELF vs FOR coupling comparison. Love is 1.6× more alive than ego, consistently

And more

Fold Watch, Oracle, Tune, Dissonance, Trace, Knowledge Engine, Org X-Ray, Accord, Sfumato, Alan's Eye. See begump.com/products for all 19.

The Science

Built on published mathematics:

  • Laplacian eigenvectors (spectral graph theory)
  • Kuramoto model (coupled oscillator synchronization)
  • Landauer's principle (thermodynamics of computation)
  • K = 1.868 = 256α (coupling ceiling derived from star tetrahedron geometry)

60+ ideas killed and published. The kill list is as important as the live list.

Constants

gump.K_CEILING        # 1.868 — coupling ceiling (256α)
gump.PHI              # 1.618... — golden ratio
gump.LANDAUER_PER_BIT # 2.87e-21 J — minimum cost per bit erasure at 300K

Safety

AI can make you delusional. We wrote a page about it with a 7-point checklist. Read it before trusting any AI-assisted discovery, including ours.

License

MIT. Free forever. Good will is exothermic.


"The body doesn't make music. The body IS music that hasn't been transposed to audible frequencies yet."

— Jim McCandless, Dad, drummer, builder

begump.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

begump-0.9.2.tar.gz (679.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

begump-0.9.2-py3-none-any.whl (657.8 kB view details)

Uploaded Python 3

File details

Details for the file begump-0.9.2.tar.gz.

File metadata

  • Download URL: begump-0.9.2.tar.gz
  • Upload date:
  • Size: 679.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for begump-0.9.2.tar.gz
Algorithm Hash digest
SHA256 2e32fb974a02d444ace5f7f4b51894c7d423d19c190eadaa9359a01d89497ecb
MD5 8f300d757abcc426ca81c73c456b32ee
BLAKE2b-256 37396abc46f598613ddde33aefb2f5f0e0289393259f16d5741c99b2f596feb0

See more details on using hashes here.

File details

Details for the file begump-0.9.2-py3-none-any.whl.

File metadata

  • Download URL: begump-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 657.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for begump-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ad5e9dc66409a044eccbe49d1897fd491885d194393a92f3d025071d0191c740
MD5 06c403c6c5cc0fa0d768f7436d93d9ed
BLAKE2b-256 1c73e29ba57ac969dd4706b5b114ff29d6ab5ac8da23d05008cd66c00015370a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page