begump 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. begump-0.1.0/PKG-INFO +122 -0
  2. begump-0.1.0/README.md +92 -0
  3. begump-0.1.0/begump.egg-info/PKG-INFO +122 -0
  4. begump-0.1.0/begump.egg-info/SOURCES.txt +64 -0
  5. begump-0.1.0/begump.egg-info/dependency_links.txt +1 -0
  6. begump-0.1.0/begump.egg-info/requires.txt +4 -0
  7. begump-0.1.0/begump.egg-info/top_level.txt +1 -0
  8. begump-0.1.0/gump/__init__.py +73 -0
  9. begump-0.1.0/gump/accord.py +993 -0
  10. begump-0.1.0/gump/aitrainer.py +560 -0
  11. begump-0.1.0/gump/chipfast.py +161 -0
  12. begump-0.1.0/gump/chipfast_app.py +583 -0
  13. begump-0.1.0/gump/core.py +308 -0
  14. begump-0.1.0/gump/coupling_license.py +397 -0
  15. begump-0.1.0/gump/crashwatch.py +218 -0
  16. begump-0.1.0/gump/energylens.py +137 -0
  17. begump-0.1.0/gump/foldwatch.py +419 -0
  18. begump-0.1.0/gump/foldwatch_app.py +554 -0
  19. begump-0.1.0/gump/grokwatch.py +186 -0
  20. begump-0.1.0/gump/instant.py +176 -0
  21. begump-0.1.0/gump/k_runtime.py +105 -0
  22. begump-0.1.0/gump/khash.py +228 -0
  23. begump-0.1.0/gump/knowledge.py +654 -0
  24. begump-0.1.0/gump/learnengine.py +816 -0
  25. begump-0.1.0/gump/learnpath.py +86 -0
  26. begump-0.1.0/gump/ledger.py +397 -0
  27. begump-0.1.0/gump/mind.py +1851 -0
  28. begump-0.1.0/gump/music.py +390 -0
  29. begump-0.1.0/gump/oracle.py +418 -0
  30. begump-0.1.0/gump/orgxray.py +984 -0
  31. begump-0.1.0/gump/sensor.py +609 -0
  32. begump-0.1.0/gump/sentinel.py +536 -0
  33. begump-0.1.0/gump/tensionmap.py +273 -0
  34. begump-0.1.0/gump/toolkit.py +281 -0
  35. begump-0.1.0/gump/toybox.py +688 -0
  36. begump-0.1.0/gump/trace.py +1044 -0
  37. begump-0.1.0/gump/turbo.py +330 -0
  38. begump-0.1.0/gump/voice.py +244 -0
  39. begump-0.1.0/setup.cfg +4 -0
  40. begump-0.1.0/setup.py +27 -0
  41. begump-0.1.0/tests/test_accord.py +714 -0
  42. begump-0.1.0/tests/test_aitrainer.py +185 -0
  43. begump-0.1.0/tests/test_backtest_all.py +446 -0
  44. begump-0.1.0/tests/test_chipfast_app.py +112 -0
  45. begump-0.1.0/tests/test_coupling_license.py +280 -0
  46. begump-0.1.0/tests/test_foldwatch_app.py +122 -0
  47. begump-0.1.0/tests/test_fraud.py +484 -0
  48. begump-0.1.0/tests/test_k_core.py +198 -0
  49. begump-0.1.0/tests/test_k_runtime.py +98 -0
  50. begump-0.1.0/tests/test_khash.py +251 -0
  51. begump-0.1.0/tests/test_knowledge.py +107 -0
  52. begump-0.1.0/tests/test_learnengine.py +246 -0
  53. begump-0.1.0/tests/test_ledger.py +325 -0
  54. begump-0.1.0/tests/test_ledger_attacks.py +322 -0
  55. begump-0.1.0/tests/test_oracle.py +234 -0
  56. begump-0.1.0/tests/test_orgxray.py +305 -0
  57. begump-0.1.0/tests/test_production.py +747 -0
  58. begump-0.1.0/tests/test_quality.py +578 -0
  59. begump-0.1.0/tests/test_sensor.py +147 -0
  60. begump-0.1.0/tests/test_sentinel.py +218 -0
  61. begump-0.1.0/tests/test_sentinel_backtest.py +300 -0
  62. begump-0.1.0/tests/test_sentinel_creative.py +281 -0
  63. begump-0.1.0/tests/test_toybox.py +69 -0
  64. begump-0.1.0/tests/test_trace.py +207 -0
  65. begump-0.1.0/tests/test_trace_backtest.py +433 -0
  66. begump-0.1.0/tests/test_turbo.py +171 -0
