Commit f29b0bb
committed
feat(perturbation-sim): wire ndarray::simd Walsh-Hadamard (Morton-pyramid) + helix-360/turbovec live-encoding doctrine
- ndarray-simd feature (optional, off by default → crate stays zero-dep): the
Morton/Walsh pyramid transform (sketch::walsh_pyramid_energy) routes through
ndarray::simd::wht_f32 (AVX-512/AMX, x86-64-v4) when enabled; scalar fwht
fallback otherwise. ndarray = AdaWorldAPI fork (path dep; git alternative
documented). Verified: 48 tests + clippy clean under BOTH default and
`--features ndarray-simd` (target-cpu=native); the fork compiles in ~20s.
- METHODS §10: documents the wiring + the deeper tile-specific ndarray targets
(simd_soa::MultiLaneColumn, hpc::codec::ctu HEVC-quadtree, hilbert, U8x64/
hamming). And the live-4-factor-encoding doctrine: the factors are unit-free
spectral magnitudes → carry them on the GENERIC helix Signed360 residue tenant
(6B/factor, L1-metric-safe so Spearman/ICC survive the encoding), NOT an
electricity-specific tenant; turbovec ANN for episodic factor-vector search;
electricity-specific encoding reserved for the raw |V|/MW layer; compute stays
on raw f64. Anti-dilution rows + README updated.
Real-Iberian validate (261-bus core, release build): Cronbach α=-0.83 (factors
are distinct facets, not one scale), spectral cluster convergent (ρ 0.96-1.00),
infight orthogonal to it (ρ≈±0.05 — discriminant validity = the Go duality
measured), time test-retest ρ≈0.90 (basin ranking stable). Basin model verified.1 parent e37cd93 commit f29b0bb
6 files changed
Lines changed: 257 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
12 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
13 | 28 | | |
14 | 29 | | |
15 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
326 | 360 | | |
327 | 361 | | |
328 | 362 | | |
| |||
343 | 377 | | |
344 | 378 | | |
345 | 379 | | |
| 380 | + | |
| 381 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
419 | | - | |
420 | | - | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
421 | 431 | | |
422 | | - | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
423 | 439 | | |
424 | 440 | | |
425 | 441 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
97 | 114 | | |
| 115 | + | |
98 | 116 | | |
99 | 117 | | |
100 | 118 | | |
| |||
132 | 150 | | |
133 | 151 | | |
134 | 152 | | |
135 | | - | |
| 153 | + | |
136 | 154 | | |
137 | 155 | | |
138 | 156 | | |
| |||
0 commit comments