File size: 1,266 Bytes
dc2b9f3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
wrinklebrane/
β”œβ”€ README.md
β”œβ”€ AGENTS.md                  # optional; roles, loops, guardrails
β”œβ”€ pyproject.toml             # or setup.cfg; minimal build metadata
β”œβ”€ requirements.txt
β”œβ”€ .gitignore
β”œβ”€ src/
β”‚  └─ wrinklebrane/
β”‚     β”œβ”€ __init__.py
β”‚     β”œβ”€ membrane_bank.py     # MembraneBank: holds/updates M
β”‚     β”œβ”€ codes.py             # codebooks (Hadamard/DCT/Gaussian) + coherence tools
β”‚     β”œβ”€ slicer.py            # 1Γ—1 conv slicer (einsum/conv1x1) + ReLU
β”‚     β”œβ”€ write_ops.py         # vectorized store of key–value pairs
β”‚     β”œβ”€ metrics.py           # PSNR/SSIM/MSE; spectral entropy; gzip ratio; interference; symbiosis
β”‚     β”œβ”€ telemetry.py         # wrappers to log K/C/S/I consistently
β”‚     β”œβ”€ persistence.py       # leaky-integrator update with energy clamps
β”‚     └─ utils.py             # FFT helpers, tiling, seeding, device helpers
β”œβ”€ tests/
β”‚  β”œβ”€ test_shapes_and_grad.py
β”‚  β”œβ”€ test_codes_orthogonality.py
β”‚  β”œβ”€ test_associative_recall_low_load.py
β”‚  └─ test_interference_scaling.py
└─ experiments/
   β”œβ”€ p0_assoc_mem.py         # main experiment harness
   └─ viz_latents.py          # PCA/RSA/spectral maps & plots