begump-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,122 @@
1
+ Metadata-Version: 2.4
2
+ Name: begump
3
+ Version: 0.1.0
4
+ Summary: K, R, E, T — Four quantities. One framework. Everything computable.
5
+ Home-page: https://github.com/LacobusGump/gump
6
+ Author: Jim McCandless
7
+ Author-email: gump@begump.com
8
+ Classifier: Development Status :: 3 - Alpha
9
+ Classifier: Intended Audience :: Science/Research
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Topic :: Scientific/Engineering
13
+ Classifier: Topic :: Scientific/Engineering :: Physics
14
+ Classifier: Topic :: Multimedia :: Sound/Audio
15
+ Requires-Python: >=3.7
16
+ Description-Content-Type: text/markdown
17
+ Requires-Dist: numpy
18
+ Provides-Extra: full
19
+ Requires-Dist: scipy; extra == "full"
20
+ Dynamic: author
21
+ Dynamic: author-email
22
+ Dynamic: classifier
23
+ Dynamic: description
24
+ Dynamic: description-content-type
25
+ Dynamic: home-page
26
+ Dynamic: provides-extra
27
+ Dynamic: requires-dist
28
+ Dynamic: requires-python
29
+ Dynamic: summary
30
+
31
+ # GUMP
32
+
33
+ **Four quantities. One framework. Everything computable.**
34
+
35
+ ```
36
+ K = coupling strength (how strongly things connect)
37
+ R = order parameter (how synchronized they are)
38
+ E = energy cost (what it costs in joules)
39
+ T = tension (what wants to connect but hasn't)
40
+ ```
41
+
42
+ Works on: chips, music, proteins, markets, compilers, memory, neural nets, primes, quantum circuits, organizations, and the body.
43
+
44
+ ## Install
45
+
46
+ ```bash
47
+ pip install gump
48
+ ```
49
+
50
+ ## Quick Start
51
+
52
+ ```python
53
+ import gump
54
+
55
+ # Find what's missing in any graph
56
+ edges = [(0,1), (1,2), (2,3), (3,4)]
57
+ tensions = gump.tensions(5, edges)
58
+ # → [(dist, node_i, node_j, score), ...]
59
+
60
+ # Place anything optimally (spectral placement)
61
+ positions = gump.place(1000, edges, width=100, height=100)
62
+
63
+ # Track energy cost of computation
64
+ tracker = gump.EnergyTracker()
65
+ tracker.erase(1000000) # 1M bits erased
66
+ print(tracker.summary()) # → {'bits_erased': 1000000, 'landauer_J': 2.87e-15}
67
+
68
+ # Detect market crashes
69
+ R_timeline = gump.detect_crash(stock_returns_list, window=30)
70
+
71
+ # Detect grokking in neural net training
72
+ grokked, epoch, jump = gump.watch_training(test_accuracies)
73
+
74
+ # Music: cost of any interval
75
+ fifth = gump.interval_cost(3, 2) # 1.79 nats (cheap = consonant)
76
+ tritone = gump.interval_cost(45, 32) # 7.27 nats (expensive = dissonant)
77
+ ```
78
+
79
+ ## What It Does
80
+
81
+ ### Tension Detection
82
+ Feed any graph. Get back what WANTS to connect but doesn't. 100% precision on circuit netlists. Found the circle of fifths from a consonance matrix. Found genre families from raw rhythm data.
83
+
84
+ ### Spectral Placement
85
+ Place anything in 2D to minimize total wire length. 40 million nodes in 4.5 seconds. Same math that places transistors finds the optimal layout for any network.
86
+
87
+ ### Energy Tracking
88
+ Every computation has a minimum energy cost (Landauer's principle). Track it. We're 35 trillion times above the limit. Understanding is 224,000× cheaper than memorization.
89
+
90
+ ### Crash Detection
91
+ Monitor any correlated system. When the order parameter R drops below 1/φ = phase transition = crash imminent.
92
+
93
+ ### Grok Detection
94
+ Monitor neural network training. When energy-per-correct-prediction drops off a cliff = the network just understood the pattern. Stop training. Save compute.
95
+
96
+ ## The Science
97
+
98
+ Built on:
99
+ - **Laplacian eigenvectors** (spectral graph theory)
100
+ - **Kuramoto model** (coupled oscillator synchronization)
101
+ - **Landauer's principle** (thermodynamics of computation)
102
+ - **K = 1.868 = 256α** (universal coupling ceiling)
103
+
104
+ Discovered over 12 sessions on a $500 Mac Mini. Every result verified, benchmarked, and tested.
105
+
106
+ ## Constants
107
+
108
+ ```python
109
+ gump.K_CEILING # 1.868 — universal coupling ceiling
110
+ gump.PHI # 1.618... — golden ratio
111
+ gump.LANDAUER_PER_BIT # 2.87e-21 J — minimum cost per bit erasure at 300K
112
+ ```
113
+
114
+ ## License
115
+
116
+ MIT. Free forever. Good will is exothermic.
117
+
118
+ ---
119
+
120
+ *"The body doesn't make music. The body IS music that hasn't been transposed to audible frequencies yet."*
121
+
122
+ — Jim McCandless, Dad, drummer, builder
begump-0.1.0/README.md ADDED
@@ -0,0 +1,92 @@
1
+ # GUMP
2
+
3
+ **Four quantities. One framework. Everything computable.**
4
+
5
+ ```
6
+ K = coupling strength (how strongly things connect)
7
+ R = order parameter (how synchronized they are)
8
+ E = energy cost (what it costs in joules)
9
+ T = tension (what wants to connect but hasn't)
10
+ ```
11
+
12
+ Works on: chips, music, proteins, markets, compilers, memory, neural nets, primes, quantum circuits, organizations, and the body.
13
+
14
+ ## Install
15
+
16
+ ```bash
17
+ pip install gump
18
+ ```
19
+
20
+ ## Quick Start
21
+
22
+ ```python
23
+ import gump
24
+
25
+ # Find what's missing in any graph
26
+ edges = [(0,1), (1,2), (2,3), (3,4)]
27
+ tensions = gump.tensions(5, edges)
28
+ # → [(dist, node_i, node_j, score), ...]
29
+
30
+ # Place anything optimally (spectral placement)
31
+ positions = gump.place(1000, edges, width=100, height=100)
32
+
33
+ # Track energy cost of computation
34
+ tracker = gump.EnergyTracker()
35
+ tracker.erase(1000000) # 1M bits erased
36
+ print(tracker.summary()) # → {'bits_erased': 1000000, 'landauer_J': 2.87e-15}
37
+
38
+ # Detect market crashes
39
+ R_timeline = gump.detect_crash(stock_returns_list, window=30)
40
+
41
+ # Detect grokking in neural net training
42
+ grokked, epoch, jump = gump.watch_training(test_accuracies)
43
+
44
+ # Music: cost of any interval
45
+ fifth = gump.interval_cost(3, 2) # 1.79 nats (cheap = consonant)
46
+ tritone = gump.interval_cost(45, 32) # 7.27 nats (expensive = dissonant)
47
+ ```
48
+
49
+ ## What It Does
50
+
51
+ ### Tension Detection
52
+ Feed any graph. Get back what WANTS to connect but doesn't. 100% precision on circuit netlists. Found the circle of fifths from a consonance matrix. Found genre families from raw rhythm data.
53
+
54
+ ### Spectral Placement
55
+ Place anything in 2D to minimize total wire length. 40 million nodes in 4.5 seconds. Same math that places transistors finds the optimal layout for any network.
56
+
57
+ ### Energy Tracking
58
+ Every computation has a minimum energy cost (Landauer's principle). Track it. We're 35 trillion times above the limit. Understanding is 224,000× cheaper than memorization.
59
+
60
+ ### Crash Detection
61
+ Monitor any correlated system. When the order parameter R drops below 1/φ = phase transition = crash imminent.
62
+
63
+ ### Grok Detection
64
+ Monitor neural network training. When energy-per-correct-prediction drops off a cliff = the network just understood the pattern. Stop training. Save compute.
65
+
66
+ ## The Science
67
+
68
+ Built on:
69
+ - **Laplacian eigenvectors** (spectral graph theory)
70
+ - **Kuramoto model** (coupled oscillator synchronization)
71
+ - **Landauer's principle** (thermodynamics of computation)
72
+ - **K = 1.868 = 256α** (universal coupling ceiling)
73
+
74
+ Discovered over 12 sessions on a $500 Mac Mini. Every result verified, benchmarked, and tested.
75
+
76
+ ## Constants
77
+
78
+ ```python
79
+ gump.K_CEILING # 1.868 — universal coupling ceiling
80
+ gump.PHI # 1.618... — golden ratio
81
+ gump.LANDAUER_PER_BIT # 2.87e-21 J — minimum cost per bit erasure at 300K
82
+ ```
83
+
84
+ ## License
85
+
86
+ MIT. Free forever. Good will is exothermic.
87
+
88
+ ---
89
+
90
+ *"The body doesn't make music. The body IS music that hasn't been transposed to audible frequencies yet."*
91
+
92
+ — Jim McCandless, Dad, drummer, builder
@@ -0,0 +1,122 @@
1
+ Metadata-Version: 2.4
2
+ Name: begump
3
+ Version: 0.1.0
4
+ Summary: K, R, E, T — Four quantities. One framework. Everything computable.
5
+ Home-page: https://github.com/LacobusGump/gump
6
+ Author: Jim McCandless
7
+ Author-email: gump@begump.com
8
+ Classifier: Development Status :: 3 - Alpha
9
+ Classifier: Intended Audience :: Science/Research
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Topic :: Scientific/Engineering
13
+ Classifier: Topic :: Scientific/Engineering :: Physics
14
+ Classifier: Topic :: Multimedia :: Sound/Audio
15
+ Requires-Python: >=3.7
16
+ Description-Content-Type: text/markdown
17
+ Requires-Dist: numpy
18
+ Provides-Extra: full
19
+ Requires-Dist: scipy; extra == "full"
20
+ Dynamic: author
21
+ Dynamic: author-email
22
+ Dynamic: classifier
23
+ Dynamic: description
24
+ Dynamic: description-content-type
25
+ Dynamic: home-page
26
+ Dynamic: provides-extra
27
+ Dynamic: requires-dist
28
+ Dynamic: requires-python
29
+ Dynamic: summary
30
+
31
+ # GUMP
32
+
33
+ **Four quantities. One framework. Everything computable.**
34
+
35
+ ```
36
+ K = coupling strength (how strongly things connect)
37
+ R = order parameter (how synchronized they are)
38
+ E = energy cost (what it costs in joules)
39
+ T = tension (what wants to connect but hasn't)
40
+ ```
41
+
42
+ Works on: chips, music, proteins, markets, compilers, memory, neural nets, primes, quantum circuits, organizations, and the body.
43
+
44
+ ## Install
45
+
46
+ ```bash
47
+ pip install gump
48
+ ```
49
+
50
+ ## Quick Start
51
+
52
+ ```python
53
+ import gump
54
+
55
+ # Find what's missing in any graph
56
+ edges = [(0,1), (1,2), (2,3), (3,4)]
57
+ tensions = gump.tensions(5, edges)
58
+ # → [(dist, node_i, node_j, score), ...]
59
+
60
+ # Place anything optimally (spectral placement)
61
+ positions = gump.place(1000, edges, width=100, height=100)
62
+
63
+ # Track energy cost of computation
64
+ tracker = gump.EnergyTracker()
65
+ tracker.erase(1000000) # 1M bits erased
66
+ print(tracker.summary()) # → {'bits_erased': 1000000, 'landauer_J': 2.87e-15}
67
+
68
+ # Detect market crashes
69
+ R_timeline = gump.detect_crash(stock_returns_list, window=30)
70
+
71
+ # Detect grokking in neural net training
72
+ grokked, epoch, jump = gump.watch_training(test_accuracies)
73
+
74
+ # Music: cost of any interval
75
+ fifth = gump.interval_cost(3, 2) # 1.79 nats (cheap = consonant)
76
+ tritone = gump.interval_cost(45, 32) # 7.27 nats (expensive = dissonant)
77
+ ```
78
+
79
+ ## What It Does
80
+
81
+ ### Tension Detection
82
+ Feed any graph. Get back what WANTS to connect but doesn't. 100% precision on circuit netlists. Found the circle of fifths from a consonance matrix. Found genre families from raw rhythm data.
83
+
84
+ ### Spectral Placement
85
+ Place anything in 2D to minimize total wire length. 40 million nodes in 4.5 seconds. Same math that places transistors finds the optimal layout for any network.
86
+
87
+ ### Energy Tracking
88
+ Every computation has a minimum energy cost (Landauer's principle). Track it. We're 35 trillion times above the limit. Understanding is 224,000× cheaper than memorization.
89
+
90
+ ### Crash Detection
91
+ Monitor any correlated system. When the order parameter R drops below 1/φ = phase transition = crash imminent.
92
+
93
+ ### Grok Detection
94
+ Monitor neural network training. When energy-per-correct-prediction drops off a cliff = the network just understood the pattern. Stop training. Save compute.
95
+
96
+ ## The Science
97
+
98
+ Built on:
99
+ - **Laplacian eigenvectors** (spectral graph theory)
100
+ - **Kuramoto model** (coupled oscillator synchronization)
101
+ - **Landauer's principle** (thermodynamics of computation)
102
+ - **K = 1.868 = 256α** (universal coupling ceiling)
103
+
104
+ Discovered over 12 sessions on a $500 Mac Mini. Every result verified, benchmarked, and tested.
105
+
106
+ ## Constants
107
+
108
+ ```python
109
+ gump.K_CEILING # 1.868 — universal coupling ceiling
110
+ gump.PHI # 1.618... — golden ratio
111
+ gump.LANDAUER_PER_BIT # 2.87e-21 J — minimum cost per bit erasure at 300K
112
+ ```
113
+
114
+ ## License
115
+
116
+ MIT. Free forever. Good will is exothermic.
117
+
118
+ ---
119
+
120
+ *"The body doesn't make music. The body IS music that hasn't been transposed to audible frequencies yet."*
121
+
122
+ — Jim McCandless, Dad, drummer, builder
@@ -0,0 +1,64 @@
1
+ README.md
2
+ setup.py
3
+ begump.egg-info/PKG-INFO
4
+ begump.egg-info/SOURCES.txt
5
+ begump.egg-info/dependency_links.txt
6
+ begump.egg-info/requires.txt
7
+ begump.egg-info/top_level.txt
8
+ gump/__init__.py
9
+ gump/accord.py
10
+ gump/aitrainer.py
11
+ gump/chipfast.py
12
+ gump/chipfast_app.py
13
+ gump/core.py
14
+ gump/coupling_license.py
15
+ gump/crashwatch.py
16
+ gump/energylens.py
17
+ gump/foldwatch.py
18
+ gump/foldwatch_app.py
19
+ gump/grokwatch.py
20
+ gump/instant.py
21
+ gump/k_runtime.py
22
+ gump/khash.py
23
+ gump/knowledge.py
24
+ gump/learnengine.py
25
+ gump/learnpath.py
26
+ gump/ledger.py
27
+ gump/mind.py
28
+ gump/music.py
29
+ gump/oracle.py
30
+ gump/orgxray.py
31
+ gump/sensor.py
32
+ gump/sentinel.py
33
+ gump/tensionmap.py
34
+ gump/toolkit.py
35
+ gump/toybox.py
36
+ gump/trace.py
37
+ gump/turbo.py
38
+ gump/voice.py
39
+ tests/test_accord.py
40
+ tests/test_aitrainer.py
41
+ tests/test_backtest_all.py
42
+ tests/test_chipfast_app.py
43
+ tests/test_coupling_license.py
44
+ tests/test_foldwatch_app.py
45
+ tests/test_fraud.py
46
+ tests/test_k_core.py
47
+ tests/test_k_runtime.py
48
+ tests/test_khash.py
49
+ tests/test_knowledge.py
50
+ tests/test_learnengine.py
51
+ tests/test_ledger.py
52
+ tests/test_ledger_attacks.py
53
+ tests/test_oracle.py
54
+ tests/test_orgxray.py
55
+ tests/test_production.py
56
+ tests/test_quality.py
57
+ tests/test_sensor.py
58
+ tests/test_sentinel.py
59
+ tests/test_sentinel_backtest.py
60
+ tests/test_sentinel_creative.py
61
+ tests/test_toybox.py
62
+ tests/test_trace.py
63
+ tests/test_trace_backtest.py
64
+ tests/test_turbo.py
@@ -0,0 +1,4 @@
1
+ numpy
2
+
3
+ [full]
4
+ scipy
@@ -0,0 +1 @@
1
+ gump
@@ -0,0 +1,73 @@
1
+ """
2
+ GUMP — Grand Unified Music Project
3
+ =====================================
4
+ One framework. Four quantities. Everything computable.
5
+
6
+ K = coupling strength (how strongly things connect)
7
+ R = order parameter (how synchronized they are)
8
+ E = energy cost (what it costs in joules)
9
+ T = tension (what wants to connect but hasn't)
10
+
11
+ Works on: chips, music, proteins, markets, compilers, memory,
12
+ neural nets, primes, quantum circuits, organizations, and the body.
13
+
14
+ Quick start:
15
+ import gump
16
+
17
+ # Find what's missing in any graph
18
+ tensions = gump.tensions(n_nodes, edges)
19
+
20
+ # Place anything optimally
21
+ positions = gump.place(n_nodes, edges, width, height)
22
+
23
+ # Track energy cost of computation
24
+ tracker = gump.EnergyTracker()
25
+
26
+ # Detect phase transitions
27
+ R, regime = gump.detect_crash(time_series)
28
+
29
+ # Detect grokking in training
30
+ grokked, epoch = gump.watch_training(losses, accuracies)
31
+
32
+ # Analyze music thermodynamically
33
+ cost = gump.interval_cost(3, 2) # perfect fifth = 1.79 nats
34
+
35
+ pip install gump
36
+ https://github.com/LacobusGump/gump
37
+
38
+ Products:
39
+ from gump.orgxray import scan, visualize # org X-ray with interactive viz
40
+ from gump.tensionmap import scan # org analysis (core)
41
+ from gump.grokwatch import GrokWatch # AI training monitor
42
+ from gump.crashwatch import CrashWatch # financial early warning
43
+ from gump.chipfast import design # open-source chip layout
44
+ from gump.energylens import profile # computational thermodynamics
45
+ from gump.learnpath import curriculum # curriculum optimizer
46
+ from gump.learnengine import LearnEngine # adaptive learning with grokking detection
47
+ from gump.foldwatch import analyze # protein misfolding analysis
48
+ from gump.foldwatch_app import report # protein analysis with interactive viz
49
+ from gump.music import analyze_melody # thermodynamic music theory
50
+ from gump.knowledge import KnowledgeEngine # compress anything, recall instantly
51
+ from gump.sensor import UniversalSensor # K/R/E/T of any time series
52
+ from gump.aitrainer import AITrainer # train AI cheaper with grokking detection
53
+ from gump.chipfast_app import design_report # chip layout with interactive viz
54
+ from gump.mind import Mind # thinking architecture
55
+ """
56
+
57
+ __version__ = '0.1.0'
58
+
59
+ from gump.core import (
60
+ tensions,
61
+ redundancies,
62
+ place,
63
+ clusters,
64
+ resolution_path,
65
+ EnergyTracker,
66
+ interval_cost,
67
+ coupling_energy,
68
+ detect_crash,
69
+ watch_training,
70
+ K_CEILING,
71
+ PHI,
72
+ LANDAUER_PER_BIT,
73
+ )